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

#include "sipAPIQtMultimediaWidgets.h"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 29 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 35 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 41 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 44 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 47 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 50 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 53 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 56 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 59 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 62 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 65 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 68 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 71 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 74 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 77 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 80 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 83 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 86 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 92 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 98 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 104 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 107 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 110 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 113 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtMultimedia/qmediaobject.sip"
#include <qmediaobject.h>
#line 122 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 125 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 128 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 131 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 1012 "sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 134 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 28 "sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 137 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 139 "sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 140 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 199 "sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 143 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 164 "sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 88 "sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 149 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 119 "sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 152 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"

/* Define the strings used by this module. */
const char sipStrings_QtMultimediaWidgets[] = {
    'P', 'y', 'Q', 't', '5', '.', 'Q', 't', 'M', 'u', 'l', 't', 'i', 'm', 'e', 'd', 'i', 'a', 'W', 'i', 'd', 'g', 'e', 't', 's', 0,
    'p', 'r', 'e', 'p', 'a', 'r', 'e', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'm', 'o', 'u', 's', 'e', 'D', 'o', 'u', 'b', 'l', 'e', 'C', 'l', 'i', 'c', 'k', 'E', 'v', 'e', 'n', 't', 0,
    's', 'e', 't', 'A', 's', 'p', 'e', 'c', 't', 'R', 'a', 't', 'i', 'o', 'M', 'o', 'd', 'e', 0,
    'f', 'o', 'c', 'u', 's', 'P', 'r', 'e', 'v', 'i', 'o', 'u', 's', 'C', 'h', 'i', 'l', 'd', 0,
    'f', 'o', 'c', 'u', 's', 'N', 'e', 'x', 't', 'P', 'r', 'e', 'v', 'C', 'h', 'i', 'l', 'd', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'V', 'i', 'd', 'e', 'o', 'I', 't', 'e', 'm', 0,
    's', 'a', 't', 'u', 'r', 'a', 't', 'i', 'o', 'n', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'b', 'r', 'i', 'g', 'h', 't', 'n', 'e', 's', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'f', 'u', 'l', 'l', 'S', 'c', 'r', 'e', 'e', 'n', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'n', 'a', 't', 'i', 'v', 'e', 'S', 'i', 'z', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'Q', 'C', 'a', 'm', 'e', 'r', 'a', 'V', 'i', 'e', 'w', 'f', 'i', 'n', 'd', 'e', 'r', 0,
    'd', 'e', 's', 't', 'r', 'o', 'y', 'S', 'u', 'b', 'W', 'i', 'n', 'd', 'o', 'w', 's', 0,
    'h', 'a', 's', 'H', 'e', 'i', 'g', 'h', 't', 'F', 'o', 'r', 'W', 'i', 'd', 't', 'h', 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,
    'd', 'e', 's', 't', 'r', 'o', 'y', 'O', 'l', 'd', 'W', 'i', 'n', 'd', 'o', 'w', 0,
    'i', 'n', 'i', 't', 'i', 'a', 'l', 'i', 'z', 'e', 'W', 'i', 'n', 'd', 'o', 'w', 0,
    'u', 'p', 'd', 'a', 't', 'e', 'M', 'i', 'c', 'r', 'o', 'F', 'o', 'c', 'u', 's', 0,
    's', 'c', 'e', 'n', 'e', 'E', 'v', 'e', 'n', 't', 'F', 'i', 'l', 't', 'e', 'r', 0,
    'c', 'o', 'l', 'l', 'i', 'd', 'e', 's', 'W', 'i', 't', 'h', 'P', 'a', 't', 'h', 0,
    'c', 'o', 'l', 'l', 'i', 'd', 'e', 's', 'W', 'i', 't', 'h', 'I', 't', 'e', 'm', 0,
    'c', 'o', 'n', 't', 'e', 'x', 't', 'M', 'e', 'n', 'u', '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,
    'd', 'i', 's', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'N', 'o', 't', 'i', 'f', 'y', 0,
    'c', 'o', 'n', 't', 'r', 'a', 's', 't', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 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', 'i', 'n', 'i', 'm', 'u', 'm', 'S', 'i', 'z', 'e', 'H', 'i', 'n', 't', 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,
    'd', 'e', 'v', 'i', 'c', 'e', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 0,
    'i', 'n', 't', 'e', 'r', 'n', 'a', 'l', '_', 'f', 'o', 'r', 'm', 'a', 't', 0,
    'a', 's', 'p', 'e', 'c', 't', 'R', 'a', 't', 'i', 'o', 'M', 'o', 'd', 'e', 0,
    'f', 'o', 'c', 'u', 's', 'N', 'e', 'x', 't', 'C', 'h', 'i', 'l', 'd', 0,
    'h', 'o', 'v', 'e', 'r', 'M', 'o', 'v', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'h', 'e', 'i', 'g', 'h', 't', 'F', 'o', 'r', 'W', 'i', 'd', 't', 'h', 0,
    'd', 'r', 'a', 'g', 'L', 'e', 'a', 'v', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'd', 'r', 'a', 'g', 'E', 'n', 't', 'e', 'r', 'E', 'v', 'e', 'n', 't', 0,
    's', 'e', 't', 'M', 'e', 'd', 'i', 'a', 'O', 'b', 'j', 'e', 'c', 't', 0,
    'm', 'o', 'u', 's', 'e', 'M', 'o', 'v', 'e', 'E', 'v', 'e', 'n', 't', 0,
    's', 'e', 't', 'F', 'u', 'l', 'l', 'S', 'c', 'r', 'e', 'e', 'n', 0,
    'c', 'h', 'a', 'n', 'g', 'e', 'd', 'S', 'i', 'g', 'n', 'a', 'l', 0,
    's', 'h', 'a', 'r', 'e', 'd', 'P', 'a', 'i', 'n', 't', 'e', 'r', 0,
    'd', 'e', 's', 't', 'r', 'o', 'y', 'W', 'i', 'n', 'd', 'o', 'w', 0,
    't', 'h', 'r', 'e', 's', 'h', 'o', 'l', 'd', 'T', 'i', 'm', 'e', 0,
    'd', 'r', 'a', 'g', 'M', 'o', 'v', 'e', 'E', 'v', 'e', 'n', 't', 0,
    's', 'e', 't', 'B', 'r', 'i', 'g', 'h', 't', 'n', 'e', 's', 's', 0,
    's', 'e', 't', 'S', 'a', 't', 'u', 'r', 'a', 't', 'i', 'o', 'n', 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,
    's', 'o', 'u', 'r', 'c', 'e', 'R', 'e', 'g', 'i', 'o', 'n', 0,
    't', 'a', 'r', 'g', 'e', 't', 'O', 'f', 'f', 's', 'e', 't', 0,
    'i', 's', 'O', 'b', 's', 'c', 'u', 'r', 'e', 'd', 'B', 'y', 0,
    'm', 'i', 'd', 'L', 'i', 'n', 'e', 'W', 'i', 'd', 't', 'h', 0,
    'Q', 'V', 'i', 'd', 'e', 'o', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'f', 'o', 'c', 'u', 's', 'I', 'n', 'E', 'v', 'e', 'n', 't', 0,
    'b', 'o', 'u', 'n', 'd', 'i', 'n', 'g', 'R', 'e', 'c', 't', 0,
    'i', 'n', 'i', 't', 'P', 'a', 'i', 'n', 't', 'e', 'r', 0,
    'n', 'a', 't', 'i', 'v', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'a', 'c', 't', 'i', 'o', 'n', 'E', 'v', 'e', 'n', 't', 0,
    'c', 'h', 'a', 'n', 'g', 'e', 'E', 'v', 'e', 'n', 't', 0,
    's', 'e', 't', 'C', 'o', 'n', 't', 'r', 'a', 's', 't', 0,
    'm', 'e', 'd', 'i', 'a', 'O', 'b', 'j', 'e', 'c', 't', 0,
    't', 'a', 'b', 'l', 'e', 't', '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,
    'p', 'a', 'i', 'n', 't', 'E', 'n', 'g', 'i', 'n', 'e', 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,
    'h', 'u', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'n', 'a', 't', 'i', 'v', 'e', 'S', 'i', 'z', 'e', 0,
    'e', 'n', 't', 'e', 'r', 'E', 'v', 'e', 'n', 't', 0,
    'l', 'e', 'a', 'v', 'e', 'E', 'v', 'e', 'n', 't', 0,
    's', 'c', 'e', 'n', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'i', 't', 'e', 'm', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'o', 'p', 'a', 'q', 'u', 'e', 'A', 'r', 'e', 'a', 0,
    'c', 'o', 'n', 's', 't', 'r', 'a', 'i', 'n', 't', 0,
    'c', 'l', 'o', 's', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'r', 'e', 'p', 'e', 'a', 't', 'T', 'i', 'm', 'e', 0,
    'b', 'r', 'i', 'g', 'h', 't', 'n', 'e', 's', 's', 0,
    'w', 'h', 'e', 'e', 'l', 'E', 'v', 'e', 'n', 't', 0,
    'c', 'o', 'l', 'u', 'm', 'n', 'S', 'p', 'a', 'n', 0,
    'p', 'a', 'i', 'n', 't', 'E', 'v', 'e', 'n', 't', 0,
    'g', 'e', 'n', 'M', 'i', 'p', 'M', 'a', 'p', 's', 0,
    's', 'e', 't', 'V', 'i', 's', 'i', 'b', 'l', 'e', 0,
    's', 'a', 't', 'u', 'r', 'a', 't', 'i', 'o', 'n', 0,
    'c', 'h', 'i', 'l', 'd', 'E', 'v', 'e', 'n', 't', 0,
    't', 'i', 'm', 'e', 'r', 'E', 'v', 'e', 'n', 't', 0,
    'd', 'r', 'o', 'p', 'E', 'v', 'e', 'n', 't', 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,
    'o', 'p', 'e', 'r', 'a', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'O', 'f', 'f', 's', 'e', 't', 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,
    'r', 'e', 'c', 'e', 'i', 'v', 'e', 'r', 's', 0,
    'p', 'r', 'e', 'c', 'i', 's', 'i', 'o', 'n', 0,
    's', 'h', 'o', 'r', 't', 'c', 'u', 't', 0,
    'c', 'o', 'n', 't', 'r', 'a', 's', 't', 0,
    'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', 0,
    'u', 's', 'e', 'r', 'D', 'a', 't', 'a', 0,
    'e', 'n', 'c', 'o', 'd', 'i', 'n', 'g', 0,
    's', 'i', 'z', 'e', 'H', 'i', 'n', 't', 0,
    'f', 'i', 'l', 'l', 'R', 'u', 'l', 'e', 0,
    't', 'a', 'b', 'A', 'r', 'r', 'a', 'y', 0,
    't', 'a', 'b', 'S', 't', 'o', 'p', 's', 0,
    'n', 'a', 'm', 'e', 'T', 'y', 'p', 'e', 0,
    'p', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'p', 'r', 'o', 'p', 'e', 'r', 't', 'y', 0,
    'c', 'o', 'n', 't', 'a', 'i', 'n', 's', 0,
    'a', 'd', 'v', 'a', 'n', 'c', 'e', 0,
    'y', 'M', 'a', 'r', 'g', 'i', 'n', 0,
    'x', 'M', 'a', 'r', 'g', 'i', 'n', 0,
    'r', 'o', 'w', 'S', 'p', 'a', 'n', 0,
    'e', 'x', 'p', 'o', 's', 'e', 'd', 0,
    'b', 'u', 'f', 'f', 'e', 'r', 's', 0,
    's', 'o', 'u', 'r', 'c', 'e', 's', 0,
    'd', 'e', 's', 't', 'r', 'o', 'y', 0,
    'q', 'u', 'a', 'l', 'i', 't', 'y', 0,
    'd', 'e', 'v', 'T', 'y', 'p', 'e', 0,
    's', 'e', 't', 'S', 'i', 'z', 'e', 0,
    'f', 'i', 'l', 't', 'e', 'r', 's', 0,
    'e', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'o', 'p', 't', 'i', 'o', 'n', 's', 0,
    's', 'e', 't', 'H', 'u', 'e', 0,
    's', 'u', 'n', 'k', 'e', 'n', 0,
    'l', 'a', 'y', 'e', 'r', 's', 0,
    's', 't', 'r', 'i', 'd', 'e', 0,
    'm', 'e', 't', 'r', 'i', 'c', 0,
    'w', 'i', 'n', 'd', 'o', 'w', 0,
    'w', 'i', 'd', 'g', 'e', 't', 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', 's', 't', 'e', 'm', 0,
    's', 'y', 'm', 'b', 'o', 'l', 0,
    's', 'u', 'f', 'f', 'i', 'x', 0,
    'o', 'f', 'f', 's', 'e', 't', 0,
    'p', 'r', 'e', 'f', 'i', 'x', 0,
    'f', 'i', 'l', 't', 'e', 'r', 0,
    'd', 'e', 'v', 'i', 'c', 'e', 0,
    'o', 'p', 't', 'i', 'o', 'n', 0,
    'l', 'o', 'c', 'a', 'l', 'e', 0,
    'c', 'o', 'l', 'u', 'm', 'n', 0,
    'o', 'b', 'j', 'e', 'c', 't', 0,
    'p', 'a', 'r', 'e', 'n', 't', 0,
    'p', 'a', 'i', 'n', 't', 0,
    'b', 'r', 'u', 's', 'h', 0,
    's', 'h', 'a', 'p', 'e', 0,
    't', 'y', 'p', 'e', 's', 0,
    'o', 'r', 'd', 'e', 'r', 0,
    'r', 'o', 'l', 'e', 's', 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,
    'p', 'o', 'r', 't', 0,
    'm', 'o', 'd', 'e', 0,
    'n', 'a', 'm', 'e', 0,
    'b', 'a', 's', 'e', 0,
    'f', 'i', 'l', 'l', 0,
    's', 'i', 'z', 'e', 0,
    't', 'y', 'p', 'e', 0,
    'f', 'r', 'o', 'm', 0,
    's', 'o', 'r', 't', 0,
    'p', 'e', 'n', 0,
    'h', 'u', 'e', 0,
    'p', 'o', 's', 0,
    's', 'w', 0,
    's', 'y', 0,
    's', 'x', 0,
};

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

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

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

    return sipRes;
}

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

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

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

    return sipRes;
}

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

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

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

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

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

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

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

 ::QVariant sipVH_QtMultimediaWidgets_5(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_QtMultimediaWidgets_4(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, bool a0)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "b", a0);

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

    return sipRes;
}

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

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

    return sipRes;
}

bool sipVH_QtMultimediaWidgets_2(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QByteArray& a0,void*a1,long*a2)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NV", new  ::QByteArray(a0), sipType_QByteArray, NULL, a1);

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

    return sipRes;
}

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

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

    return sipRes;
}

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


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

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtMultimediaWidgets/qvideowidget.sip"
    static struct class_graph {
        const char *name;
        sipTypeDef **type;
        int yes, no;
    } graph[] = {
        {sipName_QGraphicsVideoItem, &sipType_QGraphicsVideoItem, -1, 1},
        {sipName_QVideoWidget, &sipType_QVideoWidget, 2, -1},
        {sipName_QCameraViewfinder, &sipType_QCameraViewfinder, -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 756 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"

    return sipType;
}


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

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtMultimediaWidgets/qgraphicsvideoitem.sip"
    // QGraphicsVideoItem doesn't reimplement type() so we hope nothing collides
    // with the default.
    if (sipCpp->type() == QGraphicsItem::UserType)
    {
        // We need to explicitly cast because of the multiple inheritance.
        *sipCppRet = static_cast<QGraphicsVideoItem *>(sipCpp);
        sipType = sipType_QGraphicsVideoItem;
    }
    else
    {
        sipType = 0;
    }
#line 782 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"

    return sipType;
}


/*
 * This defines each type in this module.
 */
sipTypeDef *sipExportedTypes_QtMultimediaWidgets[] = {
    &sipTypeDef_QtMultimediaWidgets_QCameraViewfinder.ctd_base,
    &sipTypeDef_QtMultimediaWidgets_QGraphicsVideoItem.ctd_base,
    &sipTypeDef_QtMultimediaWidgets_QVideoWidget.ctd_base,
};


/* This defines the types that this module needs to import from QtCore. */
sipImportedTypeDef sipImportedTypes_QtMultimediaWidgets_QtCore[] = {
    {"QByteArray"},
    {"QChildEvent"},
    {"QEvent"},
    {"QMetaMethod"},
    {"QObject"},
    {"QPointF"},
    {"QRectF"},
    {"QSize"},
    {"QSizeF"},
    {"QTimerEvent"},
    {"QVariant"},
    {"Qt::AspectRatioMode"},
    {"Qt::InputMethodQuery"},
    {"Qt::ItemSelectionMode"},
    {"quintptr"},
    {NULL}
};


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


/* This defines the types that this module needs to import from QtGui. */
sipImportedTypeDef sipImportedTypes_QtMultimediaWidgets_QtGui[] = {
    {"QActionEvent"},
    {"QCloseEvent"},
    {"QContextMenuEvent"},
    {"QDragEnterEvent"},
    {"QDragLeaveEvent"},
    {"QDragMoveEvent"},
    {"QDropEvent"},
    {"QFocusEvent"},
    {"QHideEvent"},
    {"QInputMethodEvent"},
    {"QKeyEvent"},
    {"QMouseEvent"},
    {"QMoveEvent"},
    {"QPaintDevice"},
    {"QPaintDevice::PaintDeviceMetric"},
    {"QPaintEngine"},
    {"QPaintEvent"},
    {"QPainter"},
    {"QPainterPath"},
    {"QResizeEvent"},
    {"QShowEvent"},
    {"QTabletEvent"},
    {"QWheelEvent"},
    {NULL}
};


/* This defines the types that this module needs to import from QtWidgets. */
sipImportedTypeDef sipImportedTypes_QtMultimediaWidgets_QtWidgets[] = {
    {"QGraphicsItem"},
    {"QGraphicsItem::GraphicsItemChange"},
    {"QGraphicsObject"},
    {"QGraphicsSceneContextMenuEvent"},
    {"QGraphicsSceneDragDropEvent"},
    {"QGraphicsSceneHoverEvent"},
    {"QGraphicsSceneMouseEvent"},
    {"QGraphicsSceneWheelEvent"},
    {"QStyleOptionGraphicsItem"},
    {"QWidget"},
    {NULL}
};


/* This defines the types that this module needs to import from QtMultimedia. */
sipImportedTypeDef sipImportedTypes_QtMultimediaWidgets_QtMultimedia[] = {
    {"QMediaBindableInterface"},
    {"QMediaObject"},
    {NULL}
};


/* This defines the modules that this module needs to import. */
static sipImportedModuleDef importsTable[] = {
    {"PyQt5.QtCore", sipImportedTypes_QtMultimediaWidgets_QtCore, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore, NULL},
    {"PyQt5.QtGui", sipImportedTypes_QtMultimediaWidgets_QtGui, NULL, NULL},
    {"PyQt5.QtWidgets", sipImportedTypes_QtMultimediaWidgets_QtWidgets, NULL, NULL},
    {"PyQt5.QtNetwork", NULL, NULL, NULL},
    {"PyQt5.QtMultimedia", sipImportedTypes_QtMultimediaWidgets_QtMultimedia, NULL, NULL},
    {NULL, NULL, NULL, NULL}
};


/* This defines the class sub-convertors that this module defines. */
static sipSubClassConvertorDef convertorsTable[] = {
    {sipSubClass_QVideoWidget, {4, 0, 0}, NULL},
    {sipSubClass_QGraphicsVideoItem, {0, 2, 0}, NULL},
    {NULL, {0, 0, 0}, NULL}
};


/* This defines this module. */
sipExportedModuleDef sipModuleAPI_QtMultimediaWidgets = {
    0,
    SIP_API_MINOR_NR,
    sipNameNr_PyQt5_QtMultimediaWidgets,
    0,
    sipStrings_QtMultimediaWidgets,
    importsTable,
    NULL,
    3,
    sipExportedTypes_QtMultimediaWidgets,
    NULL,
    0,
    NULL,
    0,
    NULL,
    NULL,
    convertorsTable,
    {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL},
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL
};


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

sip_qt_metaobject_func sip_QtMultimediaWidgets_qt_metaobject;
sip_qt_metacall_func sip_QtMultimediaWidgets_qt_metacall;
sip_qt_metacast_func sip_QtMultimediaWidgets_qt_metacast;


/* The Python module initialisation function. */
#if PY_MAJOR_VERSION >= 3
#define SIP_MODULE_ENTRY        PyInit_QtMultimediaWidgets
#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        initQtMultimediaWidgets
#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.QtMultimediaWidgets",
        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_QtMultimediaWidgets, sip_methods);
#else
    sipModule = Py_InitModule(const_cast<char *>(sipName_PyQt5_QtMultimediaWidgets), 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_QtMultimediaWidgets = reinterpret_cast<const sipAPIDef *>(PyCapsule_GetPointer(sip_capiobj, SIP_MODULE_NAME "._C_API"));
#else
    sipAPI_QtMultimediaWidgets = reinterpret_cast<const sipAPIDef *>(PyCObject_AsVoidPtr(sip_capiobj));
#endif

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

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

    sip_QtMultimediaWidgets_qt_metaobject = (sip_qt_metaobject_func)sipImportSymbol("qtcore_qt_metaobject");
    sip_QtMultimediaWidgets_qt_metacall = (sip_qt_metacall_func)sipImportSymbol("qtcore_qt_metacall");
    sip_QtMultimediaWidgets_qt_metacast = (sip_qt_metacast_func)sipImportSymbol("qtcore_qt_metacast");

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

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

    SIP_MODULE_RETURN(sipModule);
}

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtMultimediaWidgets/qgraphicsvideoitem.sip"
#include <qgraphicsvideoitem.h>
#line 1059 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"

#line 26 "sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 1063 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtMultimedia/qmediaobject.sip"
#include <qmediaobject.h>
#line 1066 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1069 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1072 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 97 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 1075 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 1078 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 1012 "sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 1081 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 28 "sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 1084 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 1087 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 1090 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1093 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1096 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1099 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 1102 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 1108 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 1114 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1117 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 1120 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 1123 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1126 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 1129 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 1132 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 1135 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1138 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 1141 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 1144 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 1147 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 634 "sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 1150 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 1153 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 1156 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 1159 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 1162 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 1165 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtWidgets/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 1168 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 119 "sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 1171 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 88 "sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 1174 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1177 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1180 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 164 "sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 1183 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1186 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 199 "sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 1189 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 139 "sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 1192 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 326 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 1195 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1198 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 1201 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 1204 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 602 "sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 1207 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 1210 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"


class sipQGraphicsVideoItem : public  ::QGraphicsVideoItem
{
public:
    sipQGraphicsVideoItem( ::QGraphicsItem*);
    virtual ~sipQGraphicsVideoItem();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtectVirt_contextMenuEvent(bool, ::QGraphicsSceneContextMenuEvent*);
    void sipProtectVirt_dragEnterEvent(bool, ::QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dragLeaveEvent(bool, ::QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dragMoveEvent(bool, ::QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dropEvent(bool, ::QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_focusInEvent(bool, ::QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool, ::QFocusEvent*);
    void sipProtectVirt_hoverEnterEvent(bool, ::QGraphicsSceneHoverEvent*);
    void sipProtectVirt_hoverLeaveEvent(bool, ::QGraphicsSceneHoverEvent*);
    void sipProtectVirt_hoverMoveEvent(bool, ::QGraphicsSceneHoverEvent*);
    void sipProtectVirt_inputMethodEvent(bool, ::QInputMethodEvent*);
     ::QVariant sipProtectVirt_inputMethodQuery(bool, ::Qt::InputMethodQuery) const;
    void sipProtectVirt_keyPressEvent(bool, ::QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool, ::QKeyEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool, ::QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool, ::QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mousePressEvent(bool, ::QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool, ::QGraphicsSceneMouseEvent*);
    void sipProtect_prepareGeometryChange();
    bool sipProtectVirt_sceneEvent(bool, ::QEvent*);
    bool sipProtectVirt_sceneEventFilter(bool, ::QGraphicsItem*, ::QEvent*);
    void sipProtectVirt_wheelEvent(bool, ::QGraphicsSceneWheelEvent*);
     ::QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_childEvent(bool, ::QChildEvent*);
    void sipProtectVirt_customEvent(bool, ::QEvent*);
    void sipProtectVirt_connectNotify(bool,const  ::QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const  ::QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const  ::QMetaMethod&) const;
    void sipProtect_updateMicroFocus();
    bool sipProtectVirt_event(bool, ::QEvent*);
    void sipProtectVirt_timerEvent(bool, ::QTimerEvent*);
     ::QVariant sipProtectVirt_itemChange(bool, ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);
    bool sipProtectVirt_setMediaObject(bool, ::QMediaObject*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
     ::QMediaObject* mediaObject() const;
    bool setMediaObject( ::QMediaObject*);
    void disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    void wheelEvent( ::QGraphicsSceneWheelEvent*);
    bool sceneEventFilter( ::QGraphicsItem*, ::QEvent*);
    bool sceneEvent( ::QEvent*);
    void mouseReleaseEvent( ::QGraphicsSceneMouseEvent*);
    void mousePressEvent( ::QGraphicsSceneMouseEvent*);
    void mouseMoveEvent( ::QGraphicsSceneMouseEvent*);
    void mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void keyPressEvent( ::QKeyEvent*);
     ::QVariant itemChange( ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    void inputMethodEvent( ::QInputMethodEvent*);
    void hoverMoveEvent( ::QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent( ::QGraphicsSceneHoverEvent*);
    void hoverEnterEvent( ::QGraphicsSceneHoverEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void focusInEvent( ::QFocusEvent*);
    void dropEvent( ::QGraphicsSceneDragDropEvent*);
    void dragMoveEvent( ::QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent( ::QGraphicsSceneDragDropEvent*);
    void dragEnterEvent( ::QGraphicsSceneDragDropEvent*);
    void contextMenuEvent( ::QGraphicsSceneContextMenuEvent*);
    int type() const;
    void paint( ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);
     ::QPainterPath opaqueArea() const;
    bool isObscuredBy(const  ::QGraphicsItem*) const;
    bool collidesWithPath(const  ::QPainterPath&, ::Qt::ItemSelectionMode) const;
    bool collidesWithItem(const  ::QGraphicsItem*, ::Qt::ItemSelectionMode) const;
    bool contains(const  ::QPointF&) const;
     ::QPainterPath shape() const;
     ::QRectF boundingRect() const;
    void advance(int);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[41];
};

sipQGraphicsVideoItem::sipQGraphicsVideoItem( ::QGraphicsItem*a0):  ::QGraphicsVideoItem(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipQGraphicsVideoItem::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimediaWidgets_qt_metaobject(sipPySelf,sipType_QGraphicsVideoItem);

    return  ::QGraphicsVideoItem::metaObject();
}

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

    if (_id >= 0)
        _id = sip_QtMultimediaWidgets_qt_metacall(sipPySelf,sipType_QGraphicsVideoItem,_c,_id,_a);

    return _id;
}

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

    return (sip_QtMultimediaWidgets_qt_metacast(sipPySelf, sipType_QGraphicsVideoItem, _clname, &sipCpp) ? sipCpp :  ::QGraphicsVideoItem::qt_metacast(_clname));
}

 ::QMediaObject* sipQGraphicsVideoItem::mediaObject() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QGraphicsVideoItem::mediaObject();

    extern  ::QMediaObject* sipVH_QtMultimediaWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtMultimediaWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQGraphicsVideoItem::setMediaObject( ::QMediaObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QGraphicsVideoItem::setMediaObject(a0);

    extern bool sipVH_QtMultimediaWidgets_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMediaObject*);

    return sipVH_QtMultimediaWidgets_36(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    return sipVH_QtMultimediaWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsVideoItem::wheelEvent( ::QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_QtMultimediaWidgets_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneWheelEvent*);

    sipVH_QtMultimediaWidgets_52(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsVideoItem::sceneEventFilter( ::QGraphicsItem*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QGraphicsVideoItem::sceneEventFilter(a0,a1);

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

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

bool sipQGraphicsVideoItem::sceneEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QGraphicsVideoItem::sceneEvent(a0);

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

    return sipVH_QtMultimediaWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsVideoItem::mouseReleaseEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_QtMultimediaWidgets_50(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtMultimediaWidgets_50(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsVideoItem::mousePressEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_QtMultimediaWidgets_50(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtMultimediaWidgets_50(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsVideoItem::mouseMoveEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_QtMultimediaWidgets_50(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtMultimediaWidgets_50(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsVideoItem::mouseDoubleClickEvent( ::QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_QtMultimediaWidgets_50(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneMouseEvent*);

    sipVH_QtMultimediaWidgets_50(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQGraphicsVideoItem::itemChange( ::QGraphicsItem::GraphicsItemChange a0,const  ::QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QGraphicsVideoItem::itemChange(a0,a1);

    extern  ::QVariant sipVH_QtMultimediaWidgets_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsItem::GraphicsItemChange,const  ::QVariant&);

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

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

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

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

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

    return sipVH_QtMultimediaWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsVideoItem::hoverMoveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QGraphicsVideoItem::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_QtMultimediaWidgets_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtMultimediaWidgets_48(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsVideoItem::hoverLeaveEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QGraphicsVideoItem::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtMultimediaWidgets_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtMultimediaWidgets_48(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsVideoItem::hoverEnterEvent( ::QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QGraphicsVideoItem::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_QtMultimediaWidgets_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneHoverEvent*);

    sipVH_QtMultimediaWidgets_48(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsVideoItem::dropEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_QtMultimediaWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtMultimediaWidgets_47(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsVideoItem::dragMoveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_QtMultimediaWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtMultimediaWidgets_47(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsVideoItem::dragLeaveEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_QtMultimediaWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtMultimediaWidgets_47(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsVideoItem::dragEnterEvent( ::QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_QtMultimediaWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneDragDropEvent*);

    sipVH_QtMultimediaWidgets_47(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsVideoItem::contextMenuEvent( ::QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_QtMultimediaWidgets_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGraphicsSceneContextMenuEvent*);

    sipVH_QtMultimediaWidgets_46(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQGraphicsVideoItem::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

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

    return sipVH_QtMultimediaWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGraphicsVideoItem::paint( ::QPainter*a0,const  ::QStyleOptionGraphicsItem*a1, ::QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QGraphicsVideoItem::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_QtMultimediaWidgets_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionGraphicsItem*, ::QWidget*);

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

 ::QPainterPath sipQGraphicsVideoItem::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QGraphicsVideoItem::opaqueArea();

    extern  ::QPainterPath sipVH_QtMultimediaWidgets_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtMultimediaWidgets_40(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQGraphicsVideoItem::isObscuredBy(const  ::QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QGraphicsVideoItem::isObscuredBy(a0);

    extern bool sipVH_QtMultimediaWidgets_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*);

    return sipVH_QtMultimediaWidgets_44(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGraphicsVideoItem::collidesWithPath(const  ::QPainterPath& a0, ::Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QGraphicsVideoItem::collidesWithPath(a0,a1);

    extern bool sipVH_QtMultimediaWidgets_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPainterPath&, ::Qt::ItemSelectionMode);

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

bool sipQGraphicsVideoItem::collidesWithItem(const  ::QGraphicsItem*a0, ::Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QGraphicsVideoItem::collidesWithItem(a0,a1);

    extern bool sipVH_QtMultimediaWidgets_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QGraphicsItem*, ::Qt::ItemSelectionMode);

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

bool sipQGraphicsVideoItem::contains(const  ::QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QGraphicsVideoItem::contains(a0);

    extern bool sipVH_QtMultimediaWidgets_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPointF&);

    return sipVH_QtMultimediaWidgets_41(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPainterPath sipQGraphicsVideoItem::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QGraphicsVideoItem::shape();

    extern  ::QPainterPath sipVH_QtMultimediaWidgets_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtMultimediaWidgets_40(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QRectF sipQGraphicsVideoItem::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QGraphicsVideoItem::boundingRect();

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

    return sipVH_QtMultimediaWidgets_39(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGraphicsVideoItem::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QGraphicsVideoItem::advance(a0);
        return;
    }

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

    sipVH_QtMultimediaWidgets_38(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGraphicsVideoItem::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg, ::QGraphicsSceneContextMenuEvent*a0)
{
    (sipSelfWasArg ?  ::QGraphicsItem::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQGraphicsVideoItem::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg, ::QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ?  ::QGraphicsItem::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQGraphicsVideoItem::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg, ::QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ?  ::QGraphicsItem::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQGraphicsVideoItem::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg, ::QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ?  ::QGraphicsItem::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQGraphicsVideoItem::sipProtectVirt_dropEvent(bool sipSelfWasArg, ::QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ?  ::QGraphicsItem::dropEvent(a0) : dropEvent(a0));
}

void sipQGraphicsVideoItem::sipProtectVirt_focusInEvent(bool sipSelfWasArg, ::QFocusEvent*a0)
{
    (sipSelfWasArg ?  ::QGraphicsItem::focusInEvent(a0) : focusInEvent(a0));
}

void sipQGraphicsVideoItem::sipProtectVirt_focusOutEvent(bool sipSelfWasArg, ::QFocusEvent*a0)
{
    (sipSelfWasArg ?  ::QGraphicsItem::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQGraphicsVideoItem::sipProtectVirt_hoverEnterEvent(bool sipSelfWasArg, ::QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ?  ::QGraphicsItem::hoverEnterEvent(a0) : hoverEnterEvent(a0));
}

void sipQGraphicsVideoItem::sipProtectVirt_hoverLeaveEvent(bool sipSelfWasArg, ::QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ?  ::QGraphicsItem::hoverLeaveEvent(a0) : hoverLeaveEvent(a0));
}

void sipQGraphicsVideoItem::sipProtectVirt_hoverMoveEvent(bool sipSelfWasArg, ::QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ?  ::QGraphicsItem::hoverMoveEvent(a0) : hoverMoveEvent(a0));
}

void sipQGraphicsVideoItem::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg, ::QInputMethodEvent*a0)
{
    (sipSelfWasArg ?  ::QGraphicsItem::inputMethodEvent(a0) : inputMethodEvent(a0));
}

 ::QVariant sipQGraphicsVideoItem::sipProtectVirt_inputMethodQuery(bool sipSelfWasArg, ::Qt::InputMethodQuery a0) const
{
    return (sipSelfWasArg ?  ::QGraphicsItem::inputMethodQuery(a0) : inputMethodQuery(a0));
}

void sipQGraphicsVideoItem::sipProtectVirt_keyPressEvent(bool sipSelfWasArg, ::QKeyEvent*a0)
{
    (sipSelfWasArg ?  ::QGraphicsItem::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQGraphicsVideoItem::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg, ::QKeyEvent*a0)
{
    (sipSelfWasArg ?  ::QGraphicsItem::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQGraphicsVideoItem::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg, ::QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ?  ::QGraphicsItem::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQGraphicsVideoItem::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg, ::QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ?  ::QGraphicsItem::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQGraphicsVideoItem::sipProtectVirt_mousePressEvent(bool sipSelfWasArg, ::QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ?  ::QGraphicsItem::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQGraphicsVideoItem::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg, ::QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ?  ::QGraphicsItem::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQGraphicsVideoItem::sipProtect_prepareGeometryChange()
{
     ::QGraphicsItem::prepareGeometryChange();
}

bool sipQGraphicsVideoItem::sipProtectVirt_sceneEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    return (sipSelfWasArg ?  ::QGraphicsItem::sceneEvent(a0) : sceneEvent(a0));
}

bool sipQGraphicsVideoItem::sipProtectVirt_sceneEventFilter(bool sipSelfWasArg, ::QGraphicsItem*a0, ::QEvent*a1)
{
    return (sipSelfWasArg ?  ::QGraphicsItem::sceneEventFilter(a0,a1) : sceneEventFilter(a0,a1));
}

void sipQGraphicsVideoItem::sipProtectVirt_wheelEvent(bool sipSelfWasArg, ::QGraphicsSceneWheelEvent*a0)
{
    (sipSelfWasArg ?  ::QGraphicsItem::wheelEvent(a0) : wheelEvent(a0));
}

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

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

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

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

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

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

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

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

void sipQGraphicsVideoItem::sipProtect_updateMicroFocus()
{
     ::QGraphicsObject::updateMicroFocus();
}

bool sipQGraphicsVideoItem::sipProtectVirt_event(bool sipSelfWasArg, ::QEvent*a0)
{
    return (sipSelfWasArg ?  ::QGraphicsObject::event(a0) : event(a0));
}

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

 ::QVariant sipQGraphicsVideoItem::sipProtectVirt_itemChange(bool sipSelfWasArg, ::QGraphicsItem::GraphicsItemChange a0,const  ::QVariant& a1)
{
    return (sipSelfWasArg ?  ::QGraphicsVideoItem::itemChange(a0,a1) : itemChange(a0,a1));
}

bool sipQGraphicsVideoItem::sipProtectVirt_setMediaObject(bool sipSelfWasArg, ::QMediaObject*a0)
{
    return (sipSelfWasArg ?  ::QGraphicsVideoItem::setMediaObject(a0) : setMediaObject(a0));
}


PyDoc_STRVAR(doc_QGraphicsVideoItem_contextMenuEvent, "contextMenuEvent(self, QGraphicsSceneContextMenuEvent)");

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

    {
         ::QGraphicsSceneContextMenuEvent* a0;
        sipQGraphicsVideoItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsVideoItem, &sipCpp, sipType_QGraphicsSceneContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsVideoItem, sipName_contextMenuEvent, doc_QGraphicsVideoItem_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsVideoItem_dragEnterEvent, "dragEnterEvent(self, QGraphicsSceneDragDropEvent)");

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

    {
         ::QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsVideoItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsVideoItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsVideoItem, sipName_dragEnterEvent, doc_QGraphicsVideoItem_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsVideoItem_dragLeaveEvent, "dragLeaveEvent(self, QGraphicsSceneDragDropEvent)");

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

    {
         ::QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsVideoItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsVideoItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsVideoItem, sipName_dragLeaveEvent, doc_QGraphicsVideoItem_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsVideoItem_dragMoveEvent, "dragMoveEvent(self, QGraphicsSceneDragDropEvent)");

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

    {
         ::QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsVideoItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsVideoItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsVideoItem, sipName_dragMoveEvent, doc_QGraphicsVideoItem_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsVideoItem_dropEvent, "dropEvent(self, QGraphicsSceneDragDropEvent)");

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

    {
         ::QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsVideoItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsVideoItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsVideoItem, sipName_dropEvent, doc_QGraphicsVideoItem_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsVideoItem_focusInEvent, "focusInEvent(self, QFocusEvent)");

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

    {
         ::QFocusEvent* a0;
        sipQGraphicsVideoItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsVideoItem, &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_QGraphicsVideoItem, sipName_focusInEvent, doc_QGraphicsVideoItem_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsVideoItem_focusOutEvent, "focusOutEvent(self, QFocusEvent)");

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

    {
         ::QFocusEvent* a0;
        sipQGraphicsVideoItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsVideoItem, &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_QGraphicsVideoItem, sipName_focusOutEvent, doc_QGraphicsVideoItem_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsVideoItem_hoverEnterEvent, "hoverEnterEvent(self, QGraphicsSceneHoverEvent)");

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

    {
         ::QGraphicsSceneHoverEvent* a0;
        sipQGraphicsVideoItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsVideoItem, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsVideoItem, sipName_hoverEnterEvent, doc_QGraphicsVideoItem_hoverEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsVideoItem_hoverLeaveEvent, "hoverLeaveEvent(self, QGraphicsSceneHoverEvent)");

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

    {
         ::QGraphicsSceneHoverEvent* a0;
        sipQGraphicsVideoItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsVideoItem, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsVideoItem, sipName_hoverLeaveEvent, doc_QGraphicsVideoItem_hoverLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsVideoItem_hoverMoveEvent, "hoverMoveEvent(self, QGraphicsSceneHoverEvent)");

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

    {
         ::QGraphicsSceneHoverEvent* a0;
        sipQGraphicsVideoItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsVideoItem, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsVideoItem, sipName_hoverMoveEvent, doc_QGraphicsVideoItem_hoverMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsVideoItem_inputMethodEvent, "inputMethodEvent(self, QInputMethodEvent)");

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

    {
         ::QInputMethodEvent* a0;
        sipQGraphicsVideoItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsVideoItem, &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_QGraphicsVideoItem, sipName_inputMethodEvent, doc_QGraphicsVideoItem_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsVideoItem_inputMethodQuery, "inputMethodQuery(self, Qt.InputMethodQuery) -> Any");

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

    {
         ::Qt::InputMethodQuery a0;
        const sipQGraphicsVideoItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QGraphicsVideoItem, &sipCpp, sipType_Qt_InputMethodQuery, &a0))
        {
             ::QVariant*sipRes;

            sipRes = new  ::QVariant(sipCpp->sipProtectVirt_inputMethodQuery(sipSelfWasArg,a0));

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsVideoItem, sipName_inputMethodQuery, doc_QGraphicsVideoItem_inputMethodQuery);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsVideoItem_keyPressEvent, "keyPressEvent(self, QKeyEvent)");

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

    {
         ::QKeyEvent* a0;
        sipQGraphicsVideoItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsVideoItem, &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_QGraphicsVideoItem, sipName_keyPressEvent, doc_QGraphicsVideoItem_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsVideoItem_keyReleaseEvent, "keyReleaseEvent(self, QKeyEvent)");

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

    {
         ::QKeyEvent* a0;
        sipQGraphicsVideoItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsVideoItem, &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_QGraphicsVideoItem, sipName_keyReleaseEvent, doc_QGraphicsVideoItem_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsVideoItem_mouseDoubleClickEvent, "mouseDoubleClickEvent(self, QGraphicsSceneMouseEvent)");

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

    {
         ::QGraphicsSceneMouseEvent* a0;
        sipQGraphicsVideoItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsVideoItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsVideoItem, sipName_mouseDoubleClickEvent, doc_QGraphicsVideoItem_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsVideoItem_mouseMoveEvent, "mouseMoveEvent(self, QGraphicsSceneMouseEvent)");

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

    {
         ::QGraphicsSceneMouseEvent* a0;
        sipQGraphicsVideoItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsVideoItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsVideoItem, sipName_mouseMoveEvent, doc_QGraphicsVideoItem_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsVideoItem_mousePressEvent, "mousePressEvent(self, QGraphicsSceneMouseEvent)");

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

    {
         ::QGraphicsSceneMouseEvent* a0;
        sipQGraphicsVideoItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsVideoItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsVideoItem, sipName_mousePressEvent, doc_QGraphicsVideoItem_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsVideoItem_mouseReleaseEvent, "mouseReleaseEvent(self, QGraphicsSceneMouseEvent)");

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

    {
         ::QGraphicsSceneMouseEvent* a0;
        sipQGraphicsVideoItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsVideoItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsVideoItem, sipName_mouseReleaseEvent, doc_QGraphicsVideoItem_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsVideoItem_prepareGeometryChange, "prepareGeometryChange(self)");

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

    {
        sipQGraphicsVideoItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsVideoItem, &sipCpp))
        {
            sipCpp->sipProtect_prepareGeometryChange();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsVideoItem, sipName_prepareGeometryChange, doc_QGraphicsVideoItem_prepareGeometryChange);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsVideoItem_sceneEvent, "sceneEvent(self, QEvent) -> bool");

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

    {
         ::QEvent* a0;
        sipQGraphicsVideoItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsVideoItem, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_sceneEvent(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsVideoItem, sipName_sceneEvent, doc_QGraphicsVideoItem_sceneEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsVideoItem_sceneEventFilter, "sceneEventFilter(self, QGraphicsItem, QEvent) -> bool");

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

    {
         ::QGraphicsItem* a0;
         ::QEvent* a1;
        sipQGraphicsVideoItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QGraphicsVideoItem, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_sceneEventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsVideoItem, sipName_sceneEventFilter, doc_QGraphicsVideoItem_sceneEventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsVideoItem_wheelEvent, "wheelEvent(self, QGraphicsSceneWheelEvent)");

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

    {
         ::QGraphicsSceneWheelEvent* a0;
        sipQGraphicsVideoItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsVideoItem, &sipCpp, sipType_QGraphicsSceneWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsVideoItem, sipName_wheelEvent, doc_QGraphicsVideoItem_wheelEvent);

    return NULL;
}


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

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

    {
        const sipQGraphicsVideoItem *sipCpp;

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

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

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

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

    return NULL;
}


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

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

    {
        PyObject * a0;
        const sipQGraphicsVideoItem *sipCpp;

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

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

            if (sipError == sipErrorFail)
                return 0;

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

            sipAddException(sipError, &sipParseErr);
        }
    }

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

    return NULL;
}


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

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

    {
         ::QChildEvent* a0;
        sipQGraphicsVideoItem *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

    {
         ::QEvent* a0;
        sipQGraphicsVideoItem *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

    {
        const sipQGraphicsVideoItem *sipCpp;

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

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

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

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsVideoItem_updateMicroFocus, "updateMicroFocus(self)");

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

    {
        sipQGraphicsVideoItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsVideoItem, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsVideoItem, sipName_updateMicroFocus, doc_QGraphicsVideoItem_updateMicroFocus);

    return NULL;
}


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

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

    {
         ::QEvent* a0;
        sipQGraphicsVideoItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsVideoItem, &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_QGraphicsVideoItem, sipName_event, doc_QGraphicsVideoItem_event);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsVideoItem_mediaObject, "mediaObject(self) -> QMediaObject");

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

    {
        const  ::QGraphicsVideoItem *sipCpp;

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

            sipRes = (sipSelfWasArg ? sipCpp-> ::QGraphicsVideoItem::mediaObject() : sipCpp->mediaObject());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsVideoItem, sipName_mediaObject, doc_QGraphicsVideoItem_mediaObject);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsVideoItem_aspectRatioMode, "aspectRatioMode(self) -> Qt.AspectRatioMode");

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

    {
        const  ::QGraphicsVideoItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsVideoItem, &sipCpp))
        {
             ::Qt::AspectRatioMode sipRes;

            sipRes = sipCpp->aspectRatioMode();

            return sipConvertFromEnum(sipRes,sipType_Qt_AspectRatioMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsVideoItem, sipName_aspectRatioMode, doc_QGraphicsVideoItem_aspectRatioMode);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsVideoItem_setAspectRatioMode, "setAspectRatioMode(self, Qt.AspectRatioMode)");

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

    {
         ::Qt::AspectRatioMode a0;
         ::QGraphicsVideoItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QGraphicsVideoItem, &sipCpp, sipType_Qt_AspectRatioMode, &a0))
        {
            sipCpp->setAspectRatioMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsVideoItem, sipName_setAspectRatioMode, doc_QGraphicsVideoItem_setAspectRatioMode);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsVideoItem_offset, "offset(self) -> QPointF");

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

    {
        const  ::QGraphicsVideoItem *sipCpp;

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

            sipRes = new  ::QPointF(sipCpp->offset());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsVideoItem, sipName_offset, doc_QGraphicsVideoItem_offset);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsVideoItem_setOffset, "setOffset(self, Union[QPointF, QPoint])");

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

    {
        const  ::QPointF* a0;
        int a0State = 0;
         ::QGraphicsVideoItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsVideoItem, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            sipCpp->setOffset(*a0);
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsVideoItem, sipName_setOffset, doc_QGraphicsVideoItem_setOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsVideoItem_size, "size(self) -> QSizeF");

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

    {
        const  ::QGraphicsVideoItem *sipCpp;

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

            sipRes = new  ::QSizeF(sipCpp->size());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsVideoItem, sipName_size, doc_QGraphicsVideoItem_size);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsVideoItem_setSize, "setSize(self, QSizeF)");

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

    {
        const  ::QSizeF* a0;
         ::QGraphicsVideoItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsVideoItem, &sipCpp, sipType_QSizeF, &a0))
        {
            sipCpp->setSize(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsVideoItem, sipName_setSize, doc_QGraphicsVideoItem_setSize);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsVideoItem_nativeSize, "nativeSize(self) -> QSizeF");

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

    {
        const  ::QGraphicsVideoItem *sipCpp;

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

            sipRes = new  ::QSizeF(sipCpp->nativeSize());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsVideoItem, sipName_nativeSize, doc_QGraphicsVideoItem_nativeSize);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsVideoItem_boundingRect, "boundingRect(self) -> QRectF");

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

    {
        const  ::QGraphicsVideoItem *sipCpp;

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

            sipRes = new  ::QRectF((sipSelfWasArg ? sipCpp-> ::QGraphicsVideoItem::boundingRect() : sipCpp->boundingRect()));

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsVideoItem, sipName_boundingRect, doc_QGraphicsVideoItem_boundingRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsVideoItem_paint, "paint(self, QPainter, QStyleOptionGraphicsItem, widget: QWidget = None)");

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

    {
         ::QPainter* a0;
        const  ::QStyleOptionGraphicsItem* a1;
         ::QWidget* a2 = 0;
         ::QGraphicsVideoItem *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8J8|J8", &sipSelf, sipType_QGraphicsVideoItem, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionGraphicsItem, &a1, sipType_QWidget, &a2))
        {
            (sipSelfWasArg ? sipCpp-> ::QGraphicsVideoItem::paint(a0,a1,a2) : sipCpp->paint(a0,a1,a2));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsVideoItem, sipName_paint, doc_QGraphicsVideoItem_paint);

    return NULL;
}


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

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

    {
         ::QTimerEvent* a0;
        sipQGraphicsVideoItem *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsVideoItem_itemChange, "itemChange(self, QGraphicsItem.GraphicsItemChange, Any) -> Any");

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

    {
         ::QGraphicsItem::GraphicsItemChange a0;
        const  ::QVariant* a1;
        int a1State = 0;
        sipQGraphicsVideoItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEJ1", &sipSelf, sipType_QGraphicsVideoItem, &sipCpp, sipType_QGraphicsItem_GraphicsItemChange, &a0, sipType_QVariant, &a1, &a1State))
        {
             ::QVariant*sipRes;

            sipRes = new  ::QVariant(sipCpp->sipProtectVirt_itemChange(sipSelfWasArg,a0,*a1));
            sipReleaseType(const_cast< ::QVariant *>(a1),sipType_QVariant,a1State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsVideoItem, sipName_itemChange, doc_QGraphicsVideoItem_itemChange);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsVideoItem_setMediaObject, "setMediaObject(self, QMediaObject) -> bool");

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

    {
         ::QMediaObject* a0;
        sipQGraphicsVideoItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsVideoItem, &sipCpp, sipType_QMediaObject, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_setMediaObject(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsVideoItem, sipName_setMediaObject, doc_QGraphicsVideoItem_setMediaObject);

    return NULL;
}


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

    if (targetType == sipType_QGraphicsObject)
        return static_cast< ::QGraphicsObject *>(sipCpp);

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

    if (targetType == sipType_QGraphicsItem)
        return static_cast< ::QGraphicsItem *>(sipCpp);

    if (targetType == sipType_QMediaBindableInterface)
        return static_cast< ::QMediaBindableInterface *>(sipCpp);

    return sipCppV;
}


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

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


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

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


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

    {
         ::QGraphicsItem* a0 = 0;

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

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QGraphicsItem, &a0, sipOwner))
        {
            sipCpp = new sipQGraphicsVideoItem(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_QGraphicsVideoItem[] = {
    {SIP_MLNAME_CAST(sipName_aspectRatioMode), meth_QGraphicsVideoItem_aspectRatioMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsVideoItem_aspectRatioMode)},
    {SIP_MLNAME_CAST(sipName_boundingRect), meth_QGraphicsVideoItem_boundingRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsVideoItem_boundingRect)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QGraphicsVideoItem_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QGraphicsVideoItem_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QGraphicsVideoItem_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QGraphicsVideoItem_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QGraphicsVideoItem_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QGraphicsVideoItem_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QGraphicsVideoItem_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QGraphicsVideoItem_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QGraphicsVideoItem_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QGraphicsVideoItem_event, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QGraphicsVideoItem_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QGraphicsVideoItem_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), (PyCFunction)meth_QGraphicsVideoItem_hoverEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), (PyCFunction)meth_QGraphicsVideoItem_hoverLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverMoveEvent), (PyCFunction)meth_QGraphicsVideoItem_hoverMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QGraphicsVideoItem_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), (PyCFunction)meth_QGraphicsVideoItem_inputMethodQuery, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QGraphicsVideoItem_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_itemChange), (PyCFunction)meth_QGraphicsVideoItem_itemChange, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsVideoItem_itemChange)},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QGraphicsVideoItem_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QGraphicsVideoItem_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mediaObject), meth_QGraphicsVideoItem_mediaObject, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsVideoItem_mediaObject)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QGraphicsVideoItem_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QGraphicsVideoItem_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QGraphicsVideoItem_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QGraphicsVideoItem_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeSize), meth_QGraphicsVideoItem_nativeSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsVideoItem_nativeSize)},
    {SIP_MLNAME_CAST(sipName_offset), meth_QGraphicsVideoItem_offset, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsVideoItem_offset)},
    {SIP_MLNAME_CAST(sipName_paint), (PyCFunction)meth_QGraphicsVideoItem_paint, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsVideoItem_paint)},
    {SIP_MLNAME_CAST(sipName_prepareGeometryChange), (PyCFunction)meth_QGraphicsVideoItem_prepareGeometryChange, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QGraphicsVideoItem_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEvent), (PyCFunction)meth_QGraphicsVideoItem_sceneEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEventFilter), (PyCFunction)meth_QGraphicsVideoItem_sceneEventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QGraphicsVideoItem_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QGraphicsVideoItem_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAspectRatioMode), meth_QGraphicsVideoItem_setAspectRatioMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsVideoItem_setAspectRatioMode)},
    {SIP_MLNAME_CAST(sipName_setMediaObject), (PyCFunction)meth_QGraphicsVideoItem_setMediaObject, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsVideoItem_setMediaObject)},
    {SIP_MLNAME_CAST(sipName_setOffset), meth_QGraphicsVideoItem_setOffset, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsVideoItem_setOffset)},
    {SIP_MLNAME_CAST(sipName_setSize), meth_QGraphicsVideoItem_setSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsVideoItem_setSize)},
    {SIP_MLNAME_CAST(sipName_size), meth_QGraphicsVideoItem_size, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsVideoItem_size)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QGraphicsVideoItem_timerEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsVideoItem_timerEvent)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QGraphicsVideoItem_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QGraphicsVideoItem_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QGraphicsVideoItem, "\1QGraphicsVideoItem(parent: QGraphicsItem = None)");


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


static pyqt5ClassPluginDef plugin_QGraphicsVideoItem = {
    & ::QGraphicsVideoItem::staticMetaObject,
    0,
    signals_QGraphicsVideoItem,
    0
};


sipClassTypeDef sipTypeDef_QtMultimediaWidgets_QGraphicsVideoItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsVideoItem,
        {0},
        &plugin_QGraphicsVideoItem
    },
    {
        sipNameNr_QGraphicsVideoItem,
        {0, 0, 1},
        45, methods_QGraphicsVideoItem,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsVideoItem,
    -1,
    -1,
    supers_QGraphicsVideoItem,
    0,
    init_type_QGraphicsVideoItem,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsVideoItem,
    0,
    0,
    0,
    release_QGraphicsVideoItem,
    cast_QGraphicsVideoItem,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtMultimediaWidgets/qcameraviewfinder.sip"
#include <qcameraviewfinder.h>
#line 3796 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"

#line 28 "sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 3800 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtMultimedia/qmediaobject.sip"
#include <qmediaobject.h>
#line 3803 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3806 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3809 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3812 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3815 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3818 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3821 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3824 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 3827 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 3830 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 3833 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 3836 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 3839 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 3842 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3845 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 3848 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 3851 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3854 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 3857 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3860 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 3863 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 3866 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 3869 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 3872 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 3875 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 3878 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 3881 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 28 "sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 3884 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 3887 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 3890 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 3893 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 3896 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3899 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3902 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3905 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3908 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3911 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3914 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3917 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3920 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3926 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3929 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3932 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3935 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 3938 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 3941 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 3944 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 3947 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 3950 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3953 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 3956 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 3959 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 3962 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 3965 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 3968 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 3971 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3974 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3977 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 3980 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 3983 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 3986 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 3989 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3992 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 3995 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 3998 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 4001 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"


class sipQCameraViewfinder : public  ::QCameraViewfinder
{
public:
    sipQCameraViewfinder( ::QWidget*);
    virtual ~sipQCameraViewfinder();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
     ::QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool, ::QTimerEvent*);
    void sipProtectVirt_childEvent(bool, ::QChildEvent*);
    void sipProtectVirt_customEvent(bool, ::QEvent*);
    void sipProtectVirt_connectNotify(bool,const  ::QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const  ::QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const  ::QMetaMethod&) const;
    void sipProtectVirt_mousePressEvent(bool, ::QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool, ::QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool, ::QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool, ::QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool, ::QWheelEvent*);
    void sipProtectVirt_keyPressEvent(bool, ::QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool, ::QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool, ::QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool, ::QFocusEvent*);
    void sipProtectVirt_enterEvent(bool, ::QEvent*);
    void sipProtectVirt_leaveEvent(bool, ::QEvent*);
    void sipProtectVirt_closeEvent(bool, ::QCloseEvent*);
    void sipProtectVirt_contextMenuEvent(bool, ::QContextMenuEvent*);
    void sipProtectVirt_tabletEvent(bool, ::QTabletEvent*);
    void sipProtectVirt_actionEvent(bool, ::QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool, ::QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool, ::QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool, ::QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool, ::QDropEvent*);
    void sipProtectVirt_changeEvent(bool, ::QEvent*);
    int sipProtectVirt_metric(bool, ::QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool, ::QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create( ::WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const  ::QByteArray&,void*,long*);
     ::QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool, ::QPainter*) const;
    bool sipProtectVirt_event(bool, ::QEvent*);
    void sipProtectVirt_showEvent(bool, ::QShowEvent*);
    void sipProtectVirt_hideEvent(bool, ::QHideEvent*);
    void sipProtectVirt_resizeEvent(bool, ::QResizeEvent*);
    void sipProtectVirt_moveEvent(bool, ::QMoveEvent*);
    void sipProtectVirt_paintEvent(bool, ::QPaintEvent*);
    bool sipProtectVirt_setMediaObject(bool, ::QMediaObject*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void initPainter( ::QPainter*) const;
     ::QPainter* sharedPainter() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    void inputMethodEvent( ::QInputMethodEvent*);
    void changeEvent( ::QEvent*);
    void hideEvent( ::QHideEvent*);
    void showEvent( ::QShowEvent*);
    void dropEvent( ::QDropEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void actionEvent( ::QActionEvent*);
    void tabletEvent( ::QTabletEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void closeEvent( ::QCloseEvent*);
    void resizeEvent( ::QResizeEvent*);
    void moveEvent( ::QMoveEvent*);
    void paintEvent( ::QPaintEvent*);
    void leaveEvent( ::QEvent*);
    void enterEvent( ::QEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void focusInEvent( ::QFocusEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void wheelEvent( ::QWheelEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mousePressEvent( ::QMouseEvent*);
    int heightForWidth(int) const;
     ::QSize minimumSizeHint() const;
     ::QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
     ::QPaintEngine* paintEngine() const;
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);
    bool setMediaObject( ::QMediaObject*);
     ::QMediaObject* mediaObject() const;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[48];
};

sipQCameraViewfinder::sipQCameraViewfinder( ::QWidget*a0):  ::QCameraViewfinder(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipQCameraViewfinder::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimediaWidgets_qt_metaobject(sipPySelf,sipType_QCameraViewfinder);

    return  ::QCameraViewfinder::metaObject();
}

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

    if (_id >= 0)
        _id = sip_QtMultimediaWidgets_qt_metacall(sipPySelf,sipType_QCameraViewfinder,_c,_id,_a);

    return _id;
}

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

    return (sip_QtMultimediaWidgets_qt_metacast(sipPySelf, sipType_QCameraViewfinder, _clname, &sipCpp) ? sipCpp :  ::QCameraViewfinder::qt_metacast(_clname));
}

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

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

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

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

    sipVH_QtMultimediaWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_QtMultimediaWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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

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

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

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

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

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

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

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

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

    return sipVH_QtMultimediaWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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

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

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

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

    return sipVH_QtMultimediaWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_QtMultimediaWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQCameraViewfinder::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QCameraViewfinder::heightForWidth(a0);

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

    return sipVH_QtMultimediaWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_QtMultimediaWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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

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

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

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

    return sipVH_QtMultimediaWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_QtMultimediaWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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

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

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

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

    return sipVH_QtMultimediaWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQCameraViewfinder::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QCameraViewfinder::metric(a0);

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

    return sipVH_QtMultimediaWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_QtMultimediaWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    sipVH_QtMultimediaWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQCameraViewfinder::setMediaObject( ::QMediaObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QCameraViewfinder::setMediaObject(a0);

    extern bool sipVH_QtMultimediaWidgets_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMediaObject*);

    return sipVH_QtMultimediaWidgets_36(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QMediaObject* sipQCameraViewfinder::mediaObject() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QCameraViewfinder::mediaObject();

    extern  ::QMediaObject* sipVH_QtMultimediaWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtMultimediaWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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

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

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

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

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

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

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

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

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

void sipQCameraViewfinder::sipProtectVirt_mousePressEvent(bool sipSelfWasArg, ::QMouseEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQCameraViewfinder::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg, ::QMouseEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQCameraViewfinder::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg, ::QMouseEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQCameraViewfinder::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg, ::QMouseEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQCameraViewfinder::sipProtectVirt_wheelEvent(bool sipSelfWasArg, ::QWheelEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQCameraViewfinder::sipProtectVirt_keyPressEvent(bool sipSelfWasArg, ::QKeyEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQCameraViewfinder::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg, ::QKeyEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQCameraViewfinder::sipProtectVirt_focusInEvent(bool sipSelfWasArg, ::QFocusEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQCameraViewfinder::sipProtectVirt_focusOutEvent(bool sipSelfWasArg, ::QFocusEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQCameraViewfinder::sipProtectVirt_enterEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQCameraViewfinder::sipProtectVirt_leaveEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQCameraViewfinder::sipProtectVirt_closeEvent(bool sipSelfWasArg, ::QCloseEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQCameraViewfinder::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg, ::QContextMenuEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQCameraViewfinder::sipProtectVirt_tabletEvent(bool sipSelfWasArg, ::QTabletEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQCameraViewfinder::sipProtectVirt_actionEvent(bool sipSelfWasArg, ::QActionEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQCameraViewfinder::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg, ::QDragEnterEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQCameraViewfinder::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg, ::QDragMoveEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQCameraViewfinder::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg, ::QDragLeaveEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQCameraViewfinder::sipProtectVirt_dropEvent(bool sipSelfWasArg, ::QDropEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQCameraViewfinder::sipProtectVirt_changeEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::changeEvent(a0) : changeEvent(a0));
}

int sipQCameraViewfinder::sipProtectVirt_metric(bool sipSelfWasArg, ::QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ?  ::QWidget::metric(a0) : metric(a0));
}

void sipQCameraViewfinder::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg, ::QInputMethodEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQCameraViewfinder::sipProtect_updateMicroFocus()
{
     ::QWidget::updateMicroFocus();
}

void sipQCameraViewfinder::sipProtect_create( ::WId a0,bool a1,bool a2)
{
     ::QWidget::create(a0,a1,a2);
}

void sipQCameraViewfinder::sipProtect_destroy(bool a0,bool a1)
{
     ::QWidget::destroy(a0,a1);
}

bool sipQCameraViewfinder::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ?  ::QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQCameraViewfinder::sipProtect_focusNextChild()
{
    return  ::QWidget::focusNextChild();
}

bool sipQCameraViewfinder::sipProtect_focusPreviousChild()
{
    return  ::QWidget::focusPreviousChild();
}

bool sipQCameraViewfinder::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const  ::QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ?  ::QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

 ::QPainter* sipQCameraViewfinder::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ?  ::QWidget::sharedPainter() : sharedPainter());
}

void sipQCameraViewfinder::sipProtectVirt_initPainter(bool sipSelfWasArg, ::QPainter*a0) const
{
    (sipSelfWasArg ?  ::QWidget::initPainter(a0) : initPainter(a0));
}

bool sipQCameraViewfinder::sipProtectVirt_event(bool sipSelfWasArg, ::QEvent*a0)
{
    return (sipSelfWasArg ?  ::QVideoWidget::event(a0) : event(a0));
}

void sipQCameraViewfinder::sipProtectVirt_showEvent(bool sipSelfWasArg, ::QShowEvent*a0)
{
    (sipSelfWasArg ?  ::QVideoWidget::showEvent(a0) : showEvent(a0));
}

void sipQCameraViewfinder::sipProtectVirt_hideEvent(bool sipSelfWasArg, ::QHideEvent*a0)
{
    (sipSelfWasArg ?  ::QVideoWidget::hideEvent(a0) : hideEvent(a0));
}

void sipQCameraViewfinder::sipProtectVirt_resizeEvent(bool sipSelfWasArg, ::QResizeEvent*a0)
{
    (sipSelfWasArg ?  ::QVideoWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipQCameraViewfinder::sipProtectVirt_moveEvent(bool sipSelfWasArg, ::QMoveEvent*a0)
{
    (sipSelfWasArg ?  ::QVideoWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQCameraViewfinder::sipProtectVirt_paintEvent(bool sipSelfWasArg, ::QPaintEvent*a0)
{
    (sipSelfWasArg ?  ::QVideoWidget::paintEvent(a0) : paintEvent(a0));
}

bool sipQCameraViewfinder::sipProtectVirt_setMediaObject(bool sipSelfWasArg, ::QMediaObject*a0)
{
    return (sipSelfWasArg ?  ::QCameraViewfinder::setMediaObject(a0) : setMediaObject(a0));
}


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

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

    {
        const sipQCameraViewfinder *sipCpp;

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

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

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

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

    return NULL;
}


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

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

    {
        PyObject * a0;
        const sipQCameraViewfinder *sipCpp;

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

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

            if (sipError == sipErrorFail)
                return 0;

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

            sipAddException(sipError, &sipParseErr);
        }
    }

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

    return NULL;
}


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

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

    {
         ::QTimerEvent* a0;
        sipQCameraViewfinder *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

    {
         ::QChildEvent* a0;
        sipQCameraViewfinder *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

    {
         ::QEvent* a0;
        sipQCameraViewfinder *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

    {
        const sipQCameraViewfinder *sipCpp;

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

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

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

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinder_mousePressEvent, "mousePressEvent(self, QMouseEvent)");

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

    {
         ::QMouseEvent* a0;
        sipQCameraViewfinder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCameraViewfinder, &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_QCameraViewfinder, sipName_mousePressEvent, doc_QCameraViewfinder_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinder_mouseReleaseEvent, "mouseReleaseEvent(self, QMouseEvent)");

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

    {
         ::QMouseEvent* a0;
        sipQCameraViewfinder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCameraViewfinder, &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_QCameraViewfinder, sipName_mouseReleaseEvent, doc_QCameraViewfinder_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinder_mouseDoubleClickEvent, "mouseDoubleClickEvent(self, QMouseEvent)");

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

    {
         ::QMouseEvent* a0;
        sipQCameraViewfinder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCameraViewfinder, &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_QCameraViewfinder, sipName_mouseDoubleClickEvent, doc_QCameraViewfinder_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinder_mouseMoveEvent, "mouseMoveEvent(self, QMouseEvent)");

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

    {
         ::QMouseEvent* a0;
        sipQCameraViewfinder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCameraViewfinder, &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_QCameraViewfinder, sipName_mouseMoveEvent, doc_QCameraViewfinder_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinder_wheelEvent, "wheelEvent(self, QWheelEvent)");

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

    {
         ::QWheelEvent* a0;
        sipQCameraViewfinder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCameraViewfinder, &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_QCameraViewfinder, sipName_wheelEvent, doc_QCameraViewfinder_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinder_keyPressEvent, "keyPressEvent(self, QKeyEvent)");

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

    {
         ::QKeyEvent* a0;
        sipQCameraViewfinder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCameraViewfinder, &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_QCameraViewfinder, sipName_keyPressEvent, doc_QCameraViewfinder_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinder_keyReleaseEvent, "keyReleaseEvent(self, QKeyEvent)");

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

    {
         ::QKeyEvent* a0;
        sipQCameraViewfinder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCameraViewfinder, &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_QCameraViewfinder, sipName_keyReleaseEvent, doc_QCameraViewfinder_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinder_focusInEvent, "focusInEvent(self, QFocusEvent)");

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

    {
         ::QFocusEvent* a0;
        sipQCameraViewfinder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCameraViewfinder, &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_QCameraViewfinder, sipName_focusInEvent, doc_QCameraViewfinder_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinder_focusOutEvent, "focusOutEvent(self, QFocusEvent)");

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

    {
         ::QFocusEvent* a0;
        sipQCameraViewfinder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCameraViewfinder, &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_QCameraViewfinder, sipName_focusOutEvent, doc_QCameraViewfinder_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinder_enterEvent, "enterEvent(self, QEvent)");

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

    {
         ::QEvent* a0;
        sipQCameraViewfinder *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraViewfinder, sipName_enterEvent, doc_QCameraViewfinder_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinder_leaveEvent, "leaveEvent(self, QEvent)");

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

    {
         ::QEvent* a0;
        sipQCameraViewfinder *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraViewfinder, sipName_leaveEvent, doc_QCameraViewfinder_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinder_closeEvent, "closeEvent(self, QCloseEvent)");

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

    {
         ::QCloseEvent* a0;
        sipQCameraViewfinder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCameraViewfinder, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraViewfinder, sipName_closeEvent, doc_QCameraViewfinder_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinder_contextMenuEvent, "contextMenuEvent(self, QContextMenuEvent)");

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

    {
         ::QContextMenuEvent* a0;
        sipQCameraViewfinder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCameraViewfinder, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraViewfinder, sipName_contextMenuEvent, doc_QCameraViewfinder_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinder_tabletEvent, "tabletEvent(self, QTabletEvent)");

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

    {
         ::QTabletEvent* a0;
        sipQCameraViewfinder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCameraViewfinder, &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_QCameraViewfinder, sipName_tabletEvent, doc_QCameraViewfinder_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinder_actionEvent, "actionEvent(self, QActionEvent)");

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

    {
         ::QActionEvent* a0;
        sipQCameraViewfinder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCameraViewfinder, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraViewfinder, sipName_actionEvent, doc_QCameraViewfinder_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinder_dragEnterEvent, "dragEnterEvent(self, QDragEnterEvent)");

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

    {
         ::QDragEnterEvent* a0;
        sipQCameraViewfinder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCameraViewfinder, &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_QCameraViewfinder, sipName_dragEnterEvent, doc_QCameraViewfinder_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinder_dragMoveEvent, "dragMoveEvent(self, QDragMoveEvent)");

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

    {
         ::QDragMoveEvent* a0;
        sipQCameraViewfinder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCameraViewfinder, &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_QCameraViewfinder, sipName_dragMoveEvent, doc_QCameraViewfinder_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinder_dragLeaveEvent, "dragLeaveEvent(self, QDragLeaveEvent)");

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

    {
         ::QDragLeaveEvent* a0;
        sipQCameraViewfinder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCameraViewfinder, &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_QCameraViewfinder, sipName_dragLeaveEvent, doc_QCameraViewfinder_dragLeaveEvent);

    return NULL;
}


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

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

    {
         ::QDropEvent* a0;
        sipQCameraViewfinder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCameraViewfinder, &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_QCameraViewfinder, sipName_dropEvent, doc_QCameraViewfinder_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinder_changeEvent, "changeEvent(self, QEvent)");

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

    {
         ::QEvent* a0;
        sipQCameraViewfinder *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraViewfinder, sipName_changeEvent, doc_QCameraViewfinder_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinder_metric, "metric(self, QPaintDevice.PaintDeviceMetric) -> int");

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

    {
         ::QPaintDevice::PaintDeviceMetric a0;
        const sipQCameraViewfinder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QCameraViewfinder, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraViewfinder, sipName_metric, doc_QCameraViewfinder_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinder_inputMethodEvent, "inputMethodEvent(self, QInputMethodEvent)");

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

    {
         ::QInputMethodEvent* a0;
        sipQCameraViewfinder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCameraViewfinder, &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_QCameraViewfinder, sipName_inputMethodEvent, doc_QCameraViewfinder_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinder_updateMicroFocus, "updateMicroFocus(self)");

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

    {
        sipQCameraViewfinder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCameraViewfinder, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraViewfinder, sipName_updateMicroFocus, doc_QCameraViewfinder_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinder_create, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)");

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

    {
         ::WId a0def = 0;
         ::WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQCameraViewfinder *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QCameraViewfinder, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraViewfinder, sipName_create, doc_QCameraViewfinder_create);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinder_destroy, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)");

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

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQCameraViewfinder *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QCameraViewfinder, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraViewfinder, sipName_destroy, doc_QCameraViewfinder_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinder_focusNextPrevChild, "focusNextPrevChild(self, bool) -> bool");

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

    {
        bool a0;
        sipQCameraViewfinder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QCameraViewfinder, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraViewfinder, sipName_focusNextPrevChild, doc_QCameraViewfinder_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinder_focusNextChild, "focusNextChild(self) -> bool");

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

    {
        sipQCameraViewfinder *sipCpp;

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

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraViewfinder, sipName_focusNextChild, doc_QCameraViewfinder_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinder_focusPreviousChild, "focusPreviousChild(self) -> bool");

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

    {
        sipQCameraViewfinder *sipCpp;

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

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraViewfinder, sipName_focusPreviousChild, doc_QCameraViewfinder_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinder_nativeEvent, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[bool, int]");

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

    {
        const  ::QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQCameraViewfinder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QCameraViewfinder, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraViewfinder, sipName_nativeEvent, doc_QCameraViewfinder_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinder_sharedPainter, "sharedPainter(self) -> QPainter");

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

    {
        const sipQCameraViewfinder *sipCpp;

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

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraViewfinder, sipName_sharedPainter, doc_QCameraViewfinder_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinder_initPainter, "initPainter(self, QPainter)");

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

    {
         ::QPainter* a0;
        const sipQCameraViewfinder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCameraViewfinder, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraViewfinder, sipName_initPainter, doc_QCameraViewfinder_initPainter);

    return NULL;
}


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

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

    {
         ::QEvent* a0;
        sipQCameraViewfinder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCameraViewfinder, &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_QCameraViewfinder, sipName_event, doc_QCameraViewfinder_event);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinder_showEvent, "showEvent(self, QShowEvent)");

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

    {
         ::QShowEvent* a0;
        sipQCameraViewfinder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCameraViewfinder, &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_QCameraViewfinder, sipName_showEvent, doc_QCameraViewfinder_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinder_hideEvent, "hideEvent(self, QHideEvent)");

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

    {
         ::QHideEvent* a0;
        sipQCameraViewfinder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCameraViewfinder, &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_QCameraViewfinder, sipName_hideEvent, doc_QCameraViewfinder_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinder_resizeEvent, "resizeEvent(self, QResizeEvent)");

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

    {
         ::QResizeEvent* a0;
        sipQCameraViewfinder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCameraViewfinder, &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_QCameraViewfinder, sipName_resizeEvent, doc_QCameraViewfinder_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinder_moveEvent, "moveEvent(self, QMoveEvent)");

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

    {
         ::QMoveEvent* a0;
        sipQCameraViewfinder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCameraViewfinder, &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_QCameraViewfinder, sipName_moveEvent, doc_QCameraViewfinder_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinder_paintEvent, "paintEvent(self, QPaintEvent)");

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

    {
         ::QPaintEvent* a0;
        sipQCameraViewfinder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCameraViewfinder, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraViewfinder, sipName_paintEvent, doc_QCameraViewfinder_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinder_mediaObject, "mediaObject(self) -> QMediaObject");

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

    {
        const  ::QCameraViewfinder *sipCpp;

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

            sipRes = (sipSelfWasArg ? sipCpp-> ::QCameraViewfinder::mediaObject() : sipCpp->mediaObject());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraViewfinder, sipName_mediaObject, doc_QCameraViewfinder_mediaObject);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinder_setMediaObject, "setMediaObject(self, QMediaObject) -> bool");

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

    {
         ::QMediaObject* a0;
        sipQCameraViewfinder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCameraViewfinder, &sipCpp, sipType_QMediaObject, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_setMediaObject(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraViewfinder, sipName_setMediaObject, doc_QCameraViewfinder_setMediaObject);

    return NULL;
}


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

    if (targetType == sipType_QVideoWidget)
        return static_cast< ::QVideoWidget *>(sipCpp);

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

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

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

    if (targetType == sipType_QMediaBindableInterface)
        return static_cast< ::QMediaBindableInterface *>(sipCpp);

    return sipCppV;
}


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

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


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

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


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

    {
         ::QWidget* a0 = 0;

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

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQCameraViewfinder(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_QCameraViewfinder[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QCameraViewfinder_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QCameraViewfinder_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QCameraViewfinder_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QCameraViewfinder_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QCameraViewfinder_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QCameraViewfinder_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QCameraViewfinder_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QCameraViewfinder_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QCameraViewfinder_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QCameraViewfinder_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QCameraViewfinder_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QCameraViewfinder_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QCameraViewfinder_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QCameraViewfinder_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QCameraViewfinder_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QCameraViewfinder_event, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QCameraViewfinder_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QCameraViewfinder_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QCameraViewfinder_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QCameraViewfinder_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QCameraViewfinder_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QCameraViewfinder_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QCameraViewfinder_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QCameraViewfinder_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QCameraViewfinder_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QCameraViewfinder_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QCameraViewfinder_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QCameraViewfinder_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mediaObject), meth_QCameraViewfinder_mediaObject, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraViewfinder_mediaObject)},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QCameraViewfinder_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QCameraViewfinder_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QCameraViewfinder_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QCameraViewfinder_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QCameraViewfinder_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QCameraViewfinder_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QCameraViewfinder_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QCameraViewfinder_paintEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QCameraViewfinder_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QCameraViewfinder_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QCameraViewfinder_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QCameraViewfinder_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setMediaObject), (PyCFunction)meth_QCameraViewfinder_setMediaObject, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCameraViewfinder_setMediaObject)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QCameraViewfinder_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QCameraViewfinder_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QCameraViewfinder_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QCameraViewfinder_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QCameraViewfinder_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QCameraViewfinder_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QCameraViewfinder, "\1QCameraViewfinder(parent: QWidget = None)");


static pyqt5ClassPluginDef plugin_QCameraViewfinder = {
    & ::QCameraViewfinder::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtMultimediaWidgets_QCameraViewfinder = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QCameraViewfinder,
        {0},
        &plugin_QCameraViewfinder
    },
    {
        sipNameNr_QCameraViewfinder,
        {0, 0, 1},
        48, methods_QCameraViewfinder,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QCameraViewfinder,
    -1,
    -1,
    supers_QCameraViewfinder,
    0,
    init_type_QCameraViewfinder,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QCameraViewfinder,
    0,
    0,
    0,
    release_QCameraViewfinder,
    cast_QCameraViewfinder,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/sip/QtMultimediaWidgets/qvideowidget.sip"
#include <qvideowidget.h>
#line 6892 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"

#line 28 "sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 6896 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtMultimedia/qmediaobject.sip"
#include <qmediaobject.h>
#line 6899 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 386 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 6902 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 400 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 6905 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 413 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 6908 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 459 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 6911 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 448 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 6914 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6917 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6920 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 6923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 6926 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 6929 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 6932 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 6935 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 6938 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6941 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 6944 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 6947 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6950 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 6953 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6956 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 6959 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 6962 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 189 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 6965 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 6968 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 6971 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 6974 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 6977 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 28 "sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 6980 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 6983 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 6986 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 6989 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 6992 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 497 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 6995 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 558 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 6998 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 607 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7001 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 580 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7004 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 596 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7007 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 663 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7010 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 293 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7013 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 470 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7016 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 426 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7019 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 372 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7022 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 351 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7025 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7028 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 205 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7031 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 52 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 7034 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 7037 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 7040 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 7043 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 7046 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7049 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 7052 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 7055 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 7058 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 7061 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 7064 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 7067 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7070 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7073 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 7076 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 7079 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 7082 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 7085 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7088 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 7091 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 7094 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 7097 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"


class sipQVideoWidget : public  ::QVideoWidget
{
public:
    sipQVideoWidget( ::QWidget*);
    virtual ~sipQVideoWidget();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
     ::QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool, ::QTimerEvent*);
    void sipProtectVirt_childEvent(bool, ::QChildEvent*);
    void sipProtectVirt_customEvent(bool, ::QEvent*);
    void sipProtectVirt_connectNotify(bool,const  ::QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const  ::QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const  ::QMetaMethod&) const;
    void sipProtectVirt_mousePressEvent(bool, ::QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool, ::QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool, ::QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool, ::QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool, ::QWheelEvent*);
    void sipProtectVirt_keyPressEvent(bool, ::QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool, ::QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool, ::QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool, ::QFocusEvent*);
    void sipProtectVirt_enterEvent(bool, ::QEvent*);
    void sipProtectVirt_leaveEvent(bool, ::QEvent*);
    void sipProtectVirt_closeEvent(bool, ::QCloseEvent*);
    void sipProtectVirt_contextMenuEvent(bool, ::QContextMenuEvent*);
    void sipProtectVirt_tabletEvent(bool, ::QTabletEvent*);
    void sipProtectVirt_actionEvent(bool, ::QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool, ::QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool, ::QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool, ::QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool, ::QDropEvent*);
    void sipProtectVirt_changeEvent(bool, ::QEvent*);
    int sipProtectVirt_metric(bool, ::QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool, ::QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create( ::WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const  ::QByteArray&,void*,long*);
     ::QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool, ::QPainter*) const;
    bool sipProtectVirt_event(bool, ::QEvent*);
    void sipProtectVirt_showEvent(bool, ::QShowEvent*);
    void sipProtectVirt_hideEvent(bool, ::QHideEvent*);
    void sipProtectVirt_resizeEvent(bool, ::QResizeEvent*);
    void sipProtectVirt_moveEvent(bool, ::QMoveEvent*);
    void sipProtectVirt_paintEvent(bool, ::QPaintEvent*);
    bool sipProtectVirt_setMediaObject(bool, ::QMediaObject*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
     ::QMediaObject* mediaObject() const;
    bool setMediaObject( ::QMediaObject*);
    void disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) const;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[48];
};

sipQVideoWidget::sipQVideoWidget( ::QWidget*a0):  ::QVideoWidget(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipQVideoWidget::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimediaWidgets_qt_metaobject(sipPySelf,sipType_QVideoWidget);

    return  ::QVideoWidget::metaObject();
}

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

    if (_id >= 0)
        _id = sip_QtMultimediaWidgets_qt_metacall(sipPySelf,sipType_QVideoWidget,_c,_id,_a);

    return _id;
}

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

    return (sip_QtMultimediaWidgets_qt_metacast(sipPySelf, sipType_QVideoWidget, _clname, &sipCpp) ? sipCpp :  ::QVideoWidget::qt_metacast(_clname));
}

 ::QMediaObject* sipQVideoWidget::mediaObject() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QVideoWidget::mediaObject();

    extern  ::QMediaObject* sipVH_QtMultimediaWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtMultimediaWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQVideoWidget::setMediaObject( ::QMediaObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QVideoWidget::setMediaObject(a0);

    extern bool sipVH_QtMultimediaWidgets_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMediaObject*);

    return sipVH_QtMultimediaWidgets_36(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    return sipVH_QtMultimediaWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQVideoWidget::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QVideoWidget::metric(a0);

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

    return sipVH_QtMultimediaWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_QtMultimediaWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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

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

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

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

    return sipVH_QtMultimediaWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_QtMultimediaWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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

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

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

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

    return sipVH_QtMultimediaWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQVideoWidget::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QVideoWidget::heightForWidth(a0);

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

    return sipVH_QtMultimediaWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_QtMultimediaWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_QtMultimediaWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_QtMultimediaWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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

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

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

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

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

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

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

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

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

    return sipVH_QtMultimediaWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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

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

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

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

    sipVH_QtMultimediaWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtMultimediaWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

void sipQVideoWidget::sipProtectVirt_mousePressEvent(bool sipSelfWasArg, ::QMouseEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQVideoWidget::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg, ::QMouseEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQVideoWidget::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg, ::QMouseEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQVideoWidget::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg, ::QMouseEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQVideoWidget::sipProtectVirt_wheelEvent(bool sipSelfWasArg, ::QWheelEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQVideoWidget::sipProtectVirt_keyPressEvent(bool sipSelfWasArg, ::QKeyEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQVideoWidget::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg, ::QKeyEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQVideoWidget::sipProtectVirt_focusInEvent(bool sipSelfWasArg, ::QFocusEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQVideoWidget::sipProtectVirt_focusOutEvent(bool sipSelfWasArg, ::QFocusEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQVideoWidget::sipProtectVirt_enterEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQVideoWidget::sipProtectVirt_leaveEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQVideoWidget::sipProtectVirt_closeEvent(bool sipSelfWasArg, ::QCloseEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQVideoWidget::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg, ::QContextMenuEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQVideoWidget::sipProtectVirt_tabletEvent(bool sipSelfWasArg, ::QTabletEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQVideoWidget::sipProtectVirt_actionEvent(bool sipSelfWasArg, ::QActionEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQVideoWidget::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg, ::QDragEnterEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQVideoWidget::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg, ::QDragMoveEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQVideoWidget::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg, ::QDragLeaveEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQVideoWidget::sipProtectVirt_dropEvent(bool sipSelfWasArg, ::QDropEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQVideoWidget::sipProtectVirt_changeEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::changeEvent(a0) : changeEvent(a0));
}

int sipQVideoWidget::sipProtectVirt_metric(bool sipSelfWasArg, ::QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ?  ::QWidget::metric(a0) : metric(a0));
}

void sipQVideoWidget::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg, ::QInputMethodEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQVideoWidget::sipProtect_updateMicroFocus()
{
     ::QWidget::updateMicroFocus();
}

void sipQVideoWidget::sipProtect_create( ::WId a0,bool a1,bool a2)
{
     ::QWidget::create(a0,a1,a2);
}

void sipQVideoWidget::sipProtect_destroy(bool a0,bool a1)
{
     ::QWidget::destroy(a0,a1);
}

bool sipQVideoWidget::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ?  ::QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQVideoWidget::sipProtect_focusNextChild()
{
    return  ::QWidget::focusNextChild();
}

bool sipQVideoWidget::sipProtect_focusPreviousChild()
{
    return  ::QWidget::focusPreviousChild();
}

bool sipQVideoWidget::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const  ::QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ?  ::QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

 ::QPainter* sipQVideoWidget::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ?  ::QWidget::sharedPainter() : sharedPainter());
}

void sipQVideoWidget::sipProtectVirt_initPainter(bool sipSelfWasArg, ::QPainter*a0) const
{
    (sipSelfWasArg ?  ::QWidget::initPainter(a0) : initPainter(a0));
}

bool sipQVideoWidget::sipProtectVirt_event(bool sipSelfWasArg, ::QEvent*a0)
{
    return (sipSelfWasArg ?  ::QVideoWidget::event(a0) : event(a0));
}

void sipQVideoWidget::sipProtectVirt_showEvent(bool sipSelfWasArg, ::QShowEvent*a0)
{
    (sipSelfWasArg ?  ::QVideoWidget::showEvent(a0) : showEvent(a0));
}

void sipQVideoWidget::sipProtectVirt_hideEvent(bool sipSelfWasArg, ::QHideEvent*a0)
{
    (sipSelfWasArg ?  ::QVideoWidget::hideEvent(a0) : hideEvent(a0));
}

void sipQVideoWidget::sipProtectVirt_resizeEvent(bool sipSelfWasArg, ::QResizeEvent*a0)
{
    (sipSelfWasArg ?  ::QVideoWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipQVideoWidget::sipProtectVirt_moveEvent(bool sipSelfWasArg, ::QMoveEvent*a0)
{
    (sipSelfWasArg ?  ::QVideoWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQVideoWidget::sipProtectVirt_paintEvent(bool sipSelfWasArg, ::QPaintEvent*a0)
{
    (sipSelfWasArg ?  ::QVideoWidget::paintEvent(a0) : paintEvent(a0));
}

bool sipQVideoWidget::sipProtectVirt_setMediaObject(bool sipSelfWasArg, ::QMediaObject*a0)
{
    return (sipSelfWasArg ?  ::QVideoWidget::setMediaObject(a0) : setMediaObject(a0));
}


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

extern "C" {static PyObject *meth_QVideoWidget_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QVideoWidget, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 8359 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_sender, doc_QVideoWidget_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QVideoWidget_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QVideoWidget, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 8419 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-1.i686/build/py2/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_receivers, doc_QVideoWidget_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QVideoWidget_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVideoWidget, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_timerEvent, doc_QVideoWidget_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QVideoWidget_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVideoWidget, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_childEvent, doc_QVideoWidget_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QVideoWidget_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVideoWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_customEvent, doc_QVideoWidget_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QVideoWidget_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QVideoWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_connectNotify, doc_QVideoWidget_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QVideoWidget_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QVideoWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_disconnectNotify, doc_QVideoWidget_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QVideoWidget_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QVideoWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_senderSignalIndex, doc_QVideoWidget_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QVideoWidget_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QVideoWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_isSignalConnected, doc_QVideoWidget_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_mousePressEvent, "mousePressEvent(self, QMouseEvent)");

extern "C" {static PyObject *meth_QVideoWidget_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
        sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVideoWidget, &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_QVideoWidget, sipName_mousePressEvent, doc_QVideoWidget_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_mouseReleaseEvent, "mouseReleaseEvent(self, QMouseEvent)");

extern "C" {static PyObject *meth_QVideoWidget_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
        sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVideoWidget, &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_QVideoWidget, sipName_mouseReleaseEvent, doc_QVideoWidget_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_mouseDoubleClickEvent, "mouseDoubleClickEvent(self, QMouseEvent)");

extern "C" {static PyObject *meth_QVideoWidget_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
        sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVideoWidget, &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_QVideoWidget, sipName_mouseDoubleClickEvent, doc_QVideoWidget_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_mouseMoveEvent, "mouseMoveEvent(self, QMouseEvent)");

extern "C" {static PyObject *meth_QVideoWidget_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
        sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVideoWidget, &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_QVideoWidget, sipName_mouseMoveEvent, doc_QVideoWidget_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_wheelEvent, "wheelEvent(self, QWheelEvent)");

extern "C" {static PyObject *meth_QVideoWidget_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QWheelEvent* a0;
        sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVideoWidget, &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_QVideoWidget, sipName_wheelEvent, doc_QVideoWidget_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_keyPressEvent, "keyPressEvent(self, QKeyEvent)");

extern "C" {static PyObject *meth_QVideoWidget_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QKeyEvent* a0;
        sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVideoWidget, &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_QVideoWidget, sipName_keyPressEvent, doc_QVideoWidget_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_keyReleaseEvent, "keyReleaseEvent(self, QKeyEvent)");

extern "C" {static PyObject *meth_QVideoWidget_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QKeyEvent* a0;
        sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVideoWidget, &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_QVideoWidget, sipName_keyReleaseEvent, doc_QVideoWidget_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_focusInEvent, "focusInEvent(self, QFocusEvent)");

extern "C" {static PyObject *meth_QVideoWidget_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QFocusEvent* a0;
        sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVideoWidget, &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_QVideoWidget, sipName_focusInEvent, doc_QVideoWidget_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_focusOutEvent, "focusOutEvent(self, QFocusEvent)");

extern "C" {static PyObject *meth_QVideoWidget_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QFocusEvent* a0;
        sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVideoWidget, &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_QVideoWidget, sipName_focusOutEvent, doc_QVideoWidget_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_enterEvent, "enterEvent(self, QEvent)");

extern "C" {static PyObject *meth_QVideoWidget_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVideoWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_enterEvent, doc_QVideoWidget_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_leaveEvent, "leaveEvent(self, QEvent)");

extern "C" {static PyObject *meth_QVideoWidget_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVideoWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_leaveEvent, doc_QVideoWidget_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_closeEvent, "closeEvent(self, QCloseEvent)");

extern "C" {static PyObject *meth_QVideoWidget_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QCloseEvent* a0;
        sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVideoWidget, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_closeEvent, doc_QVideoWidget_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_contextMenuEvent, "contextMenuEvent(self, QContextMenuEvent)");

extern "C" {static PyObject *meth_QVideoWidget_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QContextMenuEvent* a0;
        sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVideoWidget, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_contextMenuEvent, doc_QVideoWidget_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_tabletEvent, "tabletEvent(self, QTabletEvent)");

extern "C" {static PyObject *meth_QVideoWidget_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTabletEvent* a0;
        sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVideoWidget, &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_QVideoWidget, sipName_tabletEvent, doc_QVideoWidget_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_actionEvent, "actionEvent(self, QActionEvent)");

extern "C" {static PyObject *meth_QVideoWidget_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QActionEvent* a0;
        sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVideoWidget, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_actionEvent, doc_QVideoWidget_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_dragEnterEvent, "dragEnterEvent(self, QDragEnterEvent)");

extern "C" {static PyObject *meth_QVideoWidget_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QDragEnterEvent* a0;
        sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVideoWidget, &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_QVideoWidget, sipName_dragEnterEvent, doc_QVideoWidget_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_dragMoveEvent, "dragMoveEvent(self, QDragMoveEvent)");

extern "C" {static PyObject *meth_QVideoWidget_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QDragMoveEvent* a0;
        sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVideoWidget, &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_QVideoWidget, sipName_dragMoveEvent, doc_QVideoWidget_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_dragLeaveEvent, "dragLeaveEvent(self, QDragLeaveEvent)");

extern "C" {static PyObject *meth_QVideoWidget_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QDragLeaveEvent* a0;
        sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVideoWidget, &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_QVideoWidget, sipName_dragLeaveEvent, doc_QVideoWidget_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_dropEvent, "dropEvent(self, QDropEvent)");

extern "C" {static PyObject *meth_QVideoWidget_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QDropEvent* a0;
        sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVideoWidget, &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_QVideoWidget, sipName_dropEvent, doc_QVideoWidget_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_changeEvent, "changeEvent(self, QEvent)");

extern "C" {static PyObject *meth_QVideoWidget_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVideoWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_changeEvent, doc_QVideoWidget_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_metric, "metric(self, QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QVideoWidget_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QPaintDevice::PaintDeviceMetric a0;
        const sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QVideoWidget, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_metric, doc_QVideoWidget_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_inputMethodEvent, "inputMethodEvent(self, QInputMethodEvent)");

extern "C" {static PyObject *meth_QVideoWidget_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QInputMethodEvent* a0;
        sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVideoWidget, &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_QVideoWidget, sipName_inputMethodEvent, doc_QVideoWidget_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_updateMicroFocus, "updateMicroFocus(self)");

extern "C" {static PyObject *meth_QVideoWidget_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QVideoWidget, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_updateMicroFocus, doc_QVideoWidget_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_create, "create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)");

extern "C" {static PyObject *meth_QVideoWidget_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::WId a0def = 0;
         ::WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQVideoWidget *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QVideoWidget, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_create, doc_QVideoWidget_create);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_destroy, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)");

extern "C" {static PyObject *meth_QVideoWidget_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQVideoWidget *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QVideoWidget, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_destroy, doc_QVideoWidget_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_focusNextPrevChild, "focusNextPrevChild(self, bool) -> bool");

extern "C" {static PyObject *meth_QVideoWidget_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QVideoWidget, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_focusNextPrevChild, doc_QVideoWidget_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_focusNextChild, "focusNextChild(self) -> bool");

extern "C" {static PyObject *meth_QVideoWidget_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QVideoWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_focusNextChild, doc_QVideoWidget_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_focusPreviousChild, "focusPreviousChild(self) -> bool");

extern "C" {static PyObject *meth_QVideoWidget_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QVideoWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_focusPreviousChild, doc_QVideoWidget_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_nativeEvent, "nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[bool, int]");

extern "C" {static PyObject *meth_QVideoWidget_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QVideoWidget, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_nativeEvent, doc_QVideoWidget_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_sharedPainter, "sharedPainter(self) -> QPainter");

extern "C" {static PyObject *meth_QVideoWidget_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QVideoWidget, &sipCpp))
        {
             ::QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_sharedPainter, doc_QVideoWidget_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_initPainter, "initPainter(self, QPainter)");

extern "C" {static PyObject *meth_QVideoWidget_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QPainter* a0;
        const sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVideoWidget, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_initPainter, doc_QVideoWidget_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_mediaObject, "mediaObject(self) -> QMediaObject");

extern "C" {static PyObject *meth_QVideoWidget_mediaObject(PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_mediaObject(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QVideoWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVideoWidget, &sipCpp))
        {
             ::QMediaObject*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QVideoWidget::mediaObject() : sipCpp->mediaObject());

            return sipConvertFromType(sipRes,sipType_QMediaObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_mediaObject, doc_QVideoWidget_mediaObject);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_aspectRatioMode, "aspectRatioMode(self) -> Qt.AspectRatioMode");

extern "C" {static PyObject *meth_QVideoWidget_aspectRatioMode(PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_aspectRatioMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVideoWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVideoWidget, &sipCpp))
        {
             ::Qt::AspectRatioMode sipRes;

            sipRes = sipCpp->aspectRatioMode();

            return sipConvertFromEnum(sipRes,sipType_Qt_AspectRatioMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_aspectRatioMode, doc_QVideoWidget_aspectRatioMode);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_brightness, "brightness(self) -> int");

extern "C" {static PyObject *meth_QVideoWidget_brightness(PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_brightness(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVideoWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVideoWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->brightness();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_brightness, doc_QVideoWidget_brightness);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_contrast, "contrast(self) -> int");

extern "C" {static PyObject *meth_QVideoWidget_contrast(PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_contrast(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVideoWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVideoWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->contrast();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_contrast, doc_QVideoWidget_contrast);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_hue, "hue(self) -> int");

extern "C" {static PyObject *meth_QVideoWidget_hue(PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_hue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVideoWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVideoWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->hue();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_hue, doc_QVideoWidget_hue);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_saturation, "saturation(self) -> int");

extern "C" {static PyObject *meth_QVideoWidget_saturation(PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_saturation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVideoWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVideoWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->saturation();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_saturation, doc_QVideoWidget_saturation);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_sizeHint, "sizeHint(self) -> QSize");

extern "C" {static PyObject *meth_QVideoWidget_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QVideoWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVideoWidget, &sipCpp))
        {
             ::QSize*sipRes;

            sipRes = new  ::QSize((sipSelfWasArg ? sipCpp-> ::QVideoWidget::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_sizeHint, doc_QVideoWidget_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_setFullScreen, "setFullScreen(self, bool)");

extern "C" {static PyObject *meth_QVideoWidget_setFullScreen(PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_setFullScreen(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QVideoWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QVideoWidget, &sipCpp, &a0))
        {
            sipCpp->setFullScreen(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_setFullScreen, doc_QVideoWidget_setFullScreen);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_setAspectRatioMode, "setAspectRatioMode(self, Qt.AspectRatioMode)");

extern "C" {static PyObject *meth_QVideoWidget_setAspectRatioMode(PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_setAspectRatioMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::AspectRatioMode a0;
         ::QVideoWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QVideoWidget, &sipCpp, sipType_Qt_AspectRatioMode, &a0))
        {
            sipCpp->setAspectRatioMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_setAspectRatioMode, doc_QVideoWidget_setAspectRatioMode);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_setBrightness, "setBrightness(self, int)");

extern "C" {static PyObject *meth_QVideoWidget_setBrightness(PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_setBrightness(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QVideoWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QVideoWidget, &sipCpp, &a0))
        {
            sipCpp->setBrightness(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_setBrightness, doc_QVideoWidget_setBrightness);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_setContrast, "setContrast(self, int)");

extern "C" {static PyObject *meth_QVideoWidget_setContrast(PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_setContrast(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QVideoWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QVideoWidget, &sipCpp, &a0))
        {
            sipCpp->setContrast(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_setContrast, doc_QVideoWidget_setContrast);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_setHue, "setHue(self, int)");

extern "C" {static PyObject *meth_QVideoWidget_setHue(PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_setHue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QVideoWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QVideoWidget, &sipCpp, &a0))
        {
            sipCpp->setHue(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_setHue, doc_QVideoWidget_setHue);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_setSaturation, "setSaturation(self, int)");

extern "C" {static PyObject *meth_QVideoWidget_setSaturation(PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_setSaturation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QVideoWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QVideoWidget, &sipCpp, &a0))
        {
            sipCpp->setSaturation(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_setSaturation, doc_QVideoWidget_setSaturation);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_event, "event(self, QEvent) -> bool");

extern "C" {static PyObject *meth_QVideoWidget_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVideoWidget, &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_QVideoWidget, sipName_event, doc_QVideoWidget_event);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_showEvent, "showEvent(self, QShowEvent)");

extern "C" {static PyObject *meth_QVideoWidget_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QShowEvent* a0;
        sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVideoWidget, &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_QVideoWidget, sipName_showEvent, doc_QVideoWidget_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_hideEvent, "hideEvent(self, QHideEvent)");

extern "C" {static PyObject *meth_QVideoWidget_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QHideEvent* a0;
        sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVideoWidget, &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_QVideoWidget, sipName_hideEvent, doc_QVideoWidget_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_resizeEvent, "resizeEvent(self, QResizeEvent)");

extern "C" {static PyObject *meth_QVideoWidget_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QResizeEvent* a0;
        sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVideoWidget, &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_QVideoWidget, sipName_resizeEvent, doc_QVideoWidget_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_moveEvent, "moveEvent(self, QMoveEvent)");

extern "C" {static PyObject *meth_QVideoWidget_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMoveEvent* a0;
        sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVideoWidget, &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_QVideoWidget, sipName_moveEvent, doc_QVideoWidget_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_paintEvent, "paintEvent(self, QPaintEvent)");

extern "C" {static PyObject *meth_QVideoWidget_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QPaintEvent* a0;
        sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVideoWidget, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_paintEvent, doc_QVideoWidget_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoWidget_setMediaObject, "setMediaObject(self, QMediaObject) -> bool");

extern "C" {static PyObject *meth_QVideoWidget_setMediaObject(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoWidget_setMediaObject(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMediaObject* a0;
        sipQVideoWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVideoWidget, &sipCpp, sipType_QMediaObject, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_setMediaObject(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoWidget, sipName_setMediaObject, doc_QVideoWidget_setMediaObject);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QVideoWidget(void *, const sipTypeDef *);}
static void *cast_QVideoWidget(void *sipCppV, const sipTypeDef *targetType)
{
     ::QVideoWidget *sipCpp = reinterpret_cast< ::QVideoWidget *>(sipCppV);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    if (targetType == sipType_QMediaBindableInterface)
        return static_cast< ::QMediaBindableInterface *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QVideoWidget(void *, int);}
static void release_QVideoWidget(void *sipCppV, int)
{
     ::QVideoWidget *sipCpp = reinterpret_cast< ::QVideoWidget *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QVideoWidget(sipSimpleWrapper *);}
static void dealloc_QVideoWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQVideoWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QVideoWidget(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QVideoWidget(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QVideoWidget(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQVideoWidget *sipCpp = 0;

    {
         ::QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQVideoWidget(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QVideoWidget[] = {{9, 2, 0}, {0, 4, 1}};


static PyMethodDef methods_QVideoWidget[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QVideoWidget_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_aspectRatioMode), meth_QVideoWidget_aspectRatioMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoWidget_aspectRatioMode)},
    {SIP_MLNAME_CAST(sipName_brightness), meth_QVideoWidget_brightness, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoWidget_brightness)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QVideoWidget_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QVideoWidget_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QVideoWidget_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QVideoWidget_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QVideoWidget_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contrast), meth_QVideoWidget_contrast, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoWidget_contrast)},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QVideoWidget_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QVideoWidget_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QVideoWidget_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QVideoWidget_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QVideoWidget_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QVideoWidget_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QVideoWidget_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QVideoWidget_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QVideoWidget_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QVideoWidget_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QVideoWidget_event)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QVideoWidget_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QVideoWidget_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QVideoWidget_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QVideoWidget_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QVideoWidget_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QVideoWidget_hideEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QVideoWidget_hideEvent)},
    {SIP_MLNAME_CAST(sipName_hue), meth_QVideoWidget_hue, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoWidget_hue)},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QVideoWidget_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QVideoWidget_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QVideoWidget_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QVideoWidget_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QVideoWidget_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QVideoWidget_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mediaObject), meth_QVideoWidget_mediaObject, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoWidget_mediaObject)},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QVideoWidget_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QVideoWidget_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QVideoWidget_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QVideoWidget_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QVideoWidget_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QVideoWidget_moveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QVideoWidget_moveEvent)},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QVideoWidget_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QVideoWidget_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QVideoWidget_paintEvent)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QVideoWidget_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QVideoWidget_resizeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QVideoWidget_resizeEvent)},
    {SIP_MLNAME_CAST(sipName_saturation), meth_QVideoWidget_saturation, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoWidget_saturation)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QVideoWidget_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QVideoWidget_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAspectRatioMode), meth_QVideoWidget_setAspectRatioMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoWidget_setAspectRatioMode)},
    {SIP_MLNAME_CAST(sipName_setBrightness), meth_QVideoWidget_setBrightness, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoWidget_setBrightness)},
    {SIP_MLNAME_CAST(sipName_setContrast), meth_QVideoWidget_setContrast, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoWidget_setContrast)},
    {SIP_MLNAME_CAST(sipName_setFullScreen), meth_QVideoWidget_setFullScreen, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoWidget_setFullScreen)},
    {SIP_MLNAME_CAST(sipName_setHue), meth_QVideoWidget_setHue, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoWidget_setHue)},
    {SIP_MLNAME_CAST(sipName_setMediaObject), (PyCFunction)meth_QVideoWidget_setMediaObject, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QVideoWidget_setMediaObject)},
    {SIP_MLNAME_CAST(sipName_setSaturation), meth_QVideoWidget_setSaturation, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoWidget_setSaturation)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QVideoWidget_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QVideoWidget_showEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QVideoWidget_showEvent)},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QVideoWidget_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoWidget_sizeHint)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QVideoWidget_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QVideoWidget_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QVideoWidget_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QVideoWidget_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QVideoWidget, "\1QVideoWidget(parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QVideoWidget[] = {
    {"saturationChanged(int)", "\1saturationChanged(self, int)", 0, 0},
    {"hueChanged(int)", "\1hueChanged(self, int)", 0, 0},
    {"contrastChanged(int)", "\1contrastChanged(self, int)", 0, 0},
    {"brightnessChanged(int)", "\1brightnessChanged(self, int)", 0, 0},
    {"fullScreenChanged(bool)", "\1fullScreenChanged(self, bool)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QVideoWidget = {
    & ::QVideoWidget::staticMetaObject,
    0,
    signals_QVideoWidget,
    0
};


sipClassTypeDef sipTypeDef_QtMultimediaWidgets_QVideoWidget = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QVideoWidget,
        {0},
        &plugin_QVideoWidget
    },
    {
        sipNameNr_QVideoWidget,
        {0, 0, 1},
        60, methods_QVideoWidget,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QVideoWidget,
    -1,
    -1,
    supers_QVideoWidget,
    0,
    init_type_QVideoWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QVideoWidget,
    0,
    0,
    0,
    release_QVideoWidget,
    cast_QVideoWidget,
    0,
    0,
    0,
    0,
    0,
    0
};
