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

#include "sipAPIQtMultimediaWidgets.h"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 29 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/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,
    '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', 'B', 'r', 'i', 'g', 'h', 't', 'n', 'e', 's', 's', 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', '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,
    'b', 'r', 'i', 'g', 'h', 't', 'n', 'e', 's', 's', 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,
    '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,
    '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,
    'f', 'o', 'r', 'm', 'a', 't', 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,
};


/* 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/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/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 260 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/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/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/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 286 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"

    return sipType;
}


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


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


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


/* This defines this module. */
sipExportedModuleDef sipModuleAPI_QtMultimediaWidgets = {
    0,
    SIP_API_MINOR_NR,
    sipNameNr_PyQt5_QtMultimediaWidgets,
    0,
    -1,
    sipStrings_QtMultimediaWidgets,
    importsTable,
    NULL,
    3,
    typesTable,
    NULL,
    0,
    NULL,
    0,
    NULL,
    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;
const sipExportedModuleDef *sipModuleAPI_QtMultimediaWidgets_QtCore;
const sipExportedModuleDef *sipModuleAPI_QtMultimediaWidgets_QtGui;
const sipExportedModuleDef *sipModuleAPI_QtMultimediaWidgets_QtWidgets;
const sipExportedModuleDef *sipModuleAPI_QtMultimediaWidgets_QtNetwork;
const sipExportedModuleDef *sipModuleAPI_QtMultimediaWidgets_QtMultimedia;

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

    /* Get the APIs of the modules that this one is dependent on. */
    sipModuleAPI_QtMultimediaWidgets_QtCore = sipModuleAPI_QtMultimediaWidgets.em_imports[0].im_module;
    sipModuleAPI_QtMultimediaWidgets_QtGui = sipModuleAPI_QtMultimediaWidgets.em_imports[1].im_module;
    sipModuleAPI_QtMultimediaWidgets_QtWidgets = sipModuleAPI_QtMultimediaWidgets.em_imports[2].im_module;
    sipModuleAPI_QtMultimediaWidgets_QtNetwork = sipModuleAPI_QtMultimediaWidgets.em_imports[3].im_module;
    sipModuleAPI_QtMultimediaWidgets_QtMultimedia = sipModuleAPI_QtMultimediaWidgets.em_imports[4].im_module;

    SIP_MODULE_RETURN(sipModule);
}

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/sip/QtMultimediaWidgets/qgraphicsvideoitem.sip"
#include <qgraphicsvideoitem.h>
#line 493 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"

#line 30 "sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 497 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtMultimedia/qmediaobject.sip"
#include <qmediaobject.h>
#line 500 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 503 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 232 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 506 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 101 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 509 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 512 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 1016 "sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 515 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 32 "sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 518 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 521 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 524 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 527 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 530 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 533 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 536 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 244 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 539 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 542 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 545 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 548 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 551 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 554 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 557 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 560 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 563 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 566 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 569 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 572 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 575 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 578 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 581 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 638 "sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 584 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 587 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 590 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 593 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 596 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 599 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtWidgets/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 602 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 119 "sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 605 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 88 "sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 608 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 345 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 611 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 491 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 614 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 164 "sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 617 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 366 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 620 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 199 "sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 623 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 139 "sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 626 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 330 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 629 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 632 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 635 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 638 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 606 "sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 641 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 644 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/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:
    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 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;
    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;
    void advance(int);
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    bool setMediaObject(QMediaObject*);
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    void timerEvent(QTimerEvent*);
    void paint(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    QRectF boundingRect() const;
    QMediaObject* mediaObject() const;

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

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

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

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

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

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

    typedef void (*sipVH_QtWidgets_117)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneWheelEvent*);

    ((sipVH_QtWidgets_117)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[117]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

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

    return ((sipVH_QtWidgets_125)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[125]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

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

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

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

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

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

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

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

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

    typedef void (*sipVH_QtWidgets_118)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtWidgets_118)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[118]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtWidgets_118)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtWidgets_118)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[118]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtWidgets_118)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtWidgets_118)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[118]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtWidgets_118)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    ((sipVH_QtWidgets_118)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[118]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtMultimediaWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtMultimediaWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef QVariant (*sipVH_QtWidgets_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtWidgets_6)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtWidgets_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtWidgets_7)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtWidgets_104)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtWidgets_104)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[104]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtWidgets_104)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtWidgets_104)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[104]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtWidgets_104)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    ((sipVH_QtWidgets_104)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[104]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtMultimediaWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtMultimediaWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtWidgets_120)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtWidgets_120)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[120]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtWidgets_120)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtWidgets_120)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[120]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtWidgets_120)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtWidgets_120)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[120]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtWidgets_120)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    ((sipVH_QtWidgets_120)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[120]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtWidgets_121)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneContextMenuEvent*);

    ((sipVH_QtWidgets_121)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[121]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

    typedef QPainterPath (*sipVH_QtWidgets_111)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtWidgets_111)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[111]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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

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

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

    typedef bool (*sipVH_QtWidgets_123)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*);

    return ((sipVH_QtWidgets_123)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[123]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], 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[24]),sipPySelf,NULL,sipName_collidesWithPath);

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

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

    return ((sipVH_QtWidgets_126)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[126]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], 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[25]),sipPySelf,NULL,sipName_collidesWithItem);

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

    typedef bool (*sipVH_QtWidgets_127)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*,Qt::ItemSelectionMode);

    return ((sipVH_QtWidgets_127)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[127]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

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

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

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

    typedef bool (*sipVH_QtWidgets_124)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return ((sipVH_QtWidgets_124)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[124]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef QPainterPath (*sipVH_QtWidgets_111)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtWidgets_111)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[111]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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

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

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

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtMultimediaWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    typedef bool (*sipVH_QtMultimedia_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMediaObject*);

    return ((sipVH_QtMultimedia_1)(sipModuleAPI_QtMultimediaWidgets_QtMultimedia->em_virthandlers[1]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef QVariant (*sipVH_QtWidgets_108)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem::GraphicsItemChange,const QVariant&);

    return ((sipVH_QtWidgets_108)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[108]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

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

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

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

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

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

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

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

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

    typedef void (*sipVH_QtWidgets_113)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    ((sipVH_QtWidgets_113)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[113]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

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

    typedef QRectF (*sipVH_QtWidgets_112)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtWidgets_112)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[112]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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

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

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

    typedef QMediaObject* (*sipVH_QtMultimedia_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtMultimedia_2)(sipModuleAPI_QtMultimediaWidgets_QtMultimedia->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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, "QGraphicsVideoItem.contextMenuEvent(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 || sipIsDerived((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, "QGraphicsVideoItem.dragEnterEvent(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 || sipIsDerived((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, "QGraphicsVideoItem.dragLeaveEvent(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 || sipIsDerived((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, "QGraphicsVideoItem.dragMoveEvent(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 || sipIsDerived((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, "QGraphicsVideoItem.dropEvent(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 || sipIsDerived((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, "QGraphicsVideoItem.focusInEvent(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 || sipIsDerived((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, "QGraphicsVideoItem.focusOutEvent(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 || sipIsDerived((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, "QGraphicsVideoItem.hoverEnterEvent(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 || sipIsDerived((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, "QGraphicsVideoItem.hoverLeaveEvent(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 || sipIsDerived((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, "QGraphicsVideoItem.hoverMoveEvent(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 || sipIsDerived((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, "QGraphicsVideoItem.inputMethodEvent(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 || sipIsDerived((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, "QGraphicsVideoItem.inputMethodQuery(Qt.InputMethodQuery) -> QVariant");

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 || sipIsDerived((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, "QGraphicsVideoItem.keyPressEvent(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 || sipIsDerived((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, "QGraphicsVideoItem.keyReleaseEvent(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 || sipIsDerived((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, "QGraphicsVideoItem.mouseDoubleClickEvent(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 || sipIsDerived((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, "QGraphicsVideoItem.mouseMoveEvent(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 || sipIsDerived((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, "QGraphicsVideoItem.mousePressEvent(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 || sipIsDerived((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, "QGraphicsVideoItem.mouseReleaseEvent(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 || sipIsDerived((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, "QGraphicsVideoItem.prepareGeometryChange()");

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

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, "QGraphicsVideoItem.event(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 || sipIsDerived((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, "QGraphicsVideoItem.mediaObject() -> 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 || sipIsDerived((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, "QGraphicsVideoItem.aspectRatioMode() -> 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, "QGraphicsVideoItem.setAspectRatioMode(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, "QGraphicsVideoItem.offset() -> 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, "QGraphicsVideoItem.setOffset(QPointF)");

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, "QGraphicsVideoItem.size() -> 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, "QGraphicsVideoItem.setSize(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, "QGraphicsVideoItem.nativeSize() -> 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, "QGraphicsVideoItem.boundingRect() -> 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 || sipIsDerived((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, "QGraphicsVideoItem.paint(QPainter, QStyleOptionGraphicsItem, QWidget widget=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 || sipIsDerived((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, "QGraphicsVideoItem.timerEvent(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 || sipIsDerived((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, "QGraphicsVideoItem.itemChange(QGraphicsItem.GraphicsItemChange, QVariant) -> QVariant");

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

    if (targetType == sipType_QGraphicsVideoItem)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsObject)->ctd_cast((QGraphicsObject *)(QGraphicsVideoItem *)ptr,targetType)) != NULL)
        return res;

    if ((res = ((const sipClassTypeDef *)sipType_QMediaBindableInterface)->ctd_cast((QMediaBindableInterface *)(QGraphicsVideoItem *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

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


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[] = {{132, 2, 0}, {69, 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}
};


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

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


pyqt5ClassTypeDef sipTypeDef_QtMultimediaWidgets_QGraphicsVideoItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsVideoItem,
        {0}
    },
    {
        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
},
    &QGraphicsVideoItem::staticMetaObject,
    0,
    signals_QGraphicsVideoItem,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/sip/QtMultimediaWidgets/qcameraviewfinder.sip"
#include <qcameraviewfinder.h>
#line 3174 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"

#line 32 "sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 3178 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtMultimedia/qmediaobject.sip"
#include <qmediaobject.h>
#line 3181 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 380 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3184 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 394 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3187 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 407 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3190 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 453 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3193 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 442 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3196 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3199 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3202 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 3205 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 3208 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 3211 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 3214 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 3217 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 3220 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3223 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 3226 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 3229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3232 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 3235 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3238 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 3241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 3244 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 3247 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 3250 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 3253 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 3256 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 3259 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 32 "sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 3262 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 3265 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 3268 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 3271 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 3274 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 491 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3277 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 546 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3280 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 595 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3283 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 568 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3286 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 584 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3289 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 647 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3292 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 287 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3295 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 464 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3298 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 420 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3301 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 366 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3304 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 345 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3307 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3310 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 208 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3313 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 3316 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 3319 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 3322 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 3325 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 3328 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3331 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 3334 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 3337 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 3340 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 3343 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 3346 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 3349 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 244 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3352 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 232 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3355 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 3358 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 3361 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 3364 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 3367 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3370 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 3373 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 3376 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 3379 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/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 disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    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*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    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 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*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    void setVisible(bool);
    int devType() const;
    void paintEvent(QPaintEvent*);
    void moveEvent(QMoveEvent*);
    void resizeEvent(QResizeEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    bool event(QEvent*);
    QSize sizeHint() const;
    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()
{
    sipCommonDtor(sipPySelf);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    typedef void (*sipVH_QtWidgets_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    ((sipVH_QtWidgets_3)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef QPainter* (*sipVH_QtWidgets_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtWidgets_4)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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

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

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

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtMultimediaWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

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

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

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

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

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

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

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

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

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

    return ((sipVH_QtWidgets_5)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef QVariant (*sipVH_QtWidgets_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtWidgets_6)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtWidgets_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtWidgets_7)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtMultimediaWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

    typedef void (*sipVH_QtWidgets_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtWidgets_8)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtWidgets_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtWidgets_9)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtWidgets_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtWidgets_10)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[10]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtWidgets_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtWidgets_11)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtWidgets_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtWidgets_12)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtMultimediaWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtWidgets_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtWidgets_13)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[13]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtWidgets_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtWidgets_14)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[14]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtMultimediaWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtMultimediaWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtMultimediaWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtMultimediaWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtMultimediaWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtMultimediaWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtMultimediaWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtMultimediaWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtMultimediaWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtMultimediaWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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

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

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

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

    return ((sipVH_QtCore_61)(sipModuleAPI_QtMultimediaWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

    typedef void (*sipVH_QtWidgets_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtWidgets_0)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtMultimediaWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtMultimediaWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtMultimediaWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtMultimediaWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtMultimediaWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

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

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

    typedef bool (*sipVH_QtMultimedia_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMediaObject*);

    return ((sipVH_QtMultimedia_1)(sipModuleAPI_QtMultimediaWidgets_QtMultimedia->em_virthandlers[1]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], 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();

    typedef QMediaObject* (*sipVH_QtMultimedia_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtMultimedia_2)(sipModuleAPI_QtMultimediaWidgets_QtMultimedia->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], 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, "QCameraViewfinder.sender() -> 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 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 4635 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/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, "QCameraViewfinder.receivers(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 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 4694 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/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, "QCameraViewfinder.timerEvent(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 || sipIsDerived((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, "QCameraViewfinder.childEvent(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 || sipIsDerived((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, "QCameraViewfinder.customEvent(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 || sipIsDerived((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, "QCameraViewfinder.connectNotify(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 || sipIsDerived((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, "QCameraViewfinder.disconnectNotify(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 || sipIsDerived((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, "QCameraViewfinder.senderSignalIndex() -> 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, "QCameraViewfinder.isSignalConnected(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, "QCameraViewfinder.mousePressEvent(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 || sipIsDerived((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, "QCameraViewfinder.mouseReleaseEvent(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 || sipIsDerived((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, "QCameraViewfinder.mouseDoubleClickEvent(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 || sipIsDerived((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, "QCameraViewfinder.mouseMoveEvent(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 || sipIsDerived((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, "QCameraViewfinder.wheelEvent(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 || sipIsDerived((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, "QCameraViewfinder.keyPressEvent(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 || sipIsDerived((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, "QCameraViewfinder.keyReleaseEvent(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 || sipIsDerived((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, "QCameraViewfinder.focusInEvent(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 || sipIsDerived((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, "QCameraViewfinder.focusOutEvent(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 || sipIsDerived((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, "QCameraViewfinder.enterEvent(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 || sipIsDerived((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, "QCameraViewfinder.leaveEvent(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 || sipIsDerived((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, "QCameraViewfinder.closeEvent(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 || sipIsDerived((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, "QCameraViewfinder.contextMenuEvent(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 || sipIsDerived((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, "QCameraViewfinder.tabletEvent(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 || sipIsDerived((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, "QCameraViewfinder.actionEvent(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 || sipIsDerived((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, "QCameraViewfinder.dragEnterEvent(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 || sipIsDerived((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, "QCameraViewfinder.dragMoveEvent(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 || sipIsDerived((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, "QCameraViewfinder.dragLeaveEvent(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 || sipIsDerived((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, "QCameraViewfinder.dropEvent(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 || sipIsDerived((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, "QCameraViewfinder.changeEvent(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 || sipIsDerived((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, "QCameraViewfinder.metric(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 || sipIsDerived((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, "QCameraViewfinder.inputMethodEvent(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 || sipIsDerived((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, "QCameraViewfinder.updateMicroFocus()");

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, "QCameraViewfinder.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=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, "QCameraViewfinder.destroy(bool destroyWindow=True, bool destroySubWindows=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, "QCameraViewfinder.focusNextPrevChild(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 || sipIsDerived((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, "QCameraViewfinder.focusNextChild() -> 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, "QCameraViewfinder.focusPreviousChild() -> 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, "QCameraViewfinder.nativeEvent(QByteArray, sip.voidptr) -> (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 || sipIsDerived((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, "QCameraViewfinder.sharedPainter() -> 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 || sipIsDerived((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, "QCameraViewfinder.initPainter(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 || sipIsDerived((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, "QCameraViewfinder.event(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 || sipIsDerived((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, "QCameraViewfinder.showEvent(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 || sipIsDerived((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, "QCameraViewfinder.hideEvent(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 || sipIsDerived((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, "QCameraViewfinder.resizeEvent(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 || sipIsDerived((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, "QCameraViewfinder.moveEvent(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 || sipIsDerived((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, "QCameraViewfinder.paintEvent(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 || sipIsDerived((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, "QCameraViewfinder.mediaObject() -> 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 || sipIsDerived((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, "QCameraViewfinder.setMediaObject(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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_QCameraViewfinder(void *, const sipTypeDef *);}
static void *cast_QCameraViewfinder(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QCameraViewfinder)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QVideoWidget)->ctd_cast((QVideoWidget *)(QCameraViewfinder *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

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


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(QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtMultimediaWidgets_QCameraViewfinder = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QCameraViewfinder,
        {0}
    },
    {
        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
},
    &QCameraViewfinder::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/sip/QtMultimediaWidgets/qvideowidget.sip"
#include <qvideowidget.h>
#line 6205 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"

#line 32 "sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 6209 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtMultimedia/qmediaobject.sip"
#include <qmediaobject.h>
#line 6212 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 380 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 6215 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 394 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 6218 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 407 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 6221 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 453 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 6224 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 442 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 6227 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6230 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6233 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 6236 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 6239 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 6242 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 6245 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 6248 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 6251 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6254 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 6257 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 6260 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6263 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 6266 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6269 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 6272 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 6275 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 6278 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 6281 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 6284 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 6287 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 6290 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 32 "sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 6293 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 6296 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 6299 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 6302 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 6305 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 491 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 6308 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 546 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 6311 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 595 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 6314 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 568 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 6317 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 584 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 6320 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 647 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 6323 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 287 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 6326 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 464 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 6329 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 420 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 6332 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 366 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 6335 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 345 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 6338 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 253 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 6341 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 208 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 6344 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 6347 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 6350 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 6353 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 6356 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 6359 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6362 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 6365 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 6368 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 6371 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 6374 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 6377 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 6380 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 244 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6383 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 232 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6386 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 6389 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 6392 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 6395 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 6398 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6401 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 6404 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 6407 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/QtMultimediaWidgets/sipQtMultimediaWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 6410 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.5-1.i686/build/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:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    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*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    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 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*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    void setVisible(bool);
    int devType() const;
    bool setMediaObject(QMediaObject*);
    void paintEvent(QPaintEvent*);
    void moveEvent(QMoveEvent*);
    void resizeEvent(QResizeEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    bool event(QEvent*);
    QSize sizeHint() const;
    QMediaObject* mediaObject() 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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQVideoWidget::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimediaWidgets_qt_metaobject(sipPySelf,sipType_QVideoWidget);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    typedef void (*sipVH_QtWidgets_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    ((sipVH_QtWidgets_3)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef QPainter* (*sipVH_QtWidgets_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtWidgets_4)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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

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

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

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtMultimediaWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

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

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

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

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

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

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

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

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

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

    return ((sipVH_QtWidgets_5)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef QVariant (*sipVH_QtWidgets_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtWidgets_6)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtWidgets_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtWidgets_7)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtMultimediaWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

    typedef void (*sipVH_QtWidgets_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtWidgets_8)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtWidgets_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtWidgets_9)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtWidgets_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtWidgets_10)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[10]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtWidgets_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtWidgets_11)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtWidgets_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtWidgets_12)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtMultimediaWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtWidgets_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtWidgets_13)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[13]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtWidgets_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtWidgets_14)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[14]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtMultimediaWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtMultimediaWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtMultimediaWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtMultimediaWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtMultimediaWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtMultimediaWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtMultimediaWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtMultimediaWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtMultimediaWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtMultimediaWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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

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

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

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

    return ((sipVH_QtCore_61)(sipModuleAPI_QtMultimediaWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

    typedef void (*sipVH_QtWidgets_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtWidgets_0)(sipModuleAPI_QtMultimediaWidgets_QtWidgets->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

    typedef bool (*sipVH_QtMultimedia_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMediaObject*);

    return ((sipVH_QtMultimedia_1)(sipModuleAPI_QtMultimediaWidgets_QtMultimedia->em_virthandlers[1]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtMultimediaWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtMultimediaWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtMultimediaWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtMultimediaWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtMultimediaWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

    typedef QMediaObject* (*sipVH_QtMultimedia_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtMultimedia_2)(sipModuleAPI_QtMultimediaWidgets_QtMultimedia->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtMultimediaWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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

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, "QVideoWidget.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=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, "QVideoWidget.destroy(bool destroyWindow=True, bool destroySubWindows=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, "QVideoWidget.focusNextPrevChild(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 || sipIsDerived((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, "QVideoWidget.focusNextChild() -> 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, "QVideoWidget.focusPreviousChild() -> 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, "QVideoWidget.nativeEvent(QByteArray, sip.voidptr) -> (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 || sipIsDerived((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, "QVideoWidget.sharedPainter() -> 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 || sipIsDerived((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, "QVideoWidget.initPainter(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 || sipIsDerived((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, "QVideoWidget.mediaObject() -> 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 || sipIsDerived((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, "QVideoWidget.aspectRatioMode() -> 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, "QVideoWidget.brightness() -> 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, "QVideoWidget.contrast() -> 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, "QVideoWidget.hue() -> 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, "QVideoWidget.saturation() -> 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, "QVideoWidget.sizeHint() -> 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 || sipIsDerived((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, "QVideoWidget.setFullScreen(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, "QVideoWidget.setAspectRatioMode(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, "QVideoWidget.setBrightness(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, "QVideoWidget.setContrast(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, "QVideoWidget.setHue(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, "QVideoWidget.setSaturation(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, "QVideoWidget.event(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 || sipIsDerived((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, "QVideoWidget.showEvent(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 || sipIsDerived((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, "QVideoWidget.hideEvent(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 || sipIsDerived((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, "QVideoWidget.resizeEvent(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 || sipIsDerived((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, "QVideoWidget.moveEvent(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 || sipIsDerived((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, "QVideoWidget.paintEvent(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 || sipIsDerived((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, "QVideoWidget.setMediaObject(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 || sipIsDerived((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 superclass hierarchy. */
extern "C" {static void *cast_QVideoWidget(void *, const sipTypeDef *);}
static void *cast_QVideoWidget(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QVideoWidget)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(QVideoWidget *)ptr,targetType)) != NULL)
        return res;

    if ((res = ((const sipClassTypeDef *)sipType_QMediaBindableInterface)->ctd_cast((QMediaBindableInterface *)(QVideoWidget *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

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


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[] = {{456, 2, 0}, {69, 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}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QVideoWidget[] = {
    {"saturationChanged(int)", "\1QVideoWidget.saturationChanged[int]", 0, 0},
    {"hueChanged(int)", "\1QVideoWidget.hueChanged[int]", 0, 0},
    {"contrastChanged(int)", "\1QVideoWidget.contrastChanged[int]", 0, 0},
    {"brightnessChanged(int)", "\1QVideoWidget.brightnessChanged[int]", 0, 0},
    {"fullScreenChanged(bool)", "\1QVideoWidget.fullScreenChanged[bool]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QVideoWidget, "\1QVideoWidget(QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtMultimediaWidgets_QVideoWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QVideoWidget,
        {0}
    },
    {
        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
},
    &QVideoWidget::staticMetaObject,
    0,
    signals_QVideoWidget,
    0
};
