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

#include "sipAPIQtMultimedia.h"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 29 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qabstractvideofilter.sip"
#include <qabstractvideofilter.h>
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcamera.sip"
#include <qcamera.h>
#line 35 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcameraexposure.sip"
#include <qcameraexposure.h>
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 52 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcamerafocus.sip"
#include <qcamerafocus.h>
#line 41 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcameraimagecapture.sip"
#include <qcameraimagecapture.h>
#line 44 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qabstractvideobuffer.sip"
#include <qabstractvideobuffer.h>
#line 47 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 50 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qvideoframe.sip"
#include <qvideoframe.h>
#line 53 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qvideosurfaceformat.sip"
#include <qvideosurfaceformat.h>
#line 56 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qabstractvideofilter.sip"
#include <qabstractvideofilter.h>
#line 59 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 62 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 65 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 68 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 71 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qpymultimedia_qlist.sip"
#include <qvideoframe.h>
#line 74 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmultimedia.sip"
#include <qmultimedia.h>
#line 77 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaservice.sip"
#include <qmediaservice.h>
#line 80 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaobject.sip"
#include <qmediaobject.h>
#line 83 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediacontrol.sip"
#include <qmediacontrol.h>
#line 86 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qaudiobuffer.sip"
#include <qaudiobuffer.h>
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qaudiodeviceinfo.sip"
#include <qaudiodeviceinfo.h>
#line 92 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qaudioformat.sip"
#include <qaudioformat.h>
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcamera.sip"
#include <qcamera.h>
#line 98 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcamera.sip"
#include <qcamera.h>
#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcamera.sip"
#include <qcamera.h>
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcamera.sip"
#include <qcamera.h>
#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcameraexposure.sip"
#include <qcameraexposure.h>
#line 109 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 52 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcamerafocus.sip"
#include <qcamerafocus.h>
#line 112 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcameraimagecapture.sip"
#include <qcameraimagecapture.h>
#line 115 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcamerainfo.sip"
#include <qcamerainfo.h>
#line 118 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcameraviewfindersettings.sip"
#include <qcameraviewfindersettings.h>
#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediacontent.sip"
#include <qmediacontent.h>
#line 124 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaencodersettings.sip"
#include <qmediaencodersettings.h>
#line 127 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 57 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaencodersettings.sip"
#include <qmediaencodersettings.h>
#line 130 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaencodersettings.sip"
#include <qmediaencodersettings.h>
#line 133 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 29 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaplayer.sip"
#include <qmediaplayer.h>
#line 136 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaresource.sip"
#include <qmediaresource.h>
#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediatimerange.sip"
#include <qmediatimerange.h>
#line 142 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 47 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediatimerange.sip"
#include <qmediatimerange.h>
#line 145 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

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

void sipVH_QtMultimedia_24(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QMediaControl*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QMediaControl, NULL);
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

void sipVH_QtMultimedia_20(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QObject*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QObject, NULL);
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

 ::QVideoSurfaceFormat sipVH_QtMultimedia_14(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QVideoSurfaceFormat& a0)
{
     ::QVideoSurfaceFormat sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "N", new  ::QVideoSurfaceFormat(a0), sipType_QVideoSurfaceFormat, NULL);

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

    return sipRes;
}

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

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

    return sipRes;
}

 ::QList< ::QVideoFrame::PixelFormat> sipVH_QtMultimedia_12(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QAbstractVideoBuffer::HandleType a0)
{
     ::QList< ::QVideoFrame::PixelFormat> sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "F", a0, sipType_QAbstractVideoBuffer_HandleType);

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

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

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

 ::QVideoFrame sipVH_QtMultimedia_4(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QVideoFrame*a0,const  ::QVideoSurfaceFormat& a1, ::QVideoFilterRunnable::RunFlags a2)
{
     ::QVideoFrame sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "DNN", a0, sipType_QVideoFrame, NULL, new  ::QVideoSurfaceFormat(a1), sipType_QVideoSurfaceFormat, NULL, new  ::QVideoFilterRunnable::RunFlags(a2), sipType_QVideoFilterRunnable_RunFlags, NULL);

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

    return sipRes;
}

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

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

    return sipRes;
}

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

 ::uchar* sipVH_QtMultimedia_1(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QAbstractVideoBuffer::MapMode a0,int*a1,int*a2, int sipResKey)
{
     ::uchar* sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "F", a0, sipType_QAbstractVideoBuffer_MapMode);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "(Bii)", sipResKey, &sipRes, a1, a2);

    return sipRes;
}

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

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

    return sipRes;
}


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

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qabstractvideosurface.sip"
    static struct class_graph {
        const char *name;
        sipTypeDef **type;
        int yes, no;
    } graph[] = {
        {sipName_QSound, &sipType_QSound, -1, 1},
        {sipName_QCameraImageProcessing, &sipType_QCameraImageProcessing, -1, 2},
        {sipName_QVideoProbe, &sipType_QVideoProbe, -1, 3},
        {sipName_QCameraExposure, &sipType_QCameraExposure, -1, 4},
        {sipName_QAudioInput, &sipType_QAudioInput, -1, 5},
    #if QT_VERSION >= 0x050500
        {sipName_QAbstractVideoFilter, &sipType_QAbstractVideoFilter, -1, 6},
    #else
        {0, 0, -1, 6},
    #endif
        {sipName_QMediaObject, &sipType_QMediaObject, 18, 7},
        {sipName_QMediaRecorder, &sipType_QMediaRecorder, 22, 8},
        {sipName_QSoundEffect, &sipType_QSoundEffect, -1, 9},
        {sipName_QCameraImageCapture, &sipType_QCameraImageCapture, -1, 10},
        {sipName_QAbstractVideoSurface, &sipType_QAbstractVideoSurface, -1, 11},
        {sipName_QAudioOutput, &sipType_QAudioOutput, -1, 12},
        {sipName_QCameraFocus, &sipType_QCameraFocus, -1, 13},
        {sipName_QMediaService, &sipType_QMediaService, -1, 14},
        {sipName_QRadioData, &sipType_QRadioData, -1, 15},
        {sipName_QMediaControl, &sipType_QMediaControl, -1, 16},
        {sipName_QMediaPlaylist, &sipType_QMediaPlaylist, -1, 17},
        {sipName_QAudioProbe, &sipType_QAudioProbe, -1, -1},
        {sipName_QRadioTuner, &sipType_QRadioTuner, -1, 19},
        {sipName_QCamera, &sipType_QCamera, -1, 20},
        {sipName_QMediaPlayer, &sipType_QMediaPlayer, -1, 21},
        {sipName_QAudioDecoder, &sipType_QAudioDecoder, -1, -1},
        {sipName_QAudioRecorder, &sipType_QAudioRecorder, -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 1471 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

    return sipType;
}


/* This defines each external type declared in this module, */
static sipExternalTypeDef externalTypesTable[] = {
    {58, "QGraphicsVideoItem"},
    {124, "QVideoWidget"},
    {-1, NULL}
};


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

    {
         ::QCameraImageCapture::CaptureDestination a0;
         ::QCameraImageCapture::CaptureDestinations* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QCameraImageCapture_CaptureDestination, &a0, sipType_QCameraImageCapture_CaptureDestinations, &a1, &a1State))
        {
             ::QCameraImageCapture::CaptureDestinations*sipRes;

            sipRes = new  ::QCameraImageCapture::CaptureDestinations((a0 | *a1));
            sipReleaseType(a1,sipType_QCameraImageCapture_CaptureDestinations,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
         ::QCameraFocus::FocusMode a0;
         ::QCameraFocus::FocusModes* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QCameraFocus_FocusMode, &a0, sipType_QCameraFocus_FocusModes, &a1, &a1State))
        {
             ::QCameraFocus::FocusModes*sipRes;

            sipRes = new  ::QCameraFocus::FocusModes((a0 | *a1));
            sipReleaseType(a1,sipType_QCameraFocus_FocusModes,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
         ::QCameraExposure::FlashMode a0;
         ::QCameraExposure::FlashModes* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QCameraExposure_FlashMode, &a0, sipType_QCameraExposure_FlashModes, &a1, &a1State))
        {
             ::QCameraExposure::FlashModes*sipRes;

            sipRes = new  ::QCameraExposure::FlashModes((a0 | *a1));
            sipReleaseType(a1,sipType_QCameraExposure_FlashModes,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
         ::QCamera::LockType a0;
         ::QCamera::LockTypes* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QCamera_LockType, &a0, sipType_QCamera_LockTypes, &a1, &a1State))
        {
             ::QCamera::LockTypes*sipRes;

            sipRes = new  ::QCamera::LockTypes((a0 | *a1));
            sipReleaseType(a1,sipType_QCamera_LockTypes,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
         ::QVideoFilterRunnable::RunFlag a0;
         ::QVideoFilterRunnable::RunFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QVideoFilterRunnable_RunFlag, &a0, sipType_QVideoFilterRunnable_RunFlags, &a1, &a1State))
        {
             ::QVideoFilterRunnable::RunFlags*sipRes;

            sipRes = new  ::QVideoFilterRunnable::RunFlags((a0 | *a1));
            sipReleaseType(a1,sipType_QVideoFilterRunnable_RunFlags,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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

static sipEnumTypeDef enumTypes[] = {
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QVideoSurfaceFormat__YCbCrColorSpace, {0}, 0}, sipNameNr_YCbCrColorSpace, 121, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QVideoSurfaceFormat__Direction, {0}, 0}, sipNameNr_Direction, 121, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QVideoFrame__PixelFormat, {0}, 0}, sipNameNr_PixelFormat, 117, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QVideoFrame__FieldType, {0}, 0}, sipNameNr_FieldType, 117, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSoundEffect__Status, {0}, 0}, sipNameNr_Status, 110, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSoundEffect__Loop, {0}, 0}, sipNameNr_Loop, 110, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSound__Loop, {0}, 0}, sipNameNr_Loop, 108, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QRadioTuner__SearchMode, {0}, 0}, sipNameNr_SearchMode, 102, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QRadioTuner__StereoMode, {0}, 0}, sipNameNr_StereoMode, 102, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QRadioTuner__Error, {0}, 0}, sipNameNr_Error, 102, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QRadioTuner__Band, {0}, 0}, sipNameNr_Band, 102, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QRadioTuner__State, {0}, 0}, sipNameNr_State, 102, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QRadioData__ProgramType, {0}, 0}, sipNameNr_ProgramType, 99, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QRadioData__Error, {0}, 0}, sipNameNr_Error, 99, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMultimedia__AvailabilityStatus, {0}, 0}, sipNameNr_AvailabilityStatus, 94, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMultimedia__EncodingMode, {0}, 0}, sipNameNr_EncodingMode, 94, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMultimedia__EncodingQuality, {0}, 0}, sipNameNr_EncodingQuality, 94, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMultimedia__SupportEstimate, {0}, 0}, sipNameNr_SupportEstimate, 94, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMediaRecorder__Error, {0}, 0}, sipNameNr_Error, 86, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMediaRecorder__Status, {0}, 0}, sipNameNr_Status, 86, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMediaRecorder__State, {0}, 0}, sipNameNr_State, 86, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMediaPlaylist__Error, {0}, 0}, sipNameNr_Error, 83, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMediaPlaylist__PlaybackMode, {0}, 0}, sipNameNr_PlaybackMode, 83, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMediaPlayer__Error, {0}, 0}, sipNameNr_Error, 77, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMediaPlayer__Flag, {0}, 0}, sipNameNr_Flag, 77, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMediaPlayer__MediaStatus, {0}, 0}, sipNameNr_MediaStatus, 77, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMediaPlayer__State, {0}, 0}, sipNameNr_State, 77, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCameraImageProcessing__ColorFilter, {0}, 0}, sipNameNr_ColorFilter, 53, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCameraImageProcessing__WhiteBalanceMode, {0}, 0}, sipNameNr_WhiteBalanceMode, 53, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCameraImageCapture__CaptureDestination, {0}, 0}, sipNameNr_CaptureDestination, 48, slots_QCameraImageCapture_CaptureDestination},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCameraImageCapture__DriveMode, {0}, 0}, sipNameNr_DriveMode, 48, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCameraImageCapture__Error, {0}, 0}, sipNameNr_Error, 48, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCameraFocus__FocusPointMode, {0}, 0}, sipNameNr_FocusPointMode, 42, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCameraFocus__FocusMode, {0}, 0}, sipNameNr_FocusMode, 42, slots_QCameraFocus_FocusMode},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCameraFocusZone__FocusZoneStatus, {0}, 0}, sipNameNr_FocusZoneStatus, 46, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCameraExposure__MeteringMode, {0}, 0}, sipNameNr_MeteringMode, 37, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCameraExposure__ExposureMode, {0}, 0}, sipNameNr_ExposureMode, 37, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCameraExposure__FlashMode, {0}, 0}, sipNameNr_FlashMode, 37, slots_QCameraExposure_FlashMode},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCamera__Position, {0}, 0}, sipNameNr_Position, 25, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCamera__LockType, {0}, 0}, sipNameNr_LockType, 25, slots_QCamera_LockType},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCamera__LockChangeReason, {0}, 0}, sipNameNr_LockChangeReason, 25, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCamera__LockStatus, {0}, 0}, sipNameNr_LockStatus, 25, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCamera__Error, {0}, 0}, sipNameNr_Error, 25, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCamera__CaptureMode, {0}, 0}, sipNameNr_CaptureMode, 25, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCamera__State, {0}, 0}, sipNameNr_State, 25, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCamera__Status, {0}, 0}, sipNameNr_Status, 25, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAudioFormat__Endian, {0}, 0}, sipNameNr_Endian, 18, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAudioFormat__SampleType, {0}, 0}, sipNameNr_SampleType, 18, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAudioDecoder__Error, {0}, 0}, sipNameNr_Error, 13, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAudioDecoder__State, {0}, 0}, sipNameNr_State, 13, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAudio__VolumeScale, {0}, 0}, sipNameNr_VolumeScale, 6, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAudio__Role, {0}, 0}, sipNameNr_Role, 6, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAudio__Mode, {0}, 0}, sipNameNr_Mode, 6, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAudio__State, {0}, 0}, sipNameNr_State, 6, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAudio__Error, {0}, 0}, sipNameNr_Error, 6, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractVideoSurface__Error, {0}, 0}, sipNameNr_Error, 4, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QVideoFilterRunnable__RunFlag, {0}, 0}, sipNameNr_RunFlag, 114, slots_QVideoFilterRunnable_RunFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractVideoBuffer__MapMode, {0}, 0}, sipNameNr_MapMode, 0, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractVideoBuffer__HandleType, {0}, 0}, sipNameNr_HandleType, 0, NULL},
};


/*
 * This defines each type in this module.
 */
sipTypeDef *sipExportedTypes_QtMultimedia[] = {
    &sipTypeDef_QtMultimedia_QAbstractVideoBuffer.ctd_base,
    &enumTypes[58].etd_base,
    &enumTypes[57].etd_base,
    &sipTypeDef_QtMultimedia_QAbstractVideoFilter.ctd_base,
    &sipTypeDef_QtMultimedia_QAbstractVideoSurface.ctd_base,
    &enumTypes[55].etd_base,
    &sipTypeDef_QtMultimedia_QAudio.ctd_base,
    &enumTypes[54].etd_base,
    &enumTypes[52].etd_base,
    &enumTypes[51].etd_base,
    &enumTypes[53].etd_base,
    &enumTypes[50].etd_base,
    &sipTypeDef_QtMultimedia_QAudioBuffer.ctd_base,
    &sipTypeDef_QtMultimedia_QAudioDecoder.ctd_base,
    &enumTypes[48].etd_base,
    &enumTypes[49].etd_base,
    &sipTypeDef_QtMultimedia_QAudioDeviceInfo.ctd_base,
    &sipTypeDef_QtMultimedia_QAudioEncoderSettings.ctd_base,
    &sipTypeDef_QtMultimedia_QAudioFormat.ctd_base,
    &enumTypes[46].etd_base,
    &enumTypes[47].etd_base,
    &sipTypeDef_QtMultimedia_QAudioInput.ctd_base,
    &sipTypeDef_QtMultimedia_QAudioOutput.ctd_base,
    &sipTypeDef_QtMultimedia_QAudioProbe.ctd_base,
    &sipTypeDef_QtMultimedia_QAudioRecorder.ctd_base,
    &sipTypeDef_QtMultimedia_QCamera.ctd_base,
    &enumTypes[43].etd_base,
    &sipTypeDef_QtMultimedia_QCamera_CaptureModes.ctd_base,
    &enumTypes[42].etd_base,
    &sipTypeDef_QtMultimedia_QCamera_FrameRateRange.ctd_base,
    &enumTypes[40].etd_base,
    &enumTypes[41].etd_base,
    &enumTypes[39].etd_base,
    &sipTypeDef_QtMultimedia_QCamera_LockTypes.ctd_base,
    &enumTypes[38].etd_base,
    &enumTypes[44].etd_base,
    &enumTypes[45].etd_base,
    &sipTypeDef_QtMultimedia_QCameraExposure.ctd_base,
    &enumTypes[36].etd_base,
    &enumTypes[37].etd_base,
    &sipTypeDef_QtMultimedia_QCameraExposure_FlashModes.ctd_base,
    &enumTypes[35].etd_base,
    &sipTypeDef_QtMultimedia_QCameraFocus.ctd_base,
    &enumTypes[33].etd_base,
    &sipTypeDef_QtMultimedia_QCameraFocus_FocusModes.ctd_base,
    &enumTypes[32].etd_base,
    &sipTypeDef_QtMultimedia_QCameraFocusZone.ctd_base,
    &enumTypes[34].etd_base,
    &sipTypeDef_QtMultimedia_QCameraImageCapture.ctd_base,
    &enumTypes[29].etd_base,
    &sipTypeDef_QtMultimedia_QCameraImageCapture_CaptureDestinations.ctd_base,
    &enumTypes[30].etd_base,
    &enumTypes[31].etd_base,
    &sipTypeDef_QtMultimedia_QCameraImageProcessing.ctd_base,
    &enumTypes[27].etd_base,
    &enumTypes[28].etd_base,
    &sipTypeDef_QtMultimedia_QCameraInfo.ctd_base,
    &sipTypeDef_QtMultimedia_QCameraViewfinderSettings.ctd_base,
    0,
    &sipTypeDef_QtMultimedia_QImageEncoderSettings.ctd_base,
    &sipTypeDef_QtMultimedia_QList_0100QAudio_Role.mtd_base,
    &sipTypeDef_QtMultimedia_QList_0100QAudioDeviceInfo.mtd_base,
    &sipTypeDef_QtMultimedia_QList_0100QAudioFormat_Endian.mtd_base,
    &sipTypeDef_QtMultimedia_QList_0100QAudioFormat_SampleType.mtd_base,
    &sipTypeDef_QtMultimedia_QList_0100QCamera_FrameRateRange.mtd_base,
    &sipTypeDef_QtMultimedia_QList_0100QCameraFocusZone.mtd_base,
    &sipTypeDef_QtMultimedia_QList_0100QCameraInfo.mtd_base,
    &sipTypeDef_QtMultimedia_QList_0100QCameraViewfinderSettings.mtd_base,
    &sipTypeDef_QtMultimedia_QList_0100QMediaContent.mtd_base,
    &sipTypeDef_QtMultimedia_QList_0100QMediaResource.mtd_base,
    &sipTypeDef_QtMultimedia_QList_0100QMediaTimeInterval.mtd_base,
    &sipTypeDef_QtMultimedia_QList_0100QVideoFrame_PixelFormat.mtd_base,
    &sipTypeDef_QtMultimedia_QMediaBindableInterface.ctd_base,
    &sipTypeDef_QtMultimedia_QMediaContent.ctd_base,
    &sipTypeDef_QtMultimedia_QMediaControl.ctd_base,
    &sipTypeDef_QtMultimedia_QMediaMetaData.ctd_base,
    &sipTypeDef_QtMultimedia_QMediaObject.ctd_base,
    &sipTypeDef_QtMultimedia_QMediaPlayer.ctd_base,
    &enumTypes[23].etd_base,
    &enumTypes[24].etd_base,
    &sipTypeDef_QtMultimedia_QMediaPlayer_Flags.ctd_base,
    &enumTypes[25].etd_base,
    &enumTypes[26].etd_base,
    &sipTypeDef_QtMultimedia_QMediaPlaylist.ctd_base,
    &enumTypes[21].etd_base,
    &enumTypes[22].etd_base,
    &sipTypeDef_QtMultimedia_QMediaRecorder.ctd_base,
    &enumTypes[18].etd_base,
    &enumTypes[20].etd_base,
    &enumTypes[19].etd_base,
    &sipTypeDef_QtMultimedia_QMediaResource.ctd_base,
    &sipTypeDef_QtMultimedia_QMediaService.ctd_base,
    &sipTypeDef_QtMultimedia_QMediaTimeInterval.ctd_base,
    &sipTypeDef_QtMultimedia_QMediaTimeRange.ctd_base,
    &sipTypeDef_QtMultimedia_QMultimedia.ctd_base,
    &enumTypes[14].etd_base,
    &enumTypes[15].etd_base,
    &enumTypes[16].etd_base,
    &enumTypes[17].etd_base,
    &sipTypeDef_QtMultimedia_QRadioData.ctd_base,
    &enumTypes[13].etd_base,
    &enumTypes[12].etd_base,
    &sipTypeDef_QtMultimedia_QRadioTuner.ctd_base,
    &enumTypes[10].etd_base,
    &enumTypes[9].etd_base,
    &enumTypes[7].etd_base,
    &enumTypes[11].etd_base,
    &enumTypes[8].etd_base,
    &sipTypeDef_QtMultimedia_QSound.ctd_base,
    &enumTypes[6].etd_base,
    &sipTypeDef_QtMultimedia_QSoundEffect.ctd_base,
    &enumTypes[5].etd_base,
    &enumTypes[4].etd_base,
    &sipTypeDef_QtMultimedia_QVideoEncoderSettings.ctd_base,
    &sipTypeDef_QtMultimedia_QVideoFilterRunnable.ctd_base,
    &enumTypes[56].etd_base,
    &sipTypeDef_QtMultimedia_QVideoFilterRunnable_RunFlags.ctd_base,
    &sipTypeDef_QtMultimedia_QVideoFrame.ctd_base,
    &enumTypes[3].etd_base,
    &enumTypes[2].etd_base,
    &sipTypeDef_QtMultimedia_QVideoProbe.ctd_base,
    &sipTypeDef_QtMultimedia_QVideoSurfaceFormat.ctd_base,
    &enumTypes[1].etd_base,
    &enumTypes[0].etd_base,
    0,
};


/*
 * These define each typedef in this module.
 */
static sipTypedefDef typedefsTable[] = {
    {"QCameraFocusZoneList", "QList<QCameraFocusZone>"},
    {"QMediaResourceList", "QList<QMediaResource>"},
};


/* This defines the types that this module needs to import from QtCore. */
sipImportedTypeDef sipImportedTypes_QtMultimedia_QtCore[] = {
    {"QByteArray"},
    {"QChildEvent"},
    {"QEvent"},
    {"QIODevice"},
    {"QList<QByteArray>"},
    {"QList<int>"},
    {"QList<qreal>"},
    {"QMap<QString,QVariant>"},
    {"QMetaMethod"},
    {"QObject"},
    {"QPair<int,int>"},
    {"QPointF"},
    {"QRect"},
    {"QRectF"},
    {"QSize"},
    {"QString"},
    {"QStringList"},
    {"QTimerEvent"},
    {"QUrl"},
    {"QVariant"},
    {NULL}
};


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


/* This defines the types that this module needs to import from QtNetwork. */
sipImportedTypeDef sipImportedTypes_QtMultimedia_QtNetwork[] = {
    {"QList<QNetworkConfiguration>"},
    {"QNetworkConfiguration"},
    {"QNetworkRequest"},
    {NULL}
};


/* This defines the types that this module needs to import from QtGui. */
sipImportedTypeDef sipImportedTypes_QtMultimedia_QtGui[] = {
    {"QImage"},
    {"QImage::Format"},
    {"QList<QSize>"},
    {NULL}
};


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


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


/* This defines this module. */
sipExportedModuleDef sipModuleAPI_QtMultimedia = {
    0,
    SIP_API_MINOR_NR,
    sipNameNr_PyQt5_QtMultimedia,
    0,
    sipStrings_QtMultimedia,
    importsTable,
    NULL,
    125,
    sipExportedTypes_QtMultimedia,
    externalTypesTable,
    0,
    NULL,
    2,
    typedefsTable,
    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_QtMultimedia;

sip_qt_metaobject_func sip_QtMultimedia_qt_metaobject;
sip_qt_metacall_func sip_QtMultimedia_qt_metacall;
sip_qt_metacast_func sip_QtMultimedia_qt_metacast;


/* The Python module initialisation function. */
#if PY_MAJOR_VERSION >= 3
#define SIP_MODULE_ENTRY        PyInit_QtMultimedia
#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        initQtMultimedia
#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.QtMultimedia",
        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_QtMultimedia, sip_methods);
#else
    sipModule = Py_InitModule(const_cast<char *>(sipName_PyQt5_QtMultimedia), 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_QtMultimedia = reinterpret_cast<const sipAPIDef *>(PyCapsule_GetPointer(sip_capiobj, SIP_MODULE_NAME "._C_API"));
#else
    sipAPI_QtMultimedia = reinterpret_cast<const sipAPIDef *>(PyCObject_AsVoidPtr(sip_capiobj));
#endif

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

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

    sip_QtMultimedia_qt_metaobject = (sip_qt_metaobject_func)sipImportSymbol("qtcore_qt_metaobject");
    sip_QtMultimedia_qt_metacall = (sip_qt_metacall_func)sipImportSymbol("qtcore_qt_metacall");
    sip_QtMultimedia_qt_metacast = (sip_qt_metacast_func)sipImportSymbol("qtcore_qt_metacast");

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

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

    SIP_MODULE_RETURN(sipModule);
}

#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 2100 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediatimerange.sip"
#include <qmediatimerange.h>
#line 2104 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


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


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


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


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



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

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

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

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

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

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

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

                return 0;
            }

            break;
        }

        int state;
        QMediaTimeInterval *t = reinterpret_cast<QMediaTimeInterval *>(
                sipForceConvertToType(itm, sipType_QMediaTimeInterval, sipTransferObj,
                        SIP_NOT_NONE, &state, sipIsErr));

        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index %zd has type '%s' but 'QMediaTimeInterval' is expected", i,
                    sipPyTypeName(Py_TYPE(itm)));

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

            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_QMediaTimeInterval, state);
        Py_DECREF(itm);
    }
 
    Py_DECREF(iter);

    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 2213 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
}


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

#line 42 "sip/QtCore/qpycore_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QMediaTimeInterval *t = new QMediaTimeInterval(sipCpp->at(i));
        PyObject *tobj = sipConvertFromNewType(t, sipType_QMediaTimeInterval,
                sipTransferObj);

        if (!tobj)
        {
            delete t;
            Py_DECREF(l);

            return 0;
        }

        PyList_SetItem(l, i, tobj);
    }

    return l;
#line 2246 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtMultimedia_QList_0100QMediaTimeInterval = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_1487,     /* QList<QMediaTimeInterval> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100QMediaTimeInterval,
    array_QList_0100QMediaTimeInterval,
    copy_QList_0100QMediaTimeInterval,
    release_QList_0100QMediaTimeInterval,
    convertTo_QList_0100QMediaTimeInterval,
    convertFrom_QList_0100QMediaTimeInterval
};

#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 2278 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediacontent.sip"
#include <qmediacontent.h>
#line 2282 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


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


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


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


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



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

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

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

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

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

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

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

                return 0;
            }

            break;
        }

        int state;
        QMediaContent *t = reinterpret_cast<QMediaContent *>(
                sipForceConvertToType(itm, sipType_QMediaContent, sipTransferObj,
                        SIP_NOT_NONE, &state, sipIsErr));

        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index %zd has type '%s' but 'QMediaContent' is expected", i,
                    sipPyTypeName(Py_TYPE(itm)));

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

            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_QMediaContent, state);
        Py_DECREF(itm);
    }
 
    Py_DECREF(iter);

    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 2391 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
}


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

#line 42 "sip/QtCore/qpycore_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QMediaContent *t = new QMediaContent(sipCpp->at(i));
        PyObject *tobj = sipConvertFromNewType(t, sipType_QMediaContent,
                sipTransferObj);

        if (!tobj)
        {
            delete t;
            Py_DECREF(l);

            return 0;
        }

        PyList_SetItem(l, i, tobj);
    }

    return l;
#line 2424 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtMultimedia_QList_0100QMediaContent = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_3691,     /* QList<QMediaContent> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100QMediaContent,
    array_QList_0100QMediaContent,
    copy_QList_0100QMediaContent,
    release_QList_0100QMediaContent,
    convertTo_QList_0100QMediaContent,
    convertFrom_QList_0100QMediaContent
};

#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 2456 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcamerainfo.sip"
#include <qcamerainfo.h>
#line 2460 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


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


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


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


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



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

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

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

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

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

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

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

                return 0;
            }

            break;
        }

        int state;
        QCameraInfo *t = reinterpret_cast<QCameraInfo *>(
                sipForceConvertToType(itm, sipType_QCameraInfo, sipTransferObj,
                        SIP_NOT_NONE, &state, sipIsErr));

        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index %zd has type '%s' but 'QCameraInfo' is expected", i,
                    sipPyTypeName(Py_TYPE(itm)));

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

            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_QCameraInfo, state);
        Py_DECREF(itm);
    }
 
    Py_DECREF(iter);

    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 2569 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
}


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

#line 42 "sip/QtCore/qpycore_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QCameraInfo *t = new QCameraInfo(sipCpp->at(i));
        PyObject *tobj = sipConvertFromNewType(t, sipType_QCameraInfo,
                sipTransferObj);

        if (!tobj)
        {
            delete t;
            Py_DECREF(l);

            return 0;
        }

        PyList_SetItem(l, i, tobj);
    }

    return l;
#line 2602 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtMultimedia_QList_0100QCameraInfo = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_5162,     /* QList<QCameraInfo> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100QCameraInfo,
    array_QList_0100QCameraInfo,
    copy_QList_0100QCameraInfo,
    release_QList_0100QCameraInfo,
    convertTo_QList_0100QCameraInfo,
    convertFrom_QList_0100QCameraInfo
};

#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 2634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcamera.sip"
#include <qcamera.h>
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcamera.sip"
#include <qcamera.h>
#line 2640 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


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


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


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


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



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

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

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

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

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

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

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

                return 0;
            }

            break;
        }

        int state;
        QCamera::FrameRateRange *t = reinterpret_cast<QCamera::FrameRateRange *>(
                sipForceConvertToType(itm, sipType_QCamera_FrameRateRange, sipTransferObj,
                        SIP_NOT_NONE, &state, sipIsErr));

        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index %zd has type '%s' but 'QCamera::FrameRateRange' is expected", i,
                    sipPyTypeName(Py_TYPE(itm)));

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

            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_QCamera_FrameRateRange, state);
        Py_DECREF(itm);
    }
 
    Py_DECREF(iter);

    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 2749 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
}


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

#line 42 "sip/QtCore/qpycore_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QCamera::FrameRateRange *t = new QCamera::FrameRateRange(sipCpp->at(i));
        PyObject *tobj = sipConvertFromNewType(t, sipType_QCamera_FrameRateRange,
                sipTransferObj);

        if (!tobj)
        {
            delete t;
            Py_DECREF(l);

            return 0;
        }

        PyList_SetItem(l, i, tobj);
    }

    return l;
#line 2782 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtMultimedia_QList_0100QCamera_FrameRateRange = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_560,     /* QList<QCamera::FrameRateRange> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100QCamera_FrameRateRange,
    array_QList_0100QCamera_FrameRateRange,
    copy_QList_0100QCamera_FrameRateRange,
    release_QList_0100QCamera_FrameRateRange,
    convertTo_QList_0100QCamera_FrameRateRange,
    convertFrom_QList_0100QCamera_FrameRateRange
};

#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 2814 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcameraviewfindersettings.sip"
#include <qcameraviewfindersettings.h>
#line 2818 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


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


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


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


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



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

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

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

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

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

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

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

                return 0;
            }

            break;
        }

        int state;
        QCameraViewfinderSettings *t = reinterpret_cast<QCameraViewfinderSettings *>(
                sipForceConvertToType(itm, sipType_QCameraViewfinderSettings, sipTransferObj,
                        SIP_NOT_NONE, &state, sipIsErr));

        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index %zd has type '%s' but 'QCameraViewfinderSettings' is expected", i,
                    sipPyTypeName(Py_TYPE(itm)));

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

            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_QCameraViewfinderSettings, state);
        Py_DECREF(itm);
    }
 
    Py_DECREF(iter);

    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 2927 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
}


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

#line 42 "sip/QtCore/qpycore_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QCameraViewfinderSettings *t = new QCameraViewfinderSettings(sipCpp->at(i));
        PyObject *tobj = sipConvertFromNewType(t, sipType_QCameraViewfinderSettings,
                sipTransferObj);

        if (!tobj)
        {
            delete t;
            Py_DECREF(l);

            return 0;
        }

        PyList_SetItem(l, i, tobj);
    }

    return l;
#line 2960 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtMultimedia_QList_0100QCameraViewfinderSettings = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_301,     /* QList<QCameraViewfinderSettings> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100QCameraViewfinderSettings,
    array_QList_0100QCameraViewfinderSettings,
    copy_QList_0100QCameraViewfinderSettings,
    release_QList_0100QCameraViewfinderSettings,
    convertTo_QList_0100QCameraViewfinderSettings,
    convertFrom_QList_0100QCameraViewfinderSettings
};

#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 2992 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qaudiodeviceinfo.sip"
#include <qaudiodeviceinfo.h>
#line 2996 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


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


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


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


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



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

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

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

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

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

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

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

                return 0;
            }

            break;
        }

        int state;
        QAudioDeviceInfo *t = reinterpret_cast<QAudioDeviceInfo *>(
                sipForceConvertToType(itm, sipType_QAudioDeviceInfo, sipTransferObj,
                        SIP_NOT_NONE, &state, sipIsErr));

        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index %zd has type '%s' but 'QAudioDeviceInfo' is expected", i,
                    sipPyTypeName(Py_TYPE(itm)));

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

            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_QAudioDeviceInfo, state);
        Py_DECREF(itm);
    }
 
    Py_DECREF(iter);

    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 3105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
}


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

#line 42 "sip/QtCore/qpycore_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QAudioDeviceInfo *t = new QAudioDeviceInfo(sipCpp->at(i));
        PyObject *tobj = sipConvertFromNewType(t, sipType_QAudioDeviceInfo,
                sipTransferObj);

        if (!tobj)
        {
            delete t;
            Py_DECREF(l);

            return 0;
        }

        PyList_SetItem(l, i, tobj);
    }

    return l;
#line 3138 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtMultimedia_QList_0100QAudioDeviceInfo = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_2024,     /* QList<QAudioDeviceInfo> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100QAudioDeviceInfo,
    array_QList_0100QAudioDeviceInfo,
    copy_QList_0100QAudioDeviceInfo,
    release_QList_0100QAudioDeviceInfo,
    convertTo_QList_0100QAudioDeviceInfo,
    convertFrom_QList_0100QAudioDeviceInfo
};

#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 3170 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaresource.sip"
#include <qmediaresource.h>
#line 3174 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


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


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


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


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



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

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

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

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

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

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

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

                return 0;
            }

            break;
        }

        int state;
        QMediaResource *t = reinterpret_cast<QMediaResource *>(
                sipForceConvertToType(itm, sipType_QMediaResource, sipTransferObj,
                        SIP_NOT_NONE, &state, sipIsErr));

        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index %zd has type '%s' but 'QMediaResource' is expected", i,
                    sipPyTypeName(Py_TYPE(itm)));

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

            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_QMediaResource, state);
        Py_DECREF(itm);
    }
 
    Py_DECREF(iter);

    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 3283 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
}


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

#line 42 "sip/QtCore/qpycore_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QMediaResource *t = new QMediaResource(sipCpp->at(i));
        PyObject *tobj = sipConvertFromNewType(t, sipType_QMediaResource,
                sipTransferObj);

        if (!tobj)
        {
            delete t;
            Py_DECREF(l);

            return 0;
        }

        PyList_SetItem(l, i, tobj);
    }

    return l;
#line 3316 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtMultimedia_QList_0100QMediaResource = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_2943,     /* QList<QMediaResource> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100QMediaResource,
    array_QList_0100QMediaResource,
    copy_QList_0100QMediaResource,
    release_QList_0100QMediaResource,
    convertTo_QList_0100QMediaResource,
    convertFrom_QList_0100QMediaResource
};

#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 3348 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcamerafocus.sip"
#include <qcamerafocus.h>
#line 3352 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


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


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


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


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



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

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

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

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

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

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

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

                return 0;
            }

            break;
        }

        int state;
        QCameraFocusZone *t = reinterpret_cast<QCameraFocusZone *>(
                sipForceConvertToType(itm, sipType_QCameraFocusZone, sipTransferObj,
                        SIP_NOT_NONE, &state, sipIsErr));

        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index %zd has type '%s' but 'QCameraFocusZone' is expected", i,
                    sipPyTypeName(Py_TYPE(itm)));

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

            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_QCameraFocusZone, state);
        Py_DECREF(itm);
    }
 
    Py_DECREF(iter);

    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 3461 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
}


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

#line 42 "sip/QtCore/qpycore_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QCameraFocusZone *t = new QCameraFocusZone(sipCpp->at(i));
        PyObject *tobj = sipConvertFromNewType(t, sipType_QCameraFocusZone,
                sipTransferObj);

        if (!tobj)
        {
            delete t;
            Py_DECREF(l);

            return 0;
        }

        PyList_SetItem(l, i, tobj);
    }

    return l;
#line 3494 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtMultimedia_QList_0100QCameraFocusZone = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_2048,     /* QList<QCameraFocusZone> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100QCameraFocusZone,
    array_QList_0100QCameraFocusZone,
    copy_QList_0100QCameraFocusZone,
    release_QList_0100QCameraFocusZone,
    convertTo_QList_0100QCameraFocusZone,
    convertFrom_QList_0100QCameraFocusZone
};

#line 335 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qpymultimedia_qlist.sip"
#include <qaudio.h>
#line 3526 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qaudio.sip"
#include <qaudio.h>
#line 3530 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


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


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


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


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



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

#line 363 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qpymultimedia_qlist.sip"
    PyObject *iter = PyObject_GetIter(sipPy);

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

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

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

    QList<QAudio::Role> *ql = new QList<QAudio::Role>;

    for (Py_ssize_t i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

        if (!sipCanConvertToEnum(itm, sipType_QAudio_Role))
        {
            PyErr_Format(PyExc_TypeError,
                    "index %zd has type '%s' but 'QAudio.Role' is expected",
                    i, sipPyTypeName(Py_TYPE(itm)));

            Py_DECREF(itm);
            delete ql;
            Py_DECREF(iter);
            *sipIsErr = 1;

            return 0;
        }

        ql->append(static_cast<QAudio::Role>(SIPLong_AsLong(itm)));

        Py_DECREF(itm);
    }

    Py_DECREF(iter);

    *sipCppPtr = ql;

    return sipGetState(sipTransferObj);
#line 3634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0100QAudio_Role(void *, PyObject *);}
static PyObject *convertFrom_QList_0100QAudio_Role(void *sipCppV, PyObject *)
{
    ::QList< ::QAudio::Role> *sipCpp = reinterpret_cast< ::QList< ::QAudio::Role> *>(sipCppV);

#line 339 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qpymultimedia_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        PyObject *eobj = sipConvertFromEnum(sipCpp->at(i),
                sipType_QAudio_Role);

        if (!eobj)
        {
            Py_DECREF(l);

            return 0;
        }

        PyList_SetItem(l, i, eobj);
    }

    return l;
#line 3665 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtMultimedia_QList_0100QAudio_Role = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_4342,     /* QList<QAudio::Role> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100QAudio_Role,
    array_QList_0100QAudio_Role,
    copy_QList_0100QAudio_Role,
    release_QList_0100QAudio_Role,
    convertTo_QList_0100QAudio_Role,
    convertFrom_QList_0100QAudio_Role
};

#line 231 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qpymultimedia_qlist.sip"
#include <qaudioformat.h>
#line 3697 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qaudioformat.sip"
#include <qaudioformat.h>
#line 3701 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


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


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


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


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



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

#line 259 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qpymultimedia_qlist.sip"
    PyObject *iter = PyObject_GetIter(sipPy);

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

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

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

    QList<QAudioFormat::SampleType> *ql = new QList<QAudioFormat::SampleType>;

    for (Py_ssize_t i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

        if (!sipCanConvertToEnum(itm, sipType_QAudioFormat_SampleType))
        {
            PyErr_Format(PyExc_TypeError,
                    "index %zd has type '%s' but 'QAudioFormat.SampleType' is expected",
                    i, sipPyTypeName(Py_TYPE(itm)));

            Py_DECREF(itm);
            delete ql;
            Py_DECREF(iter);
            *sipIsErr = 1;

            return 0;
        }

        ql->append(static_cast<QAudioFormat::SampleType>(SIPLong_AsLong(itm)));

        Py_DECREF(itm);
    }

    Py_DECREF(iter);

    *sipCppPtr = ql;

    return sipGetState(sipTransferObj);
#line 3805 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0100QAudioFormat_SampleType(void *, PyObject *);}
static PyObject *convertFrom_QList_0100QAudioFormat_SampleType(void *sipCppV, PyObject *)
{
    ::QList< ::QAudioFormat::SampleType> *sipCpp = reinterpret_cast< ::QList< ::QAudioFormat::SampleType> *>(sipCppV);

#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qpymultimedia_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        PyObject *eobj = sipConvertFromEnum(sipCpp->at(i),
                sipType_QAudioFormat_SampleType);

        if (!eobj)
        {
            Py_DECREF(l);

            return 0;
        }

        PyList_SetItem(l, i, eobj);
    }

    return l;
#line 3836 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtMultimedia_QList_0100QAudioFormat_SampleType = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_400,     /* QList<QAudioFormat::SampleType> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100QAudioFormat_SampleType,
    array_QList_0100QAudioFormat_SampleType,
    copy_QList_0100QAudioFormat_SampleType,
    release_QList_0100QAudioFormat_SampleType,
    convertTo_QList_0100QAudioFormat_SampleType,
    convertFrom_QList_0100QAudioFormat_SampleType
};

#line 129 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qpymultimedia_qlist.sip"
#include <qaudioformat.h>
#line 3868 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qaudioformat.sip"
#include <qaudioformat.h>
#line 3872 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


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


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


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


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



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

#line 157 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qpymultimedia_qlist.sip"
    PyObject *iter = PyObject_GetIter(sipPy);

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

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

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

    QList<QAudioFormat::Endian> *ql = new QList<QAudioFormat::Endian>;

    for (Py_ssize_t i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

        if (!sipCanConvertToEnum(itm, sipType_QAudioFormat_Endian))
        {
            PyErr_Format(PyExc_TypeError,
                    "index %zd has type '%s' but 'QAudioFormat.Endian' is expected",
                    i, sipPyTypeName(Py_TYPE(itm)));

            Py_DECREF(itm);
            delete ql;
            Py_DECREF(iter);
            *sipIsErr = 1;

            return 0;
        }

        ql->append(static_cast<QAudioFormat::Endian>(SIPLong_AsLong(itm)));

        Py_DECREF(itm);
    }

    Py_DECREF(iter);

    *sipCppPtr = ql;

    return sipGetState(sipTransferObj);
#line 3976 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0100QAudioFormat_Endian(void *, PyObject *);}
static PyObject *convertFrom_QList_0100QAudioFormat_Endian(void *sipCppV, PyObject *)
{
    ::QList< ::QAudioFormat::Endian> *sipCpp = reinterpret_cast< ::QList< ::QAudioFormat::Endian> *>(sipCppV);

#line 133 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qpymultimedia_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        PyObject *eobj = sipConvertFromEnum(sipCpp->at(i),
                sipType_QAudioFormat_Endian);

        if (!eobj)
        {
            Py_DECREF(l);

            return 0;
        }

        PyList_SetItem(l, i, eobj);
    }

    return l;
#line 4007 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtMultimedia_QList_0100QAudioFormat_Endian = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_1099,     /* QList<QAudioFormat::Endian> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100QAudioFormat_Endian,
    array_QList_0100QAudioFormat_Endian,
    copy_QList_0100QAudioFormat_Endian,
    release_QList_0100QAudioFormat_Endian,
    convertTo_QList_0100QAudioFormat_Endian,
    convertFrom_QList_0100QAudioFormat_Endian
};

#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qpymultimedia_qlist.sip"
#include <qvideoframe.h>
#line 4039 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qvideoframe.sip"
#include <qvideoframe.h>
#line 4043 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


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


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


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


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



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

#line 55 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qpymultimedia_qlist.sip"
    PyObject *iter = PyObject_GetIter(sipPy);

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

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

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

    QList<QVideoFrame::PixelFormat> *ql = new QList<QVideoFrame::PixelFormat>;

    for (Py_ssize_t i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

        if (!sipCanConvertToEnum(itm, sipType_QVideoFrame_PixelFormat))
        {
            PyErr_Format(PyExc_TypeError,
                    "index %zd has type '%s' but 'QVideoFrame.PixelFormat' is expected",
                    i, sipPyTypeName(Py_TYPE(itm)));

            Py_DECREF(itm);
            delete ql;
            Py_DECREF(iter);
            *sipIsErr = 1;

            return 0;
        }

        ql->append(static_cast<QVideoFrame::PixelFormat>(SIPLong_AsLong(itm)));

        Py_DECREF(itm);
    }

    Py_DECREF(iter);

    *sipCppPtr = ql;

    return sipGetState(sipTransferObj);
#line 4147 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0100QVideoFrame_PixelFormat(void *, PyObject *);}
static PyObject *convertFrom_QList_0100QVideoFrame_PixelFormat(void *sipCppV, PyObject *)
{
    ::QList< ::QVideoFrame::PixelFormat> *sipCpp = reinterpret_cast< ::QList< ::QVideoFrame::PixelFormat> *>(sipCppV);

#line 31 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qpymultimedia_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        PyObject *eobj = sipConvertFromEnum(sipCpp->at(i),
                sipType_QVideoFrame_PixelFormat);

        if (!eobj)
        {
            Py_DECREF(l);

            return 0;
        }

        PyList_SetItem(l, i, eobj);
    }

    return l;
#line 4178 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtMultimedia_QList_0100QVideoFrame_PixelFormat = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_432,     /* QList<QVideoFrame::PixelFormat> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100QVideoFrame_PixelFormat,
    array_QList_0100QVideoFrame_PixelFormat,
    copy_QList_0100QVideoFrame_PixelFormat,
    release_QList_0100QVideoFrame_PixelFormat,
    convertTo_QList_0100QVideoFrame_PixelFormat,
    convertFrom_QList_0100QVideoFrame_PixelFormat
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qvideosurfaceformat.sip"
#include <qvideosurfaceformat.h>
#line 4210 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 4214 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qvideoframe.sip"
#include <qvideoframe.h>
#line 4217 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qabstractvideobuffer.sip"
#include <qabstractvideobuffer.h>
#line 4220 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4223 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 4226 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 4229 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 4232 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


PyDoc_STRVAR(doc_QVideoSurfaceFormat_isValid, "isValid(self) -> bool");

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

    {
        const  ::QVideoSurfaceFormat *sipCpp;

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

            sipRes = sipCpp->isValid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoSurfaceFormat, sipName_isValid, doc_QVideoSurfaceFormat_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoSurfaceFormat_pixelFormat, "pixelFormat(self) -> QVideoFrame.PixelFormat");

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

    {
        const  ::QVideoSurfaceFormat *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVideoSurfaceFormat, &sipCpp))
        {
             ::QVideoFrame::PixelFormat sipRes;

            sipRes = sipCpp->pixelFormat();

            return sipConvertFromEnum(sipRes,sipType_QVideoFrame_PixelFormat);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoSurfaceFormat, sipName_pixelFormat, doc_QVideoSurfaceFormat_pixelFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoSurfaceFormat_handleType, "handleType(self) -> QAbstractVideoBuffer.HandleType");

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

    {
        const  ::QVideoSurfaceFormat *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVideoSurfaceFormat, &sipCpp))
        {
             ::QAbstractVideoBuffer::HandleType sipRes;

            sipRes = sipCpp->handleType();

            return sipConvertFromEnum(sipRes,sipType_QAbstractVideoBuffer_HandleType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoSurfaceFormat, sipName_handleType, doc_QVideoSurfaceFormat_handleType);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoSurfaceFormat_frameSize, "frameSize(self) -> QSize");

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

    {
        const  ::QVideoSurfaceFormat *sipCpp;

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

            sipRes = new  ::QSize(sipCpp->frameSize());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoSurfaceFormat, sipName_frameSize, doc_QVideoSurfaceFormat_frameSize);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoSurfaceFormat_setFrameSize, "setFrameSize(self, QSize)\n"
    "setFrameSize(self, int, int)");

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

    {
        const  ::QSize* a0;
         ::QVideoSurfaceFormat *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QVideoSurfaceFormat, &sipCpp, sipType_QSize, &a0))
        {
            sipCpp->setFrameSize(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QVideoSurfaceFormat, &sipCpp, &a0, &a1))
        {
            sipCpp->setFrameSize(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoSurfaceFormat, sipName_setFrameSize, doc_QVideoSurfaceFormat_setFrameSize);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoSurfaceFormat_frameWidth, "frameWidth(self) -> int");

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

    {
        const  ::QVideoSurfaceFormat *sipCpp;

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

            sipRes = sipCpp->frameWidth();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoSurfaceFormat, sipName_frameWidth, doc_QVideoSurfaceFormat_frameWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoSurfaceFormat_frameHeight, "frameHeight(self) -> int");

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

    {
        const  ::QVideoSurfaceFormat *sipCpp;

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

            sipRes = sipCpp->frameHeight();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoSurfaceFormat, sipName_frameHeight, doc_QVideoSurfaceFormat_frameHeight);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoSurfaceFormat_viewport, "viewport(self) -> QRect");

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

    {
        const  ::QVideoSurfaceFormat *sipCpp;

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

            sipRes = new  ::QRect(sipCpp->viewport());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoSurfaceFormat, sipName_viewport, doc_QVideoSurfaceFormat_viewport);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoSurfaceFormat_setViewport, "setViewport(self, QRect)");

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

    {
        const  ::QRect* a0;
         ::QVideoSurfaceFormat *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QVideoSurfaceFormat, &sipCpp, sipType_QRect, &a0))
        {
            sipCpp->setViewport(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoSurfaceFormat, sipName_setViewport, doc_QVideoSurfaceFormat_setViewport);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoSurfaceFormat_scanLineDirection, "scanLineDirection(self) -> QVideoSurfaceFormat.Direction");

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

    {
        const  ::QVideoSurfaceFormat *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVideoSurfaceFormat, &sipCpp))
        {
             ::QVideoSurfaceFormat::Direction sipRes;

            sipRes = sipCpp->scanLineDirection();

            return sipConvertFromEnum(sipRes,sipType_QVideoSurfaceFormat_Direction);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoSurfaceFormat, sipName_scanLineDirection, doc_QVideoSurfaceFormat_scanLineDirection);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoSurfaceFormat_setScanLineDirection, "setScanLineDirection(self, QVideoSurfaceFormat.Direction)");

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

    {
         ::QVideoSurfaceFormat::Direction a0;
         ::QVideoSurfaceFormat *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QVideoSurfaceFormat, &sipCpp, sipType_QVideoSurfaceFormat_Direction, &a0))
        {
            sipCpp->setScanLineDirection(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoSurfaceFormat, sipName_setScanLineDirection, doc_QVideoSurfaceFormat_setScanLineDirection);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoSurfaceFormat_frameRate, "frameRate(self) -> float");

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

    {
        const  ::QVideoSurfaceFormat *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVideoSurfaceFormat, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->frameRate();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoSurfaceFormat, sipName_frameRate, doc_QVideoSurfaceFormat_frameRate);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoSurfaceFormat_setFrameRate, "setFrameRate(self, float)");

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

    {
         ::qreal a0;
         ::QVideoSurfaceFormat *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QVideoSurfaceFormat, &sipCpp, &a0))
        {
            sipCpp->setFrameRate(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoSurfaceFormat, sipName_setFrameRate, doc_QVideoSurfaceFormat_setFrameRate);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoSurfaceFormat_pixelAspectRatio, "pixelAspectRatio(self) -> QSize");

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

    {
        const  ::QVideoSurfaceFormat *sipCpp;

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

            sipRes = new  ::QSize(sipCpp->pixelAspectRatio());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoSurfaceFormat, sipName_pixelAspectRatio, doc_QVideoSurfaceFormat_pixelAspectRatio);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoSurfaceFormat_setPixelAspectRatio, "setPixelAspectRatio(self, QSize)\n"
    "setPixelAspectRatio(self, int, int)");

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

    {
        const  ::QSize* a0;
         ::QVideoSurfaceFormat *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QVideoSurfaceFormat, &sipCpp, sipType_QSize, &a0))
        {
            sipCpp->setPixelAspectRatio(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QVideoSurfaceFormat, &sipCpp, &a0, &a1))
        {
            sipCpp->setPixelAspectRatio(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoSurfaceFormat, sipName_setPixelAspectRatio, doc_QVideoSurfaceFormat_setPixelAspectRatio);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoSurfaceFormat_yCbCrColorSpace, "yCbCrColorSpace(self) -> QVideoSurfaceFormat.YCbCrColorSpace");

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

    {
        const  ::QVideoSurfaceFormat *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVideoSurfaceFormat, &sipCpp))
        {
             ::QVideoSurfaceFormat::YCbCrColorSpace sipRes;

            sipRes = sipCpp->yCbCrColorSpace();

            return sipConvertFromEnum(sipRes,sipType_QVideoSurfaceFormat_YCbCrColorSpace);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoSurfaceFormat, sipName_yCbCrColorSpace, doc_QVideoSurfaceFormat_yCbCrColorSpace);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoSurfaceFormat_setYCbCrColorSpace, "setYCbCrColorSpace(self, QVideoSurfaceFormat.YCbCrColorSpace)");

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

    {
         ::QVideoSurfaceFormat::YCbCrColorSpace a0;
         ::QVideoSurfaceFormat *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QVideoSurfaceFormat, &sipCpp, sipType_QVideoSurfaceFormat_YCbCrColorSpace, &a0))
        {
            sipCpp->setYCbCrColorSpace(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoSurfaceFormat, sipName_setYCbCrColorSpace, doc_QVideoSurfaceFormat_setYCbCrColorSpace);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoSurfaceFormat_sizeHint, "sizeHint(self) -> QSize");

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

    {
        const  ::QVideoSurfaceFormat *sipCpp;

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

            sipRes = new  ::QSize(sipCpp->sizeHint());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoSurfaceFormat, sipName_sizeHint, doc_QVideoSurfaceFormat_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoSurfaceFormat_propertyNames, "propertyNames(self) -> List[QByteArray]");

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

    {
        const  ::QVideoSurfaceFormat *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVideoSurfaceFormat, &sipCpp))
        {
            QList< ::QByteArray>*sipRes;

            sipRes = new QList< ::QByteArray>(sipCpp->propertyNames());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoSurfaceFormat, sipName_propertyNames, doc_QVideoSurfaceFormat_propertyNames);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoSurfaceFormat_property, "property(self, str) -> Any");

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

    {
        const char* a0;
        const  ::QVideoSurfaceFormat *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bs", &sipSelf, sipType_QVideoSurfaceFormat, &sipCpp, &a0))
        {
             ::QVariant*sipRes;

            sipRes = new  ::QVariant(sipCpp->property(a0));

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoSurfaceFormat, sipName_property, doc_QVideoSurfaceFormat_property);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoSurfaceFormat_setProperty, "setProperty(self, str, Any)");

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

    {
        const char* a0;
        const  ::QVariant* a1;
        int a1State = 0;
         ::QVideoSurfaceFormat *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BsJ1", &sipSelf, sipType_QVideoSurfaceFormat, &sipCpp, &a0, sipType_QVariant, &a1, &a1State))
        {
            sipCpp->setProperty(a0,*a1);
            sipReleaseType(const_cast< ::QVariant *>(a1),sipType_QVariant,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoSurfaceFormat, sipName_setProperty, doc_QVideoSurfaceFormat_setProperty);

    return NULL;
}


extern "C" {static PyObject *slot_QVideoSurfaceFormat___ne__(PyObject *,PyObject *);}
static PyObject *slot_QVideoSurfaceFormat___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QVideoSurfaceFormat *sipCpp = reinterpret_cast< ::QVideoSurfaceFormat *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QVideoSurfaceFormat));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QVideoSurfaceFormat* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QVideoSurfaceFormat, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QVideoSurfaceFormat::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, ne_slot, sipType_QVideoSurfaceFormat, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QVideoSurfaceFormat___eq__(PyObject *,PyObject *);}
static PyObject *slot_QVideoSurfaceFormat___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QVideoSurfaceFormat *sipCpp = reinterpret_cast< ::QVideoSurfaceFormat *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QVideoSurfaceFormat));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QVideoSurfaceFormat* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QVideoSurfaceFormat, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QVideoSurfaceFormat::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, eq_slot, sipType_QVideoSurfaceFormat, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QVideoSurfaceFormat(void *, int);}
static void release_QVideoSurfaceFormat(void *sipCppV, int)
{
    delete reinterpret_cast< ::QVideoSurfaceFormat *>(sipCppV);
}


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


extern "C" {static void *array_QVideoSurfaceFormat(SIP_SSIZE_T);}
static void *array_QVideoSurfaceFormat(SIP_SSIZE_T sipNrElem)
{
    return new  ::QVideoSurfaceFormat[sipNrElem];
}


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


extern "C" {static void dealloc_QVideoSurfaceFormat(sipSimpleWrapper *);}
static void dealloc_QVideoSurfaceFormat(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QVideoSurfaceFormat(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QVideoSurfaceFormat(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QVideoSurfaceFormat(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QVideoSurfaceFormat *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        const  ::QSize* a0;
         ::QVideoFrame::PixelFormat a1;
         ::QAbstractVideoBuffer::HandleType a2 = QAbstractVideoBuffer::NoHandle;

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

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J9E|E", sipType_QSize, &a0, sipType_QVideoFrame_PixelFormat, &a1, sipType_QAbstractVideoBuffer_HandleType, &a2))
        {
            sipCpp = new  ::QVideoSurfaceFormat(*a0,a1,a2);

            return sipCpp;
        }
    }

    {
        const  ::QVideoSurfaceFormat* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QVideoSurfaceFormat, &a0))
        {
            sipCpp = new  ::QVideoSurfaceFormat(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QVideoSurfaceFormat[] = {
    {(void *)slot_QVideoSurfaceFormat___ne__, ne_slot},
    {(void *)slot_QVideoSurfaceFormat___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QVideoSurfaceFormat[] = {
    {SIP_MLNAME_CAST(sipName_frameHeight), meth_QVideoSurfaceFormat_frameHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoSurfaceFormat_frameHeight)},
    {SIP_MLNAME_CAST(sipName_frameRate), meth_QVideoSurfaceFormat_frameRate, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoSurfaceFormat_frameRate)},
    {SIP_MLNAME_CAST(sipName_frameSize), meth_QVideoSurfaceFormat_frameSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoSurfaceFormat_frameSize)},
    {SIP_MLNAME_CAST(sipName_frameWidth), meth_QVideoSurfaceFormat_frameWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoSurfaceFormat_frameWidth)},
    {SIP_MLNAME_CAST(sipName_handleType), meth_QVideoSurfaceFormat_handleType, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoSurfaceFormat_handleType)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QVideoSurfaceFormat_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoSurfaceFormat_isValid)},
    {SIP_MLNAME_CAST(sipName_pixelAspectRatio), meth_QVideoSurfaceFormat_pixelAspectRatio, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoSurfaceFormat_pixelAspectRatio)},
    {SIP_MLNAME_CAST(sipName_pixelFormat), meth_QVideoSurfaceFormat_pixelFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoSurfaceFormat_pixelFormat)},
    {SIP_MLNAME_CAST(sipName_property), meth_QVideoSurfaceFormat_property, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoSurfaceFormat_property)},
    {SIP_MLNAME_CAST(sipName_propertyNames), meth_QVideoSurfaceFormat_propertyNames, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoSurfaceFormat_propertyNames)},
    {SIP_MLNAME_CAST(sipName_scanLineDirection), meth_QVideoSurfaceFormat_scanLineDirection, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoSurfaceFormat_scanLineDirection)},
    {SIP_MLNAME_CAST(sipName_setFrameRate), meth_QVideoSurfaceFormat_setFrameRate, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoSurfaceFormat_setFrameRate)},
    {SIP_MLNAME_CAST(sipName_setFrameSize), meth_QVideoSurfaceFormat_setFrameSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoSurfaceFormat_setFrameSize)},
    {SIP_MLNAME_CAST(sipName_setPixelAspectRatio), meth_QVideoSurfaceFormat_setPixelAspectRatio, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoSurfaceFormat_setPixelAspectRatio)},
    {SIP_MLNAME_CAST(sipName_setProperty), meth_QVideoSurfaceFormat_setProperty, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoSurfaceFormat_setProperty)},
    {SIP_MLNAME_CAST(sipName_setScanLineDirection), meth_QVideoSurfaceFormat_setScanLineDirection, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoSurfaceFormat_setScanLineDirection)},
    {SIP_MLNAME_CAST(sipName_setViewport), meth_QVideoSurfaceFormat_setViewport, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoSurfaceFormat_setViewport)},
    {SIP_MLNAME_CAST(sipName_setYCbCrColorSpace), meth_QVideoSurfaceFormat_setYCbCrColorSpace, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoSurfaceFormat_setYCbCrColorSpace)},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QVideoSurfaceFormat_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoSurfaceFormat_sizeHint)},
    {SIP_MLNAME_CAST(sipName_viewport), meth_QVideoSurfaceFormat_viewport, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoSurfaceFormat_viewport)},
    {SIP_MLNAME_CAST(sipName_yCbCrColorSpace), meth_QVideoSurfaceFormat_yCbCrColorSpace, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoSurfaceFormat_yCbCrColorSpace)}
};

static sipEnumMemberDef enummembers_QVideoSurfaceFormat[] = {
    {sipName_BottomToTop, static_cast<int>( ::QVideoSurfaceFormat::BottomToTop), 122},
    {sipName_TopToBottom, static_cast<int>( ::QVideoSurfaceFormat::TopToBottom), 122},
    {sipName_YCbCr_BT601, static_cast<int>( ::QVideoSurfaceFormat::YCbCr_BT601), 123},
    {sipName_YCbCr_BT709, static_cast<int>( ::QVideoSurfaceFormat::YCbCr_BT709), 123},
    {sipName_YCbCr_JPEG, static_cast<int>( ::QVideoSurfaceFormat::YCbCr_JPEG), 123},
    {sipName_YCbCr_Undefined, static_cast<int>( ::QVideoSurfaceFormat::YCbCr_Undefined), 123},
    {sipName_YCbCr_xvYCC601, static_cast<int>( ::QVideoSurfaceFormat::YCbCr_xvYCC601), 123},
    {sipName_YCbCr_xvYCC709, static_cast<int>( ::QVideoSurfaceFormat::YCbCr_xvYCC709), 123},
};

PyDoc_STRVAR(doc_QVideoSurfaceFormat, "\1QVideoSurfaceFormat()\n"
    "QVideoSurfaceFormat(QSize, QVideoFrame.PixelFormat, type: QAbstractVideoBuffer.HandleType = QAbstractVideoBuffer.NoHandle)\n"
    "QVideoSurfaceFormat(QVideoSurfaceFormat)");


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


sipClassTypeDef sipTypeDef_QtMultimedia_QVideoSurfaceFormat = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QVideoSurfaceFormat,
        {0},
        &plugin_QVideoSurfaceFormat
    },
    {
        sipNameNr_QVideoSurfaceFormat,
        {0, 0, 1},
        21, methods_QVideoSurfaceFormat,
        8, enummembers_QVideoSurfaceFormat,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QVideoSurfaceFormat,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QVideoSurfaceFormat,
    init_type_QVideoSurfaceFormat,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QVideoSurfaceFormat,
    assign_QVideoSurfaceFormat,
    array_QVideoSurfaceFormat,
    copy_QVideoSurfaceFormat,
    release_QVideoSurfaceFormat,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qvideoprobe.sip"
#include <qvideoprobe.h>
#line 5118 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 5122 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qvideoframe.sip"
#include <qvideoframe.h>
#line 5125 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaobject.sip"
#include <qmediaobject.h>
#line 5128 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediarecorder.sip"
#include <qmediarecorder.h>
#line 5131 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 5134 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5137 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5140 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5143 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 5146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 5149 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 5152 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 5155 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 5158 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5161 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 5164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5167 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 5170 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 5173 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 5176 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


class sipQVideoProbe : public  ::QVideoProbe
{
public:
    sipQVideoProbe( ::QObject*);
    virtual ~sipQVideoProbe();

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

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[7];
};

sipQVideoProbe::sipQVideoProbe( ::QObject*a0):  ::QVideoProbe(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipQVideoProbe::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf,sipType_QVideoProbe);

    return  ::QVideoProbe::metaObject();
}

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

    if (_id >= 0)
        _id = sip_QtMultimedia_qt_metacall(sipPySelf,sipType_QVideoProbe,_c,_id,_a);

    return _id;
}

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

    return (sip_QtMultimedia_qt_metacast(sipPySelf, sipType_QVideoProbe, _clname, &sipCpp) ? sipCpp :  ::QVideoProbe::qt_metacast(_clname));
}

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

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

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

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

    return sipVH_QtMultimedia_10(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    sipVH_QtMultimedia_8(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimedia_7(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimedia_6(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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


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

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

    {
        const sipQVideoProbe *sipCpp;

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

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

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

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

    return NULL;
}


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

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

    {
        PyObject * a0;
        const sipQVideoProbe *sipCpp;

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

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

    return NULL;
}


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

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

    {
         ::QTimerEvent* a0;
        sipQVideoProbe *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVideoProbe, &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_QVideoProbe, sipName_timerEvent, doc_QVideoProbe_timerEvent);

    return NULL;
}


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

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

    {
         ::QChildEvent* a0;
        sipQVideoProbe *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVideoProbe, &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_QVideoProbe, sipName_childEvent, doc_QVideoProbe_childEvent);

    return NULL;
}


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

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

    {
         ::QEvent* a0;
        sipQVideoProbe *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVideoProbe, &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_QVideoProbe, sipName_customEvent, doc_QVideoProbe_customEvent);

    return NULL;
}


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

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

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QVideoProbe, &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_QVideoProbe, sipName_connectNotify, doc_QVideoProbe_connectNotify);

    return NULL;
}


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

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

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QVideoProbe, &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_QVideoProbe, sipName_disconnectNotify, doc_QVideoProbe_disconnectNotify);

    return NULL;
}


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

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

    {
        const sipQVideoProbe *sipCpp;

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

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QVideoProbe, &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_QVideoProbe, sipName_isSignalConnected, doc_QVideoProbe_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoProbe_setSource, "setSource(self, QMediaObject) -> bool\n"
    "setSource(self, QMediaRecorder) -> bool");

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

    {
         ::QMediaObject* a0;
         ::QVideoProbe *sipCpp;

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

            sipRes = sipCpp->setSource(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    {
         ::QMediaRecorder* a0;
         ::QVideoProbe *sipCpp;

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

            sipRes = sipCpp->setSource(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoProbe, sipName_setSource, doc_QVideoProbe_setSource);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoProbe_isActive, "isActive(self) -> bool");

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

    {
        const  ::QVideoProbe *sipCpp;

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

            sipRes = sipCpp->isActive();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoProbe, sipName_isActive, doc_QVideoProbe_isActive);

    return NULL;
}


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

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

    return sipCppV;
}


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

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


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

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


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

    {
         ::QObject* a0 = 0;

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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_QVideoProbe[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QVideoProbe_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QVideoProbe_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QVideoProbe_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QVideoProbe_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isActive), meth_QVideoProbe_isActive, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoProbe_isActive)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QVideoProbe_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QVideoProbe_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QVideoProbe_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QVideoProbe_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setSource), meth_QVideoProbe_setSource, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoProbe_setSource)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QVideoProbe_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QVideoProbe, "\1QVideoProbe(parent: QObject = None)");


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


static pyqt5ClassPluginDef plugin_QVideoProbe = {
    & ::QVideoProbe::staticMetaObject,
    0,
    signals_QVideoProbe,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QVideoProbe = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QVideoProbe,
        {0},
        &plugin_QVideoProbe
    },
    {
        sipNameNr_QVideoProbe,
        {0, 0, 1},
        11, methods_QVideoProbe,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QVideoProbe,
    -1,
    -1,
    supers_QVideoProbe,
    0,
    init_type_QVideoProbe,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QVideoProbe,
    0,
    0,
    0,
    release_QVideoProbe,
    cast_QVideoProbe,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qvideoframe.sip"
#include <qvideoframe.h>
#line 5980 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qabstractvideobuffer.sip"
#include <qabstractvideobuffer.h>
#line 5984 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 5987 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtGui/qimage.sip"
#include <qimage.h>
#line 5990 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 5993 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 5996 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 5999 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


PyDoc_STRVAR(doc_QVideoFrame_isValid, "isValid(self) -> bool");

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

    {
        const  ::QVideoFrame *sipCpp;

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

            sipRes = sipCpp->isValid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoFrame, sipName_isValid, doc_QVideoFrame_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoFrame_pixelFormat, "pixelFormat(self) -> QVideoFrame.PixelFormat");

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

    {
        const  ::QVideoFrame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVideoFrame, &sipCpp))
        {
             ::QVideoFrame::PixelFormat sipRes;

            sipRes = sipCpp->pixelFormat();

            return sipConvertFromEnum(sipRes,sipType_QVideoFrame_PixelFormat);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoFrame, sipName_pixelFormat, doc_QVideoFrame_pixelFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoFrame_handleType, "handleType(self) -> QAbstractVideoBuffer.HandleType");

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

    {
        const  ::QVideoFrame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVideoFrame, &sipCpp))
        {
             ::QAbstractVideoBuffer::HandleType sipRes;

            sipRes = sipCpp->handleType();

            return sipConvertFromEnum(sipRes,sipType_QAbstractVideoBuffer_HandleType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoFrame, sipName_handleType, doc_QVideoFrame_handleType);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoFrame_size, "size(self) -> QSize");

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

    {
        const  ::QVideoFrame *sipCpp;

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

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

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

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

    return NULL;
}


PyDoc_STRVAR(doc_QVideoFrame_width, "width(self) -> int");

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

    {
        const  ::QVideoFrame *sipCpp;

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

            sipRes = sipCpp->width();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoFrame, sipName_width, doc_QVideoFrame_width);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoFrame_height, "height(self) -> int");

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

    {
        const  ::QVideoFrame *sipCpp;

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

            sipRes = sipCpp->height();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoFrame, sipName_height, doc_QVideoFrame_height);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoFrame_fieldType, "fieldType(self) -> QVideoFrame.FieldType");

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

    {
        const  ::QVideoFrame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVideoFrame, &sipCpp))
        {
             ::QVideoFrame::FieldType sipRes;

            sipRes = sipCpp->fieldType();

            return sipConvertFromEnum(sipRes,sipType_QVideoFrame_FieldType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoFrame, sipName_fieldType, doc_QVideoFrame_fieldType);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoFrame_setFieldType, "setFieldType(self, QVideoFrame.FieldType)");

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

    {
         ::QVideoFrame::FieldType a0;
         ::QVideoFrame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QVideoFrame, &sipCpp, sipType_QVideoFrame_FieldType, &a0))
        {
            sipCpp->setFieldType(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoFrame, sipName_setFieldType, doc_QVideoFrame_setFieldType);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoFrame_isMapped, "isMapped(self) -> bool");

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

    {
        const  ::QVideoFrame *sipCpp;

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

            sipRes = sipCpp->isMapped();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoFrame, sipName_isMapped, doc_QVideoFrame_isMapped);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoFrame_isReadable, "isReadable(self) -> bool");

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

    {
        const  ::QVideoFrame *sipCpp;

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

            sipRes = sipCpp->isReadable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoFrame, sipName_isReadable, doc_QVideoFrame_isReadable);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoFrame_isWritable, "isWritable(self) -> bool");

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

    {
        const  ::QVideoFrame *sipCpp;

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

            sipRes = sipCpp->isWritable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoFrame, sipName_isWritable, doc_QVideoFrame_isWritable);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoFrame_mapMode, "mapMode(self) -> QAbstractVideoBuffer.MapMode");

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

    {
        const  ::QVideoFrame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVideoFrame, &sipCpp))
        {
             ::QAbstractVideoBuffer::MapMode sipRes;

            sipRes = sipCpp->mapMode();

            return sipConvertFromEnum(sipRes,sipType_QAbstractVideoBuffer_MapMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoFrame, sipName_mapMode, doc_QVideoFrame_mapMode);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoFrame_map, "map(self, QAbstractVideoBuffer.MapMode) -> bool");

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

    {
         ::QAbstractVideoBuffer::MapMode a0;
         ::QVideoFrame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QVideoFrame, &sipCpp, sipType_QAbstractVideoBuffer_MapMode, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->map(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoFrame, sipName_map, doc_QVideoFrame_map);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoFrame_unmap, "unmap(self)");

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

    {
         ::QVideoFrame *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoFrame, sipName_unmap, doc_QVideoFrame_unmap);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoFrame_bytesPerLine, "bytesPerLine(self) -> int\n"
    "bytesPerLine(self, int) -> int");

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

    {
        const  ::QVideoFrame *sipCpp;

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

            sipRes = sipCpp->bytesPerLine();

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        int a0;
        const  ::QVideoFrame *sipCpp;

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

            sipRes = sipCpp->bytesPerLine(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoFrame, sipName_bytesPerLine, doc_QVideoFrame_bytesPerLine);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoFrame_bits, "bits(self) -> sip.voidptr\n"
    "bits(self, int) -> sip.voidptr");

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

    {
         ::QVideoFrame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVideoFrame, &sipCpp))
        {
            PyObject * sipRes = 0;

#line 102 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qvideoframe.sip"
        uchar *mem;
        
        Py_BEGIN_ALLOW_THREADS
        mem = sipCpp->bits();
        Py_END_ALLOW_THREADS
        
        if (mem)
        {
            sipRes = sipConvertFromVoidPtrAndSize(mem, sipCpp->mappedBytes());
        }
        else
        {
            sipRes = Py_None;
            Py_INCREF(sipRes);
        }
#line 6471 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            return sipRes;
        }
    }

    {
        int a0;
         ::QVideoFrame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QVideoFrame, &sipCpp, &a0))
        {
            void*sipRes;

            sipRes = sipCpp->bits(a0);

            return sipConvertFromVoidPtr(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoFrame, sipName_bits, doc_QVideoFrame_bits);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoFrame_mappedBytes, "mappedBytes(self) -> int");

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

    {
        const  ::QVideoFrame *sipCpp;

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

            sipRes = sipCpp->mappedBytes();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoFrame, sipName_mappedBytes, doc_QVideoFrame_mappedBytes);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoFrame_handle, "handle(self) -> Any");

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

    {
        const  ::QVideoFrame *sipCpp;

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

            sipRes = new  ::QVariant(sipCpp->handle());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoFrame, sipName_handle, doc_QVideoFrame_handle);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoFrame_startTime, "startTime(self) -> int");

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

    {
        const  ::QVideoFrame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVideoFrame, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->startTime();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoFrame, sipName_startTime, doc_QVideoFrame_startTime);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoFrame_setStartTime, "setStartTime(self, int)");

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

    {
         ::qint64 a0;
         ::QVideoFrame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QVideoFrame, &sipCpp, &a0))
        {
            sipCpp->setStartTime(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoFrame, sipName_setStartTime, doc_QVideoFrame_setStartTime);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoFrame_endTime, "endTime(self) -> int");

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

    {
        const  ::QVideoFrame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVideoFrame, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->endTime();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoFrame, sipName_endTime, doc_QVideoFrame_endTime);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoFrame_setEndTime, "setEndTime(self, int)");

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

    {
         ::qint64 a0;
         ::QVideoFrame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QVideoFrame, &sipCpp, &a0))
        {
            sipCpp->setEndTime(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoFrame, sipName_setEndTime, doc_QVideoFrame_setEndTime);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoFrame_pixelFormatFromImageFormat, "pixelFormatFromImageFormat(QImage.Format) -> QVideoFrame.PixelFormat");

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

    {
         ::QImage::Format a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_QImage_Format, &a0))
        {
             ::QVideoFrame::PixelFormat sipRes;

            sipRes =  ::QVideoFrame::pixelFormatFromImageFormat(a0);

            return sipConvertFromEnum(sipRes,sipType_QVideoFrame_PixelFormat);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoFrame, sipName_pixelFormatFromImageFormat, doc_QVideoFrame_pixelFormatFromImageFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoFrame_imageFormatFromPixelFormat, "imageFormatFromPixelFormat(QVideoFrame.PixelFormat) -> QImage.Format");

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

    {
         ::QVideoFrame::PixelFormat a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_QVideoFrame_PixelFormat, &a0))
        {
             ::QImage::Format sipRes;

            sipRes =  ::QVideoFrame::imageFormatFromPixelFormat(a0);

            return sipConvertFromEnum(sipRes,sipType_QImage_Format);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoFrame, sipName_imageFormatFromPixelFormat, doc_QVideoFrame_imageFormatFromPixelFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoFrame_availableMetaData, "availableMetaData(self) -> Dict[str, Any]");

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

    {
        const  ::QVideoFrame *sipCpp;

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

            sipRes = new  ::QVariantMap(sipCpp->availableMetaData());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoFrame, sipName_availableMetaData, doc_QVideoFrame_availableMetaData);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoFrame_metaData, "metaData(self, str) -> Any");

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

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QVideoFrame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QVideoFrame, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QVariant*sipRes;

            sipRes = new  ::QVariant(sipCpp->metaData(*a0));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoFrame, sipName_metaData, doc_QVideoFrame_metaData);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoFrame_setMetaData, "setMetaData(self, str, Any)");

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

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QVariant* a1;
        int a1State = 0;
         ::QVideoFrame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QVideoFrame, &sipCpp, sipType_QString,&a0, &a0State, sipType_QVariant, &a1, &a1State))
        {
            sipCpp->setMetaData(*a0,*a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QVariant *>(a1),sipType_QVariant,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoFrame, sipName_setMetaData, doc_QVideoFrame_setMetaData);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoFrame_planeCount, "planeCount(self) -> int");

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

    {
        const  ::QVideoFrame *sipCpp;

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

            sipRes = sipCpp->planeCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoFrame, sipName_planeCount, doc_QVideoFrame_planeCount);

    return NULL;
}


extern "C" {static PyObject *slot_QVideoFrame___ne__(PyObject *,PyObject *);}
static PyObject *slot_QVideoFrame___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QVideoFrame *sipCpp = reinterpret_cast< ::QVideoFrame *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QVideoFrame));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QVideoFrame* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QVideoFrame, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QVideoFrame::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, ne_slot, sipType_QVideoFrame, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QVideoFrame___eq__(PyObject *,PyObject *);}
static PyObject *slot_QVideoFrame___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QVideoFrame *sipCpp = reinterpret_cast< ::QVideoFrame *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QVideoFrame));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QVideoFrame* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QVideoFrame, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QVideoFrame::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, eq_slot, sipType_QVideoFrame, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QVideoFrame(void *, int);}
static void release_QVideoFrame(void *sipCppV, int)
{
    delete reinterpret_cast< ::QVideoFrame *>(sipCppV);
}


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


extern "C" {static void *array_QVideoFrame(SIP_SSIZE_T);}
static void *array_QVideoFrame(SIP_SSIZE_T sipNrElem)
{
    return new  ::QVideoFrame[sipNrElem];
}


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


extern "C" {static void dealloc_QVideoFrame(sipSimpleWrapper *);}
static void dealloc_QVideoFrame(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QVideoFrame(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QVideoFrame(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QVideoFrame(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QVideoFrame *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
         ::QAbstractVideoBuffer* a0;
        const  ::QSize* a1;
         ::QVideoFrame::PixelFormat a2;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8J9E", sipType_QAbstractVideoBuffer, &a0, sipType_QSize, &a1, sipType_QVideoFrame_PixelFormat, &a2))
        {
            sipCpp = new  ::QVideoFrame(a0,*a1,a2);

            return sipCpp;
        }
    }

    {
        int a0;
        const  ::QSize* a1;
        int a2;
         ::QVideoFrame::PixelFormat a3;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "iJ9iE", &a0, sipType_QSize, &a1, &a2, sipType_QVideoFrame_PixelFormat, &a3))
        {
            sipCpp = new  ::QVideoFrame(a0,*a1,a2,a3);

            return sipCpp;
        }
    }

    {
        const  ::QImage* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QImage, &a0))
        {
            sipCpp = new  ::QVideoFrame(*a0);

            return sipCpp;
        }
    }

    {
        const  ::QVideoFrame* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QVideoFrame, &a0))
        {
            sipCpp = new  ::QVideoFrame(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QVideoFrame[] = {
    {(void *)slot_QVideoFrame___ne__, ne_slot},
    {(void *)slot_QVideoFrame___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QVideoFrame[] = {
    {SIP_MLNAME_CAST(sipName_availableMetaData), meth_QVideoFrame_availableMetaData, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoFrame_availableMetaData)},
    {SIP_MLNAME_CAST(sipName_bits), meth_QVideoFrame_bits, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoFrame_bits)},
    {SIP_MLNAME_CAST(sipName_bytesPerLine), meth_QVideoFrame_bytesPerLine, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoFrame_bytesPerLine)},
    {SIP_MLNAME_CAST(sipName_endTime), meth_QVideoFrame_endTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoFrame_endTime)},
    {SIP_MLNAME_CAST(sipName_fieldType), meth_QVideoFrame_fieldType, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoFrame_fieldType)},
    {SIP_MLNAME_CAST(sipName_handle), meth_QVideoFrame_handle, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoFrame_handle)},
    {SIP_MLNAME_CAST(sipName_handleType), meth_QVideoFrame_handleType, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoFrame_handleType)},
    {SIP_MLNAME_CAST(sipName_height), meth_QVideoFrame_height, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoFrame_height)},
    {SIP_MLNAME_CAST(sipName_imageFormatFromPixelFormat), meth_QVideoFrame_imageFormatFromPixelFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoFrame_imageFormatFromPixelFormat)},
    {SIP_MLNAME_CAST(sipName_isMapped), meth_QVideoFrame_isMapped, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoFrame_isMapped)},
    {SIP_MLNAME_CAST(sipName_isReadable), meth_QVideoFrame_isReadable, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoFrame_isReadable)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QVideoFrame_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoFrame_isValid)},
    {SIP_MLNAME_CAST(sipName_isWritable), meth_QVideoFrame_isWritable, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoFrame_isWritable)},
    {SIP_MLNAME_CAST(sipName_map), meth_QVideoFrame_map, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoFrame_map)},
    {SIP_MLNAME_CAST(sipName_mapMode), meth_QVideoFrame_mapMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoFrame_mapMode)},
    {SIP_MLNAME_CAST(sipName_mappedBytes), meth_QVideoFrame_mappedBytes, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoFrame_mappedBytes)},
    {SIP_MLNAME_CAST(sipName_metaData), meth_QVideoFrame_metaData, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoFrame_metaData)},
    {SIP_MLNAME_CAST(sipName_pixelFormat), meth_QVideoFrame_pixelFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoFrame_pixelFormat)},
    {SIP_MLNAME_CAST(sipName_pixelFormatFromImageFormat), meth_QVideoFrame_pixelFormatFromImageFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoFrame_pixelFormatFromImageFormat)},
    {SIP_MLNAME_CAST(sipName_planeCount), meth_QVideoFrame_planeCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoFrame_planeCount)},
    {SIP_MLNAME_CAST(sipName_setEndTime), meth_QVideoFrame_setEndTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoFrame_setEndTime)},
    {SIP_MLNAME_CAST(sipName_setFieldType), meth_QVideoFrame_setFieldType, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoFrame_setFieldType)},
    {SIP_MLNAME_CAST(sipName_setMetaData), meth_QVideoFrame_setMetaData, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoFrame_setMetaData)},
    {SIP_MLNAME_CAST(sipName_setStartTime), meth_QVideoFrame_setStartTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoFrame_setStartTime)},
    {SIP_MLNAME_CAST(sipName_size), meth_QVideoFrame_size, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoFrame_size)},
    {SIP_MLNAME_CAST(sipName_startTime), meth_QVideoFrame_startTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoFrame_startTime)},
    {SIP_MLNAME_CAST(sipName_unmap), meth_QVideoFrame_unmap, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoFrame_unmap)},
    {SIP_MLNAME_CAST(sipName_width), meth_QVideoFrame_width, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoFrame_width)}
};

static sipEnumMemberDef enummembers_QVideoFrame[] = {
    {sipName_BottomField, static_cast<int>( ::QVideoFrame::BottomField), 118},
    {sipName_Format_ARGB32, static_cast<int>( ::QVideoFrame::Format_ARGB32), 119},
    {sipName_Format_ARGB32_Premultiplied, static_cast<int>( ::QVideoFrame::Format_ARGB32_Premultiplied), 119},
    {sipName_Format_ARGB8565_Premultiplied, static_cast<int>( ::QVideoFrame::Format_ARGB8565_Premultiplied), 119},
    {sipName_Format_AYUV444, static_cast<int>( ::QVideoFrame::Format_AYUV444), 119},
    {sipName_Format_AYUV444_Premultiplied, static_cast<int>( ::QVideoFrame::Format_AYUV444_Premultiplied), 119},
    {sipName_Format_AdobeDng, static_cast<int>( ::QVideoFrame::Format_AdobeDng), 119},
    {sipName_Format_BGR24, static_cast<int>( ::QVideoFrame::Format_BGR24), 119},
    {sipName_Format_BGR32, static_cast<int>( ::QVideoFrame::Format_BGR32), 119},
    {sipName_Format_BGR555, static_cast<int>( ::QVideoFrame::Format_BGR555), 119},
    {sipName_Format_BGR565, static_cast<int>( ::QVideoFrame::Format_BGR565), 119},
    {sipName_Format_BGRA32, static_cast<int>( ::QVideoFrame::Format_BGRA32), 119},
    {sipName_Format_BGRA32_Premultiplied, static_cast<int>( ::QVideoFrame::Format_BGRA32_Premultiplied), 119},
    {sipName_Format_BGRA5658_Premultiplied, static_cast<int>( ::QVideoFrame::Format_BGRA5658_Premultiplied), 119},
    {sipName_Format_CameraRaw, static_cast<int>( ::QVideoFrame::Format_CameraRaw), 119},
    {sipName_Format_IMC1, static_cast<int>( ::QVideoFrame::Format_IMC1), 119},
    {sipName_Format_IMC2, static_cast<int>( ::QVideoFrame::Format_IMC2), 119},
    {sipName_Format_IMC3, static_cast<int>( ::QVideoFrame::Format_IMC3), 119},
    {sipName_Format_IMC4, static_cast<int>( ::QVideoFrame::Format_IMC4), 119},
    {sipName_Format_Invalid, static_cast<int>( ::QVideoFrame::Format_Invalid), 119},
    {sipName_Format_Jpeg, static_cast<int>( ::QVideoFrame::Format_Jpeg), 119},
    {sipName_Format_NV12, static_cast<int>( ::QVideoFrame::Format_NV12), 119},
    {sipName_Format_NV21, static_cast<int>( ::QVideoFrame::Format_NV21), 119},
    {sipName_Format_RGB24, static_cast<int>( ::QVideoFrame::Format_RGB24), 119},
    {sipName_Format_RGB32, static_cast<int>( ::QVideoFrame::Format_RGB32), 119},
    {sipName_Format_RGB555, static_cast<int>( ::QVideoFrame::Format_RGB555), 119},
    {sipName_Format_RGB565, static_cast<int>( ::QVideoFrame::Format_RGB565), 119},
    {sipName_Format_UYVY, static_cast<int>( ::QVideoFrame::Format_UYVY), 119},
    {sipName_Format_User, static_cast<int>( ::QVideoFrame::Format_User), 119},
    {sipName_Format_Y16, static_cast<int>( ::QVideoFrame::Format_Y16), 119},
    {sipName_Format_Y8, static_cast<int>( ::QVideoFrame::Format_Y8), 119},
    {sipName_Format_YUV420P, static_cast<int>( ::QVideoFrame::Format_YUV420P), 119},
    {sipName_Format_YUV444, static_cast<int>( ::QVideoFrame::Format_YUV444), 119},
    {sipName_Format_YUYV, static_cast<int>( ::QVideoFrame::Format_YUYV), 119},
    {sipName_Format_YV12, static_cast<int>( ::QVideoFrame::Format_YV12), 119},
    {sipName_InterlacedFrame, static_cast<int>( ::QVideoFrame::InterlacedFrame), 118},
    {sipName_ProgressiveFrame, static_cast<int>( ::QVideoFrame::ProgressiveFrame), 118},
    {sipName_TopField, static_cast<int>( ::QVideoFrame::TopField), 118},
};

PyDoc_STRVAR(doc_QVideoFrame, "\1QVideoFrame()\n"
    "QVideoFrame(QAbstractVideoBuffer, QSize, QVideoFrame.PixelFormat)\n"
    "QVideoFrame(int, QSize, int, QVideoFrame.PixelFormat)\n"
    "QVideoFrame(QImage)\n"
    "QVideoFrame(QVideoFrame)");


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


sipClassTypeDef sipTypeDef_QtMultimedia_QVideoFrame = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QVideoFrame,
        {0},
        &plugin_QVideoFrame
    },
    {
        sipNameNr_QVideoFrame,
        {0, 0, 1},
        28, methods_QVideoFrame,
        38, enummembers_QVideoFrame,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QVideoFrame,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QVideoFrame,
    init_type_QVideoFrame,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QVideoFrame,
    assign_QVideoFrame,
    array_QVideoFrame,
    copy_QVideoFrame,
    release_QVideoFrame,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qsoundeffect.sip"
#include <qsoundeffect.h>
#line 7159 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 7163 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7166 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 96 "sip/QtCore/qurl.sip"
#include <qurl.h>
#line 7169 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 7172 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 7175 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7178 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7181 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7184 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7187 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 7190 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7193 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 7196 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 7202 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7205 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 7208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 7211 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 7214 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


class sipQSoundEffect : public  ::QSoundEffect
{
public:
    sipQSoundEffect( ::QObject*);
    virtual ~sipQSoundEffect();

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

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[7];
};

sipQSoundEffect::sipQSoundEffect( ::QObject*a0):  ::QSoundEffect(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipQSoundEffect::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf,sipType_QSoundEffect);

    return  ::QSoundEffect::metaObject();
}

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

    if (_id >= 0)
        _id = sip_QtMultimedia_qt_metacall(sipPySelf,sipType_QSoundEffect,_c,_id,_a);

    return _id;
}

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

    return (sip_QtMultimedia_qt_metacast(sipPySelf, sipType_QSoundEffect, _clname, &sipCpp) ? sipCpp :  ::QSoundEffect::qt_metacast(_clname));
}

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

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

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

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

    return sipVH_QtMultimedia_10(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    sipVH_QtMultimedia_8(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimedia_7(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimedia_6(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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


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

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

    {
        const sipQSoundEffect *sipCpp;

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

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

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

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

    return NULL;
}


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

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

    {
        PyObject * a0;
        const sipQSoundEffect *sipCpp;

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

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

    return NULL;
}


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

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

    {
         ::QTimerEvent* a0;
        sipQSoundEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSoundEffect, &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_QSoundEffect, sipName_timerEvent, doc_QSoundEffect_timerEvent);

    return NULL;
}


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

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

    {
         ::QChildEvent* a0;
        sipQSoundEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSoundEffect, &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_QSoundEffect, sipName_childEvent, doc_QSoundEffect_childEvent);

    return NULL;
}


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

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

    {
         ::QEvent* a0;
        sipQSoundEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSoundEffect, &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_QSoundEffect, sipName_customEvent, doc_QSoundEffect_customEvent);

    return NULL;
}


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

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

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSoundEffect, &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_QSoundEffect, sipName_connectNotify, doc_QSoundEffect_connectNotify);

    return NULL;
}


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

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

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSoundEffect, &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_QSoundEffect, sipName_disconnectNotify, doc_QSoundEffect_disconnectNotify);

    return NULL;
}


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

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

    {
        const sipQSoundEffect *sipCpp;

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

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSoundEffect, &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_QSoundEffect, sipName_isSignalConnected, doc_QSoundEffect_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QSoundEffect_supportedMimeTypes, "supportedMimeTypes() -> List[str]");

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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList( ::QSoundEffect::supportedMimeTypes());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSoundEffect, sipName_supportedMimeTypes, doc_QSoundEffect_supportedMimeTypes);

    return NULL;
}


PyDoc_STRVAR(doc_QSoundEffect_source, "source(self) -> QUrl");

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

    {
        const  ::QSoundEffect *sipCpp;

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

            sipRes = new  ::QUrl(sipCpp->source());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSoundEffect, sipName_source, doc_QSoundEffect_source);

    return NULL;
}


PyDoc_STRVAR(doc_QSoundEffect_setSource, "setSource(self, QUrl)");

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

    {
        const  ::QUrl* a0;
         ::QSoundEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QSoundEffect, &sipCpp, sipType_QUrl, &a0))
        {
            sipCpp->setSource(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSoundEffect, sipName_setSource, doc_QSoundEffect_setSource);

    return NULL;
}


PyDoc_STRVAR(doc_QSoundEffect_loopCount, "loopCount(self) -> int");

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

    {
        const  ::QSoundEffect *sipCpp;

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

            sipRes = sipCpp->loopCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSoundEffect, sipName_loopCount, doc_QSoundEffect_loopCount);

    return NULL;
}


PyDoc_STRVAR(doc_QSoundEffect_loopsRemaining, "loopsRemaining(self) -> int");

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

    {
        const  ::QSoundEffect *sipCpp;

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

            sipRes = sipCpp->loopsRemaining();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSoundEffect, sipName_loopsRemaining, doc_QSoundEffect_loopsRemaining);

    return NULL;
}


PyDoc_STRVAR(doc_QSoundEffect_setLoopCount, "setLoopCount(self, int)");

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

    {
        int a0;
         ::QSoundEffect *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSoundEffect, sipName_setLoopCount, doc_QSoundEffect_setLoopCount);

    return NULL;
}


PyDoc_STRVAR(doc_QSoundEffect_volume, "volume(self) -> float");

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

    {
        const  ::QSoundEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSoundEffect, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->volume();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSoundEffect, sipName_volume, doc_QSoundEffect_volume);

    return NULL;
}


PyDoc_STRVAR(doc_QSoundEffect_setVolume, "setVolume(self, float)");

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

    {
         ::qreal a0;
         ::QSoundEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QSoundEffect, &sipCpp, &a0))
        {
            sipCpp->setVolume(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSoundEffect, sipName_setVolume, doc_QSoundEffect_setVolume);

    return NULL;
}


PyDoc_STRVAR(doc_QSoundEffect_isMuted, "isMuted(self) -> bool");

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

    {
        const  ::QSoundEffect *sipCpp;

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

            sipRes = sipCpp->isMuted();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSoundEffect, sipName_isMuted, doc_QSoundEffect_isMuted);

    return NULL;
}


PyDoc_STRVAR(doc_QSoundEffect_setMuted, "setMuted(self, bool)");

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

    {
        bool a0;
         ::QSoundEffect *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSoundEffect, sipName_setMuted, doc_QSoundEffect_setMuted);

    return NULL;
}


PyDoc_STRVAR(doc_QSoundEffect_isLoaded, "isLoaded(self) -> bool");

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

    {
        const  ::QSoundEffect *sipCpp;

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

            sipRes = sipCpp->isLoaded();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSoundEffect, sipName_isLoaded, doc_QSoundEffect_isLoaded);

    return NULL;
}


PyDoc_STRVAR(doc_QSoundEffect_isPlaying, "isPlaying(self) -> bool");

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

    {
        const  ::QSoundEffect *sipCpp;

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

            sipRes = sipCpp->isPlaying();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSoundEffect, sipName_isPlaying, doc_QSoundEffect_isPlaying);

    return NULL;
}


PyDoc_STRVAR(doc_QSoundEffect_status, "status(self) -> QSoundEffect.Status");

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

    {
        const  ::QSoundEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSoundEffect, &sipCpp))
        {
             ::QSoundEffect::Status sipRes;

            sipRes = sipCpp->status();

            return sipConvertFromEnum(sipRes,sipType_QSoundEffect_Status);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSoundEffect, sipName_status, doc_QSoundEffect_status);

    return NULL;
}


PyDoc_STRVAR(doc_QSoundEffect_category, "category(self) -> str");

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

    {
        const  ::QSoundEffect *sipCpp;

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

            sipRes = new  ::QString(sipCpp->category());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSoundEffect, sipName_category, doc_QSoundEffect_category);

    return NULL;
}


PyDoc_STRVAR(doc_QSoundEffect_setCategory, "setCategory(self, str)");

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

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QSoundEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QSoundEffect, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setCategory(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSoundEffect, sipName_setCategory, doc_QSoundEffect_setCategory);

    return NULL;
}


PyDoc_STRVAR(doc_QSoundEffect_play, "play(self)");

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

    {
         ::QSoundEffect *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSoundEffect, sipName_play, doc_QSoundEffect_play);

    return NULL;
}


PyDoc_STRVAR(doc_QSoundEffect_stop, "stop(self)");

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

    {
         ::QSoundEffect *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSoundEffect, sipName_stop, doc_QSoundEffect_stop);

    return NULL;
}


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

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

    return sipCppV;
}


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

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


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

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


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

    {
         ::QObject* a0 = 0;

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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_QSoundEffect[] = {
    {SIP_MLNAME_CAST(sipName_category), meth_QSoundEffect_category, METH_VARARGS, SIP_MLDOC_CAST(doc_QSoundEffect_category)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QSoundEffect_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QSoundEffect_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QSoundEffect_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QSoundEffect_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isLoaded), meth_QSoundEffect_isLoaded, METH_VARARGS, SIP_MLDOC_CAST(doc_QSoundEffect_isLoaded)},
    {SIP_MLNAME_CAST(sipName_isMuted), meth_QSoundEffect_isMuted, METH_VARARGS, SIP_MLDOC_CAST(doc_QSoundEffect_isMuted)},
    {SIP_MLNAME_CAST(sipName_isPlaying), meth_QSoundEffect_isPlaying, METH_VARARGS, SIP_MLDOC_CAST(doc_QSoundEffect_isPlaying)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QSoundEffect_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_loopCount), meth_QSoundEffect_loopCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QSoundEffect_loopCount)},
    {SIP_MLNAME_CAST(sipName_loopsRemaining), meth_QSoundEffect_loopsRemaining, METH_VARARGS, SIP_MLDOC_CAST(doc_QSoundEffect_loopsRemaining)},
    {SIP_MLNAME_CAST(sipName_play), meth_QSoundEffect_play, METH_VARARGS, SIP_MLDOC_CAST(doc_QSoundEffect_play)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QSoundEffect_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QSoundEffect_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QSoundEffect_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setCategory), meth_QSoundEffect_setCategory, METH_VARARGS, SIP_MLDOC_CAST(doc_QSoundEffect_setCategory)},
    {SIP_MLNAME_CAST(sipName_setLoopCount), meth_QSoundEffect_setLoopCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QSoundEffect_setLoopCount)},
    {SIP_MLNAME_CAST(sipName_setMuted), meth_QSoundEffect_setMuted, METH_VARARGS, SIP_MLDOC_CAST(doc_QSoundEffect_setMuted)},
    {SIP_MLNAME_CAST(sipName_setSource), meth_QSoundEffect_setSource, METH_VARARGS, SIP_MLDOC_CAST(doc_QSoundEffect_setSource)},
    {SIP_MLNAME_CAST(sipName_setVolume), meth_QSoundEffect_setVolume, METH_VARARGS, SIP_MLDOC_CAST(doc_QSoundEffect_setVolume)},
    {SIP_MLNAME_CAST(sipName_source), meth_QSoundEffect_source, METH_VARARGS, SIP_MLDOC_CAST(doc_QSoundEffect_source)},
    {SIP_MLNAME_CAST(sipName_status), meth_QSoundEffect_status, METH_VARARGS, SIP_MLDOC_CAST(doc_QSoundEffect_status)},
    {SIP_MLNAME_CAST(sipName_stop), meth_QSoundEffect_stop, METH_VARARGS, SIP_MLDOC_CAST(doc_QSoundEffect_stop)},
    {SIP_MLNAME_CAST(sipName_supportedMimeTypes), meth_QSoundEffect_supportedMimeTypes, METH_VARARGS, SIP_MLDOC_CAST(doc_QSoundEffect_supportedMimeTypes)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QSoundEffect_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_volume), meth_QSoundEffect_volume, METH_VARARGS, SIP_MLDOC_CAST(doc_QSoundEffect_volume)}
};

static sipEnumMemberDef enummembers_QSoundEffect[] = {
    {sipName_Error, static_cast<int>( ::QSoundEffect::Error), 112},
    {sipName_Infinite, static_cast<int>( ::QSoundEffect::Infinite), 111},
    {sipName_Loading, static_cast<int>( ::QSoundEffect::Loading), 112},
    {sipName_Null, static_cast<int>( ::QSoundEffect::Null), 112},
    {sipName_Ready, static_cast<int>( ::QSoundEffect::Ready), 112},
};

PyDoc_STRVAR(doc_QSoundEffect, "\1QSoundEffect(parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QSoundEffect[] = {
    {"categoryChanged()", "\1categoryChanged(self)", 0, 0},
    {"statusChanged()", "\1statusChanged(self)", 0, 0},
    {"playingChanged()", "\1playingChanged(self)", 0, 0},
    {"loadedChanged()", "\1loadedChanged(self)", 0, 0},
    {"mutedChanged()", "\1mutedChanged(self)", 0, 0},
    {"volumeChanged()", "\1volumeChanged(self)", 0, 0},
    {"loopsRemainingChanged()", "\1loopsRemainingChanged(self)", 0, 0},
    {"loopCountChanged()", "\1loopCountChanged(self)", 0, 0},
    {"sourceChanged()", "\1sourceChanged(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QSoundEffect = {
    & ::QSoundEffect::staticMetaObject,
    0,
    signals_QSoundEffect,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QSoundEffect = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSoundEffect,
        {0},
        &plugin_QSoundEffect
    },
    {
        sipNameNr_QSoundEffect,
        {0, 0, 1},
        26, methods_QSoundEffect,
        5, enummembers_QSoundEffect,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSoundEffect,
    -1,
    -1,
    supers_QSoundEffect,
    0,
    init_type_QSoundEffect,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSoundEffect,
    0,
    0,
    0,
    release_QSoundEffect,
    cast_QSoundEffect,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qsound.sip"
#include <qsound.h>
#line 8449 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 8453 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 8456 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 8459 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8462 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8465 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8468 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8471 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 8474 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 8477 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 8480 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8483 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 8486 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8489 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 8492 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 8495 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 8498 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


class sipQSound : public  ::QSound
{
public:
    sipQSound(const  ::QString&, ::QObject*);
    virtual ~sipQSound();

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

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[7];
};

sipQSound::sipQSound(const  ::QString& a0, ::QObject*a1):  ::QSound(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipQSound::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf,sipType_QSound);

    return  ::QSound::metaObject();
}

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

    if (_id >= 0)
        _id = sip_QtMultimedia_qt_metacall(sipPySelf,sipType_QSound,_c,_id,_a);

    return _id;
}

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

    return (sip_QtMultimedia_qt_metacast(sipPySelf, sipType_QSound, _clname, &sipCpp) ? sipCpp :  ::QSound::qt_metacast(_clname));
}

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

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

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

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

    return sipVH_QtMultimedia_10(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    sipVH_QtMultimedia_8(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimedia_7(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimedia_6(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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


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

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

    {
        const sipQSound *sipCpp;

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

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

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

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

    return NULL;
}


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

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

    {
        PyObject * a0;
        const sipQSound *sipCpp;

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

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

    return NULL;
}


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

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

    {
         ::QTimerEvent* a0;
        sipQSound *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSound, &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_QSound, sipName_timerEvent, doc_QSound_timerEvent);

    return NULL;
}


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

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

    {
         ::QChildEvent* a0;
        sipQSound *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSound, &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_QSound, sipName_childEvent, doc_QSound_childEvent);

    return NULL;
}


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

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

    {
         ::QEvent* a0;
        sipQSound *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSound, &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_QSound, sipName_customEvent, doc_QSound_customEvent);

    return NULL;
}


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

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

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSound, &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_QSound, sipName_connectNotify, doc_QSound_connectNotify);

    return NULL;
}


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

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

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSound, &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_QSound, sipName_disconnectNotify, doc_QSound_disconnectNotify);

    return NULL;
}


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

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

    {
        const sipQSound *sipCpp;

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

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSound, &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_QSound, sipName_isSignalConnected, doc_QSound_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QSound_play, "play(str)\n"
    "play(self)");

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

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
             ::QSound::play(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::QSound *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSound, sipName_play, doc_QSound_play);

    return NULL;
}


PyDoc_STRVAR(doc_QSound_loops, "loops(self) -> int");

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

    {
        const  ::QSound *sipCpp;

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

            sipRes = sipCpp->loops();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSound, sipName_loops, doc_QSound_loops);

    return NULL;
}


PyDoc_STRVAR(doc_QSound_loopsRemaining, "loopsRemaining(self) -> int");

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

    {
        const  ::QSound *sipCpp;

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

            sipRes = sipCpp->loopsRemaining();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSound, sipName_loopsRemaining, doc_QSound_loopsRemaining);

    return NULL;
}


PyDoc_STRVAR(doc_QSound_setLoops, "setLoops(self, int)");

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

    {
        int a0;
         ::QSound *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSound, sipName_setLoops, doc_QSound_setLoops);

    return NULL;
}


PyDoc_STRVAR(doc_QSound_fileName, "fileName(self) -> str");

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

    {
        const  ::QSound *sipCpp;

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

            sipRes = new  ::QString(sipCpp->fileName());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSound, sipName_fileName, doc_QSound_fileName);

    return NULL;
}


PyDoc_STRVAR(doc_QSound_isFinished, "isFinished(self) -> bool");

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

    {
        const  ::QSound *sipCpp;

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

            sipRes = sipCpp->isFinished();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSound, sipName_isFinished, doc_QSound_isFinished);

    return NULL;
}


PyDoc_STRVAR(doc_QSound_stop, "stop(self)");

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

    {
         ::QSound *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSound, sipName_stop, doc_QSound_stop);

    return NULL;
}


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

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

    return sipCppV;
}


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

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


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

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


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

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QObject* a1 = 0;

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

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|JH", sipType_QString,&a0, &a0State, sipType_QObject, &a1, sipOwner))
        {
            sipCpp = new sipQSound(*a0,a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_QSound[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QSound_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QSound_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QSound_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QSound_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_fileName), meth_QSound_fileName, METH_VARARGS, SIP_MLDOC_CAST(doc_QSound_fileName)},
    {SIP_MLNAME_CAST(sipName_isFinished), meth_QSound_isFinished, METH_VARARGS, SIP_MLDOC_CAST(doc_QSound_isFinished)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QSound_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_loops), meth_QSound_loops, METH_VARARGS, SIP_MLDOC_CAST(doc_QSound_loops)},
    {SIP_MLNAME_CAST(sipName_loopsRemaining), meth_QSound_loopsRemaining, METH_VARARGS, SIP_MLDOC_CAST(doc_QSound_loopsRemaining)},
    {SIP_MLNAME_CAST(sipName_play), meth_QSound_play, METH_VARARGS, SIP_MLDOC_CAST(doc_QSound_play)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QSound_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QSound_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QSound_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setLoops), meth_QSound_setLoops, METH_VARARGS, SIP_MLDOC_CAST(doc_QSound_setLoops)},
    {SIP_MLNAME_CAST(sipName_stop), meth_QSound_stop, METH_VARARGS, SIP_MLDOC_CAST(doc_QSound_stop)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QSound_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QSound[] = {
    {sipName_Infinite, static_cast<int>( ::QSound::Infinite), 109},
};

PyDoc_STRVAR(doc_QSound, "\1QSound(str, parent: QObject = None)");


static pyqt5ClassPluginDef plugin_QSound = {
    & ::QSound::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QSound = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSound,
        {0},
        &plugin_QSound
    },
    {
        sipNameNr_QSound,
        {0, 0, 1},
        16, methods_QSound,
        1, enummembers_QSound,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSound,
    -1,
    -1,
    supers_QSound,
    0,
    init_type_QSound,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSound,
    0,
    0,
    0,
    release_QSound,
    cast_QSound,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qradiotuner.sip"
#include <qradiotuner.h>
#line 9444 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 9448 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 9451 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qradiodata.sip"
#include <qradiodata.h>
#line 9454 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 133 "sip/QtCore/qpycore_qpair.sip"
#include <qpair.h>
#line 9457 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmultimedia.sip"
#include <qmultimedia.h>
#line 9460 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 9463 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 9466 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 9469 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaservice.sip"
#include <qmediaservice.h>
#line 9472 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 9475 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9478 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9481 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9484 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 9487 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 9490 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9493 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 9496 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9499 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 9502 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 9505 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 9508 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


class sipQRadioTuner : public  ::QRadioTuner
{
public:
    sipQRadioTuner( ::QObject*);
    virtual ~sipQRadioTuner();

    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 sipProtect_addPropertyWatch(const  ::QByteArray&);
    void sipProtect_removePropertyWatch(const  ::QByteArray&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    bool isAvailable() const;
     ::QMultimedia::AvailabilityStatus availability() const;
     ::QMediaService* service() const;
    bool bind( ::QObject*);
    void unbind( ::QObject*);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[12];
};

sipQRadioTuner::sipQRadioTuner( ::QObject*a0):  ::QRadioTuner(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipQRadioTuner::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf,sipType_QRadioTuner);

    return  ::QRadioTuner::metaObject();
}

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

    if (_id >= 0)
        _id = sip_QtMultimedia_qt_metacall(sipPySelf,sipType_QRadioTuner,_c,_id,_a);

    return _id;
}

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

    return (sip_QtMultimedia_qt_metacast(sipPySelf, sipType_QRadioTuner, _clname, &sipCpp) ? sipCpp :  ::QRadioTuner::qt_metacast(_clname));
}

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

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

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

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

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimedia_6(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimedia_7(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimedia_8(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    return sipVH_QtMultimedia_10(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQRadioTuner::isAvailable() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QRadioTuner::isAvailable();

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

    return sipVH_QtMultimedia_16(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QMultimedia::AvailabilityStatus sipQRadioTuner::availability() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QRadioTuner::availability();

    extern  ::QMultimedia::AvailabilityStatus sipVH_QtMultimedia_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtMultimedia_17(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QMediaService* sipQRadioTuner::service() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QRadioTuner::service();

    extern  ::QMediaService* sipVH_QtMultimedia_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtMultimedia_18(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQRadioTuner::bind( ::QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QRadioTuner::bind(a0);

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

    return sipVH_QtMultimedia_19(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQRadioTuner::unbind( ::QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QRadioTuner::unbind(a0);
        return;
    }

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

    sipVH_QtMultimedia_20(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

void sipQRadioTuner::sipProtect_addPropertyWatch(const  ::QByteArray& a0)
{
     ::QMediaObject::addPropertyWatch(a0);
}

void sipQRadioTuner::sipProtect_removePropertyWatch(const  ::QByteArray& a0)
{
     ::QMediaObject::removePropertyWatch(a0);
}


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

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

    {
        const sipQRadioTuner *sipCpp;

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

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

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

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

    return NULL;
}


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

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

    {
        PyObject * a0;
        const sipQRadioTuner *sipCpp;

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

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

    return NULL;
}


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

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

    {
         ::QTimerEvent* a0;
        sipQRadioTuner *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioTuner, &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_QRadioTuner, sipName_timerEvent, doc_QRadioTuner_timerEvent);

    return NULL;
}


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

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

    {
         ::QChildEvent* a0;
        sipQRadioTuner *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioTuner, &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_QRadioTuner, sipName_childEvent, doc_QRadioTuner_childEvent);

    return NULL;
}


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

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

    {
         ::QEvent* a0;
        sipQRadioTuner *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioTuner, &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_QRadioTuner, sipName_customEvent, doc_QRadioTuner_customEvent);

    return NULL;
}


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

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

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QRadioTuner, &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_QRadioTuner, sipName_connectNotify, doc_QRadioTuner_connectNotify);

    return NULL;
}


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

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

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QRadioTuner, &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_QRadioTuner, sipName_disconnectNotify, doc_QRadioTuner_disconnectNotify);

    return NULL;
}


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

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

    {
        const sipQRadioTuner *sipCpp;

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

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QRadioTuner, &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_QRadioTuner, sipName_isSignalConnected, doc_QRadioTuner_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioTuner_addPropertyWatch, "addPropertyWatch(self, Union[QByteArray, bytes, bytearray])");

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

    {
        const  ::QByteArray* a0;
        int a0State = 0;
        sipQRadioTuner *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QRadioTuner, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            sipCpp->sipProtect_addPropertyWatch(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioTuner, sipName_addPropertyWatch, doc_QRadioTuner_addPropertyWatch);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioTuner_removePropertyWatch, "removePropertyWatch(self, Union[QByteArray, bytes, bytearray])");

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

    {
        const  ::QByteArray* a0;
        int a0State = 0;
        sipQRadioTuner *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QRadioTuner, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            sipCpp->sipProtect_removePropertyWatch(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioTuner, sipName_removePropertyWatch, doc_QRadioTuner_removePropertyWatch);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioTuner_availability, "availability(self) -> QMultimedia.AvailabilityStatus");

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

    {
        const  ::QRadioTuner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRadioTuner, &sipCpp))
        {
             ::QMultimedia::AvailabilityStatus sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QRadioTuner::availability() : sipCpp->availability());

            return sipConvertFromEnum(sipRes,sipType_QMultimedia_AvailabilityStatus);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioTuner, sipName_availability, doc_QRadioTuner_availability);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioTuner_state, "state(self) -> QRadioTuner.State");

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

    {
        const  ::QRadioTuner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRadioTuner, &sipCpp))
        {
             ::QRadioTuner::State sipRes;

            sipRes = sipCpp->state();

            return sipConvertFromEnum(sipRes,sipType_QRadioTuner_State);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioTuner, sipName_state, doc_QRadioTuner_state);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioTuner_band, "band(self) -> QRadioTuner.Band");

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

    {
        const  ::QRadioTuner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRadioTuner, &sipCpp))
        {
             ::QRadioTuner::Band sipRes;

            sipRes = sipCpp->band();

            return sipConvertFromEnum(sipRes,sipType_QRadioTuner_Band);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioTuner, sipName_band, doc_QRadioTuner_band);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioTuner_isBandSupported, "isBandSupported(self, QRadioTuner.Band) -> bool");

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

    {
         ::QRadioTuner::Band a0;
        const  ::QRadioTuner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QRadioTuner, &sipCpp, sipType_QRadioTuner_Band, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isBandSupported(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioTuner, sipName_isBandSupported, doc_QRadioTuner_isBandSupported);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioTuner_frequency, "frequency(self) -> int");

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

    {
        const  ::QRadioTuner *sipCpp;

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

            sipRes = sipCpp->frequency();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioTuner, sipName_frequency, doc_QRadioTuner_frequency);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioTuner_frequencyStep, "frequencyStep(self, QRadioTuner.Band) -> int");

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

    {
         ::QRadioTuner::Band a0;
        const  ::QRadioTuner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QRadioTuner, &sipCpp, sipType_QRadioTuner_Band, &a0))
        {
            int sipRes;

            sipRes = sipCpp->frequencyStep(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioTuner, sipName_frequencyStep, doc_QRadioTuner_frequencyStep);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioTuner_frequencyRange, "frequencyRange(self, QRadioTuner.Band) -> Tuple[int, int]");

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

    {
         ::QRadioTuner::Band a0;
        const  ::QRadioTuner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QRadioTuner, &sipCpp, sipType_QRadioTuner_Band, &a0))
        {
             ::QPair<int,int>*sipRes;

            sipRes = new  ::QPair<int,int>(sipCpp->frequencyRange(a0));

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioTuner, sipName_frequencyRange, doc_QRadioTuner_frequencyRange);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioTuner_isStereo, "isStereo(self) -> bool");

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

    {
        const  ::QRadioTuner *sipCpp;

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

            sipRes = sipCpp->isStereo();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioTuner, sipName_isStereo, doc_QRadioTuner_isStereo);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioTuner_setStereoMode, "setStereoMode(self, QRadioTuner.StereoMode)");

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

    {
         ::QRadioTuner::StereoMode a0;
         ::QRadioTuner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QRadioTuner, &sipCpp, sipType_QRadioTuner_StereoMode, &a0))
        {
            sipCpp->setStereoMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioTuner, sipName_setStereoMode, doc_QRadioTuner_setStereoMode);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioTuner_stereoMode, "stereoMode(self) -> QRadioTuner.StereoMode");

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

    {
        const  ::QRadioTuner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRadioTuner, &sipCpp))
        {
             ::QRadioTuner::StereoMode sipRes;

            sipRes = sipCpp->stereoMode();

            return sipConvertFromEnum(sipRes,sipType_QRadioTuner_StereoMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioTuner, sipName_stereoMode, doc_QRadioTuner_stereoMode);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioTuner_signalStrength, "signalStrength(self) -> int");

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

    {
        const  ::QRadioTuner *sipCpp;

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

            sipRes = sipCpp->signalStrength();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioTuner, sipName_signalStrength, doc_QRadioTuner_signalStrength);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioTuner_volume, "volume(self) -> int");

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

    {
        const  ::QRadioTuner *sipCpp;

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

            sipRes = sipCpp->volume();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioTuner, sipName_volume, doc_QRadioTuner_volume);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioTuner_isMuted, "isMuted(self) -> bool");

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

    {
        const  ::QRadioTuner *sipCpp;

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

            sipRes = sipCpp->isMuted();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioTuner, sipName_isMuted, doc_QRadioTuner_isMuted);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioTuner_isSearching, "isSearching(self) -> bool");

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

    {
        const  ::QRadioTuner *sipCpp;

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

            sipRes = sipCpp->isSearching();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioTuner, sipName_isSearching, doc_QRadioTuner_isSearching);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioTuner_isAntennaConnected, "isAntennaConnected(self) -> bool");

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

    {
        const  ::QRadioTuner *sipCpp;

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

            sipRes = sipCpp->isAntennaConnected();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioTuner, sipName_isAntennaConnected, doc_QRadioTuner_isAntennaConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioTuner_error, "error(self) -> QRadioTuner.Error");

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

    {
        const  ::QRadioTuner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRadioTuner, &sipCpp))
        {
             ::QRadioTuner::Error sipRes;

            sipRes = sipCpp->error();

            return sipConvertFromEnum(sipRes,sipType_QRadioTuner_Error);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioTuner, sipName_error, doc_QRadioTuner_error);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioTuner_errorString, "errorString(self) -> str");

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

    {
        const  ::QRadioTuner *sipCpp;

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

            sipRes = new  ::QString(sipCpp->errorString());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioTuner, sipName_errorString, doc_QRadioTuner_errorString);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioTuner_radioData, "radioData(self) -> QRadioData");

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

    {
        const  ::QRadioTuner *sipCpp;

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

            sipRes = sipCpp->radioData();

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioTuner, sipName_radioData, doc_QRadioTuner_radioData);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioTuner_searchForward, "searchForward(self)");

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

    {
         ::QRadioTuner *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioTuner, sipName_searchForward, doc_QRadioTuner_searchForward);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioTuner_searchBackward, "searchBackward(self)");

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

    {
         ::QRadioTuner *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioTuner, sipName_searchBackward, doc_QRadioTuner_searchBackward);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioTuner_searchAllStations, "searchAllStations(self, searchMode: QRadioTuner.SearchMode = QRadioTuner.SearchFast)");

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

    {
         ::QRadioTuner::SearchMode a0 = QRadioTuner::SearchFast;
         ::QRadioTuner *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|E", &sipSelf, sipType_QRadioTuner, &sipCpp, sipType_QRadioTuner_SearchMode, &a0))
        {
            sipCpp->searchAllStations(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioTuner, sipName_searchAllStations, doc_QRadioTuner_searchAllStations);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioTuner_cancelSearch, "cancelSearch(self)");

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

    {
         ::QRadioTuner *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioTuner, sipName_cancelSearch, doc_QRadioTuner_cancelSearch);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioTuner_setBand, "setBand(self, QRadioTuner.Band)");

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

    {
         ::QRadioTuner::Band a0;
         ::QRadioTuner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QRadioTuner, &sipCpp, sipType_QRadioTuner_Band, &a0))
        {
            sipCpp->setBand(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioTuner, sipName_setBand, doc_QRadioTuner_setBand);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioTuner_setFrequency, "setFrequency(self, int)");

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

    {
        int a0;
         ::QRadioTuner *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioTuner, sipName_setFrequency, doc_QRadioTuner_setFrequency);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioTuner_setVolume, "setVolume(self, int)");

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

    {
        int a0;
         ::QRadioTuner *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioTuner, sipName_setVolume, doc_QRadioTuner_setVolume);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioTuner_setMuted, "setMuted(self, bool)");

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

    {
        bool a0;
         ::QRadioTuner *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioTuner, sipName_setMuted, doc_QRadioTuner_setMuted);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioTuner_start, "start(self)");

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

    {
         ::QRadioTuner *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioTuner, sipName_start, doc_QRadioTuner_start);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioTuner_stop, "stop(self)");

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

    {
         ::QRadioTuner *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioTuner, sipName_stop, doc_QRadioTuner_stop);

    return NULL;
}


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

    if (targetType == sipType_QMediaObject)
        return static_cast< ::QMediaObject *>(sipCpp);

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

    return sipCppV;
}


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

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


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

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


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

    {
         ::QObject* a0 = 0;

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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_QRadioTuner[] = {
    {SIP_MLNAME_CAST(sipName_addPropertyWatch), (PyCFunction)meth_QRadioTuner_addPropertyWatch, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_availability), meth_QRadioTuner_availability, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioTuner_availability)},
    {SIP_MLNAME_CAST(sipName_band), meth_QRadioTuner_band, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioTuner_band)},
    {SIP_MLNAME_CAST(sipName_cancelSearch), meth_QRadioTuner_cancelSearch, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioTuner_cancelSearch)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QRadioTuner_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QRadioTuner_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QRadioTuner_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QRadioTuner_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_error), meth_QRadioTuner_error, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioTuner_error)},
    {SIP_MLNAME_CAST(sipName_errorString), meth_QRadioTuner_errorString, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioTuner_errorString)},
    {SIP_MLNAME_CAST(sipName_frequency), meth_QRadioTuner_frequency, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioTuner_frequency)},
    {SIP_MLNAME_CAST(sipName_frequencyRange), meth_QRadioTuner_frequencyRange, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioTuner_frequencyRange)},
    {SIP_MLNAME_CAST(sipName_frequencyStep), meth_QRadioTuner_frequencyStep, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioTuner_frequencyStep)},
    {SIP_MLNAME_CAST(sipName_isAntennaConnected), meth_QRadioTuner_isAntennaConnected, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioTuner_isAntennaConnected)},
    {SIP_MLNAME_CAST(sipName_isBandSupported), meth_QRadioTuner_isBandSupported, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioTuner_isBandSupported)},
    {SIP_MLNAME_CAST(sipName_isMuted), meth_QRadioTuner_isMuted, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioTuner_isMuted)},
    {SIP_MLNAME_CAST(sipName_isSearching), meth_QRadioTuner_isSearching, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioTuner_isSearching)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QRadioTuner_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isStereo), meth_QRadioTuner_isStereo, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioTuner_isStereo)},
    {SIP_MLNAME_CAST(sipName_radioData), meth_QRadioTuner_radioData, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioTuner_radioData)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QRadioTuner_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removePropertyWatch), (PyCFunction)meth_QRadioTuner_removePropertyWatch, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_searchAllStations), (PyCFunction)meth_QRadioTuner_searchAllStations, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QRadioTuner_searchAllStations)},
    {SIP_MLNAME_CAST(sipName_searchBackward), meth_QRadioTuner_searchBackward, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioTuner_searchBackward)},
    {SIP_MLNAME_CAST(sipName_searchForward), meth_QRadioTuner_searchForward, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioTuner_searchForward)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QRadioTuner_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QRadioTuner_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setBand), meth_QRadioTuner_setBand, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioTuner_setBand)},
    {SIP_MLNAME_CAST(sipName_setFrequency), meth_QRadioTuner_setFrequency, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioTuner_setFrequency)},
    {SIP_MLNAME_CAST(sipName_setMuted), meth_QRadioTuner_setMuted, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioTuner_setMuted)},
    {SIP_MLNAME_CAST(sipName_setStereoMode), meth_QRadioTuner_setStereoMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioTuner_setStereoMode)},
    {SIP_MLNAME_CAST(sipName_setVolume), meth_QRadioTuner_setVolume, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioTuner_setVolume)},
    {SIP_MLNAME_CAST(sipName_signalStrength), meth_QRadioTuner_signalStrength, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioTuner_signalStrength)},
    {SIP_MLNAME_CAST(sipName_start), meth_QRadioTuner_start, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioTuner_start)},
    {SIP_MLNAME_CAST(sipName_state), meth_QRadioTuner_state, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioTuner_state)},
    {SIP_MLNAME_CAST(sipName_stereoMode), meth_QRadioTuner_stereoMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioTuner_stereoMode)},
    {SIP_MLNAME_CAST(sipName_stop), meth_QRadioTuner_stop, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioTuner_stop)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QRadioTuner_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_volume), meth_QRadioTuner_volume, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioTuner_volume)}
};

static sipEnumMemberDef enummembers_QRadioTuner[] = {
    {sipName_AM, static_cast<int>( ::QRadioTuner::AM), 103},
    {sipName_ActiveState, static_cast<int>( ::QRadioTuner::ActiveState), 106},
    {sipName_Auto, static_cast<int>( ::QRadioTuner::Auto), 107},
    {sipName_FM, static_cast<int>( ::QRadioTuner::FM), 103},
    {sipName_FM2, static_cast<int>( ::QRadioTuner::FM2), 103},
    {sipName_ForceMono, static_cast<int>( ::QRadioTuner::ForceMono), 107},
    {sipName_ForceStereo, static_cast<int>( ::QRadioTuner::ForceStereo), 107},
    {sipName_LW, static_cast<int>( ::QRadioTuner::LW), 103},
    {sipName_NoError, static_cast<int>( ::QRadioTuner::NoError), 104},
    {sipName_OpenError, static_cast<int>( ::QRadioTuner::OpenError), 104},
    {sipName_OutOfRangeError, static_cast<int>( ::QRadioTuner::OutOfRangeError), 104},
    {sipName_ResourceError, static_cast<int>( ::QRadioTuner::ResourceError), 104},
    {sipName_SW, static_cast<int>( ::QRadioTuner::SW), 103},
    {sipName_SearchFast, static_cast<int>( ::QRadioTuner::SearchFast), 105},
    {sipName_SearchGetStationId, static_cast<int>( ::QRadioTuner::SearchGetStationId), 105},
    {sipName_StoppedState, static_cast<int>( ::QRadioTuner::StoppedState), 106},
};

PyDoc_STRVAR(doc_QRadioTuner, "\1QRadioTuner(parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QRadioTuner[] = {
    {"antennaConnectedChanged(bool)", "\1antennaConnectedChanged(self, bool)", 0, 0},
    {"stationFound(int,QString)", "\1stationFound(self, int, str)", 0, 0},
    {"mutedChanged(bool)", "\1mutedChanged(self, bool)", 0, 0},
    {"volumeChanged(int)", "\1volumeChanged(self, int)", 0, 0},
    {"signalStrengthChanged(int)", "\1signalStrengthChanged(self, int)", 0, 0},
    {"searchingChanged(bool)", "\1searchingChanged(self, bool)", 0, 0},
    {"stereoStatusChanged(bool)", "\1stereoStatusChanged(self, bool)", 0, 0},
    {"frequencyChanged(int)", "\1frequencyChanged(self, int)", 0, 0},
    {"bandChanged(QRadioTuner::Band)", "\1bandChanged(self, QRadioTuner.Band)", 0, 0},
    {"stateChanged(QRadioTuner::State)", "\1stateChanged(self, QRadioTuner.State)", 0, 0},
    {"error(QRadioTuner::Error)", "\1error(self, QRadioTuner.Error)", &methods_QRadioTuner[8], 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QRadioTuner = {
    & ::QRadioTuner::staticMetaObject,
    0,
    signals_QRadioTuner,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QRadioTuner = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QRadioTuner,
        {0},
        &plugin_QRadioTuner
    },
    {
        sipNameNr_QRadioTuner,
        {0, 0, 1},
        39, methods_QRadioTuner,
        16, enummembers_QRadioTuner,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QRadioTuner,
    -1,
    -1,
    supers_QRadioTuner,
    0,
    init_type_QRadioTuner,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QRadioTuner,
    0,
    0,
    0,
    release_QRadioTuner,
    cast_QRadioTuner,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qradiodata.sip"
#include <qradiodata.h>
#line 11240 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaobject.sip"
#include <qmediaobject.h>
#line 11244 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 11247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 11250 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmultimedia.sip"
#include <qmultimedia.h>
#line 11253 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 11256 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11259 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11262 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11265 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11268 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 11271 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 11274 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 11277 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11280 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 11283 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11286 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 11289 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 11292 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 11295 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


class sipQRadioData : public  ::QRadioData
{
public:
    sipQRadioData( ::QMediaObject*, ::QObject*);
    virtual ~sipQRadioData();

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

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[9];
};

sipQRadioData::sipQRadioData( ::QMediaObject*a0, ::QObject*a1):  ::QRadioData(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipQRadioData::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf,sipType_QRadioData);

    return  ::QRadioData::metaObject();
}

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

    if (_id >= 0)
        _id = sip_QtMultimedia_qt_metacall(sipPySelf,sipType_QRadioData,_c,_id,_a);

    return _id;
}

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

    return (sip_QtMultimedia_qt_metacast(sipPySelf, sipType_QRadioData, _clname, &sipCpp) ? sipCpp :  ::QRadioData::qt_metacast(_clname));
}

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

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

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

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

    return sipVH_QtMultimedia_21(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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

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

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

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

    return sipVH_QtMultimedia_22(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_QtMultimedia_10(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    sipVH_QtMultimedia_8(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimedia_7(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimedia_6(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

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


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

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

    {
        const sipQRadioData *sipCpp;

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

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

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

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

    return NULL;
}


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

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

    {
        PyObject * a0;
        const sipQRadioData *sipCpp;

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

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

    return NULL;
}


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

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

    {
         ::QTimerEvent* a0;
        sipQRadioData *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioData, &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_QRadioData, sipName_timerEvent, doc_QRadioData_timerEvent);

    return NULL;
}


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

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

    {
         ::QChildEvent* a0;
        sipQRadioData *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioData, &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_QRadioData, sipName_childEvent, doc_QRadioData_childEvent);

    return NULL;
}


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

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

    {
         ::QEvent* a0;
        sipQRadioData *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioData, &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_QRadioData, sipName_customEvent, doc_QRadioData_customEvent);

    return NULL;
}


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

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

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QRadioData, &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_QRadioData, sipName_connectNotify, doc_QRadioData_connectNotify);

    return NULL;
}


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

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

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QRadioData, &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_QRadioData, sipName_disconnectNotify, doc_QRadioData_disconnectNotify);

    return NULL;
}


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

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

    {
        const sipQRadioData *sipCpp;

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

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QRadioData, &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_QRadioData, sipName_isSignalConnected, doc_QRadioData_isSignalConnected);

    return NULL;
}


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

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

    {
        const  ::QRadioData *sipCpp;

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

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

            return sipConvertFromType(sipRes,sipType_QMediaObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioData, sipName_mediaObject, doc_QRadioData_mediaObject);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioData_availability, "availability(self) -> QMultimedia.AvailabilityStatus");

extern "C" {static PyObject *meth_QRadioData_availability(PyObject *, PyObject *);}
static PyObject *meth_QRadioData_availability(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRadioData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRadioData, &sipCpp))
        {
             ::QMultimedia::AvailabilityStatus sipRes;

            sipRes = sipCpp->availability();

            return sipConvertFromEnum(sipRes,sipType_QMultimedia_AvailabilityStatus);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioData, sipName_availability, doc_QRadioData_availability);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioData_stationId, "stationId(self) -> str");

extern "C" {static PyObject *meth_QRadioData_stationId(PyObject *, PyObject *);}
static PyObject *meth_QRadioData_stationId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRadioData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRadioData, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->stationId());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioData, sipName_stationId, doc_QRadioData_stationId);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioData_programType, "programType(self) -> QRadioData.ProgramType");

extern "C" {static PyObject *meth_QRadioData_programType(PyObject *, PyObject *);}
static PyObject *meth_QRadioData_programType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRadioData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRadioData, &sipCpp))
        {
             ::QRadioData::ProgramType sipRes;

            sipRes = sipCpp->programType();

            return sipConvertFromEnum(sipRes,sipType_QRadioData_ProgramType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioData, sipName_programType, doc_QRadioData_programType);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioData_programTypeName, "programTypeName(self) -> str");

extern "C" {static PyObject *meth_QRadioData_programTypeName(PyObject *, PyObject *);}
static PyObject *meth_QRadioData_programTypeName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRadioData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRadioData, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->programTypeName());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioData, sipName_programTypeName, doc_QRadioData_programTypeName);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioData_stationName, "stationName(self) -> str");

extern "C" {static PyObject *meth_QRadioData_stationName(PyObject *, PyObject *);}
static PyObject *meth_QRadioData_stationName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRadioData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRadioData, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->stationName());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioData, sipName_stationName, doc_QRadioData_stationName);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioData_radioText, "radioText(self) -> str");

extern "C" {static PyObject *meth_QRadioData_radioText(PyObject *, PyObject *);}
static PyObject *meth_QRadioData_radioText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRadioData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRadioData, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->radioText());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioData, sipName_radioText, doc_QRadioData_radioText);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioData_isAlternativeFrequenciesEnabled, "isAlternativeFrequenciesEnabled(self) -> bool");

extern "C" {static PyObject *meth_QRadioData_isAlternativeFrequenciesEnabled(PyObject *, PyObject *);}
static PyObject *meth_QRadioData_isAlternativeFrequenciesEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRadioData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRadioData, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isAlternativeFrequenciesEnabled();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioData, sipName_isAlternativeFrequenciesEnabled, doc_QRadioData_isAlternativeFrequenciesEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioData_error, "error(self) -> QRadioData.Error");

extern "C" {static PyObject *meth_QRadioData_error(PyObject *, PyObject *);}
static PyObject *meth_QRadioData_error(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRadioData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRadioData, &sipCpp))
        {
             ::QRadioData::Error sipRes;

            sipRes = sipCpp->error();

            return sipConvertFromEnum(sipRes,sipType_QRadioData_Error);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioData, sipName_error, doc_QRadioData_error);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioData_errorString, "errorString(self) -> str");

extern "C" {static PyObject *meth_QRadioData_errorString(PyObject *, PyObject *);}
static PyObject *meth_QRadioData_errorString(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRadioData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRadioData, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->errorString());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioData, sipName_errorString, doc_QRadioData_errorString);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioData_setAlternativeFrequenciesEnabled, "setAlternativeFrequenciesEnabled(self, bool)");

extern "C" {static PyObject *meth_QRadioData_setAlternativeFrequenciesEnabled(PyObject *, PyObject *);}
static PyObject *meth_QRadioData_setAlternativeFrequenciesEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QRadioData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QRadioData, &sipCpp, &a0))
        {
            sipCpp->setAlternativeFrequenciesEnabled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioData, sipName_setAlternativeFrequenciesEnabled, doc_QRadioData_setAlternativeFrequenciesEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioData_setMediaObject, "setMediaObject(self, QMediaObject) -> bool");

extern "C" {static PyObject *meth_QRadioData_setMediaObject(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioData_setMediaObject(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMediaObject* a0;
        sipQRadioData *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioData, &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_QRadioData, sipName_setMediaObject, doc_QRadioData_setMediaObject);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QRadioData(void *, const sipTypeDef *);}
static void *cast_QRadioData(void *sipCppV, const sipTypeDef *targetType)
{
     ::QRadioData *sipCpp = reinterpret_cast< ::QRadioData *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QMediaBindableInterface)
        return static_cast< ::QMediaBindableInterface *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QRadioData(void *, int);}
static void release_QRadioData(void *sipCppV, int)
{
     ::QRadioData *sipCpp = reinterpret_cast< ::QRadioData *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QRadioData(sipSimpleWrapper *);}
static void dealloc_QRadioData(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQRadioData *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QRadioData(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QRadioData(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QRadioData(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQRadioData *sipCpp = 0;

    {
         ::QMediaObject* a0;
         ::QObject* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J8|JH", sipType_QMediaObject, &a0, sipType_QObject, &a1, sipOwner))
        {
            sipCpp = new sipQRadioData(a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QRadioData[] = {{9, 0, 0}, {72, 255, 1}};


static PyMethodDef methods_QRadioData[] = {
    {SIP_MLNAME_CAST(sipName_availability), meth_QRadioData_availability, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioData_availability)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QRadioData_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QRadioData_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QRadioData_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QRadioData_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_error), meth_QRadioData_error, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioData_error)},
    {SIP_MLNAME_CAST(sipName_errorString), meth_QRadioData_errorString, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioData_errorString)},
    {SIP_MLNAME_CAST(sipName_isAlternativeFrequenciesEnabled), meth_QRadioData_isAlternativeFrequenciesEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioData_isAlternativeFrequenciesEnabled)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QRadioData_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mediaObject), meth_QRadioData_mediaObject, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioData_mediaObject)},
    {SIP_MLNAME_CAST(sipName_programType), meth_QRadioData_programType, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioData_programType)},
    {SIP_MLNAME_CAST(sipName_programTypeName), meth_QRadioData_programTypeName, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioData_programTypeName)},
    {SIP_MLNAME_CAST(sipName_radioText), meth_QRadioData_radioText, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioData_radioText)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QRadioData_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QRadioData_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QRadioData_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlternativeFrequenciesEnabled), meth_QRadioData_setAlternativeFrequenciesEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioData_setAlternativeFrequenciesEnabled)},
    {SIP_MLNAME_CAST(sipName_setMediaObject), (PyCFunction)meth_QRadioData_setMediaObject, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QRadioData_setMediaObject)},
    {SIP_MLNAME_CAST(sipName_stationId), meth_QRadioData_stationId, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioData_stationId)},
    {SIP_MLNAME_CAST(sipName_stationName), meth_QRadioData_stationName, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioData_stationName)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QRadioData_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QRadioData[] = {
    {sipName_AdultHits, static_cast<int>( ::QRadioData::AdultHits), 101},
    {sipName_Alarm, static_cast<int>( ::QRadioData::Alarm), 101},
    {sipName_AlarmTest, static_cast<int>( ::QRadioData::AlarmTest), 101},
    {sipName_ChildrensProgrammes, static_cast<int>( ::QRadioData::ChildrensProgrammes), 101},
    {sipName_ClassicRock, static_cast<int>( ::QRadioData::ClassicRock), 101},
    {sipName_Classical, static_cast<int>( ::QRadioData::Classical), 101},
    {sipName_College, static_cast<int>( ::QRadioData::College), 101},
    {sipName_CountryMusic, static_cast<int>( ::QRadioData::CountryMusic), 101},
    {sipName_Culture, static_cast<int>( ::QRadioData::Culture), 101},
    {sipName_CurrentAffairs, static_cast<int>( ::QRadioData::CurrentAffairs), 101},
    {sipName_Documentary, static_cast<int>( ::QRadioData::Documentary), 101},
    {sipName_Drama, static_cast<int>( ::QRadioData::Drama), 101},
    {sipName_EasyListening, static_cast<int>( ::QRadioData::EasyListening), 101},
    {sipName_Education, static_cast<int>( ::QRadioData::Education), 101},
    {sipName_Finance, static_cast<int>( ::QRadioData::Finance), 101},
    {sipName_FolkMusic, static_cast<int>( ::QRadioData::FolkMusic), 101},
    {sipName_Information, static_cast<int>( ::QRadioData::Information), 101},
    {sipName_JazzMusic, static_cast<int>( ::QRadioData::JazzMusic), 101},
    {sipName_Language, static_cast<int>( ::QRadioData::Language), 101},
    {sipName_Leisure, static_cast<int>( ::QRadioData::Leisure), 101},
    {sipName_LightClassical, static_cast<int>( ::QRadioData::LightClassical), 101},
    {sipName_NationalMusic, static_cast<int>( ::QRadioData::NationalMusic), 101},
    {sipName_News, static_cast<int>( ::QRadioData::News), 101},
    {sipName_NoError, static_cast<int>( ::QRadioData::NoError), 100},
    {sipName_Nostalgia, static_cast<int>( ::QRadioData::Nostalgia), 101},
    {sipName_OldiesMusic, static_cast<int>( ::QRadioData::OldiesMusic), 101},
    {sipName_OpenError, static_cast<int>( ::QRadioData::OpenError), 100},
    {sipName_OtherMusic, static_cast<int>( ::QRadioData::OtherMusic), 101},
    {sipName_OutOfRangeError, static_cast<int>( ::QRadioData::OutOfRangeError), 100},
    {sipName_Personality, static_cast<int>( ::QRadioData::Personality), 101},
    {sipName_PhoneIn, static_cast<int>( ::QRadioData::PhoneIn), 101},
    {sipName_PopMusic, static_cast<int>( ::QRadioData::PopMusic), 101},
    {sipName_Public, static_cast<int>( ::QRadioData::Public), 101},
    {sipName_Religion, static_cast<int>( ::QRadioData::Religion), 101},
    {sipName_ReligiousMusic, static_cast<int>( ::QRadioData::ReligiousMusic), 101},
    {sipName_ReligiousTalk, static_cast<int>( ::QRadioData::ReligiousTalk), 101},
    {sipName_ResourceError, static_cast<int>( ::QRadioData::ResourceError), 100},
    {sipName_RhythmAndBlues, static_cast<int>( ::QRadioData::RhythmAndBlues), 101},
    {sipName_RockMusic, static_cast<int>( ::QRadioData::RockMusic), 101},
    {sipName_Science, static_cast<int>( ::QRadioData::Science), 101},
    {sipName_SeriousClassical, static_cast<int>( ::QRadioData::SeriousClassical), 101},
    {sipName_SocialAffairs, static_cast<int>( ::QRadioData::SocialAffairs), 101},
    {sipName_Soft, static_cast<int>( ::QRadioData::Soft), 101},
    {sipName_SoftRhythmAndBlues, static_cast<int>( ::QRadioData::SoftRhythmAndBlues), 101},
    {sipName_SoftRock, static_cast<int>( ::QRadioData::SoftRock), 101},
    {sipName_Sport, static_cast<int>( ::QRadioData::Sport), 101},
    {sipName_Talk, static_cast<int>( ::QRadioData::Talk), 101},
    {sipName_Top40, static_cast<int>( ::QRadioData::Top40), 101},
    {sipName_Travel, static_cast<int>( ::QRadioData::Travel), 101},
    {sipName_Undefined, static_cast<int>( ::QRadioData::Undefined), 101},
    {sipName_Varied, static_cast<int>( ::QRadioData::Varied), 101},
    {sipName_Weather, static_cast<int>( ::QRadioData::Weather), 101},
};

PyDoc_STRVAR(doc_QRadioData, "\1QRadioData(QMediaObject, parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QRadioData[] = {
    {"alternativeFrequenciesEnabledChanged(bool)", "\1alternativeFrequenciesEnabledChanged(self, bool)", 0, 0},
    {"radioTextChanged(QString)", "\1radioTextChanged(self, str)", 0, 0},
    {"stationNameChanged(QString)", "\1stationNameChanged(self, str)", 0, 0},
    {"programTypeNameChanged(QString)", "\1programTypeNameChanged(self, str)", 0, 0},
    {"programTypeChanged(QRadioData::ProgramType)", "\1programTypeChanged(self, QRadioData.ProgramType)", 0, 0},
    {"stationIdChanged(QString)", "\1stationIdChanged(self, str)", 0, 0},
    {"error(QRadioData::Error)", "\1error(self, QRadioData.Error)", &methods_QRadioData[5], 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QRadioData = {
    & ::QRadioData::staticMetaObject,
    0,
    signals_QRadioData,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QRadioData = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QRadioData,
        {0},
        &plugin_QRadioData
    },
    {
        sipNameNr_QRadioData,
        {0, 0, 1},
        21, methods_QRadioData,
        52, enummembers_QRadioData,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QRadioData,
    -1,
    -1,
    supers_QRadioData,
    0,
    init_type_QRadioData,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QRadioData,
    0,
    0,
    0,
    release_QRadioData,
    cast_QRadioData,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmultimedia.sip"
#include <qmultimedia.h>
#line 12478 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


static sipEnumMemberDef enummembers_QMultimedia[] = {
    {sipName_Available, static_cast<int>( ::QMultimedia::Available), 95},
    {sipName_AverageBitRateEncoding, static_cast<int>( ::QMultimedia::AverageBitRateEncoding), 96},
    {sipName_Busy, static_cast<int>( ::QMultimedia::Busy), 95},
    {sipName_ConstantBitRateEncoding, static_cast<int>( ::QMultimedia::ConstantBitRateEncoding), 96},
    {sipName_ConstantQualityEncoding, static_cast<int>( ::QMultimedia::ConstantQualityEncoding), 96},
    {sipName_HighQuality, static_cast<int>( ::QMultimedia::HighQuality), 97},
    {sipName_LowQuality, static_cast<int>( ::QMultimedia::LowQuality), 97},
    {sipName_MaybeSupported, static_cast<int>( ::QMultimedia::MaybeSupported), 98},
    {sipName_NormalQuality, static_cast<int>( ::QMultimedia::NormalQuality), 97},
    {sipName_NotSupported, static_cast<int>( ::QMultimedia::NotSupported), 98},
    {sipName_PreferredService, static_cast<int>( ::QMultimedia::PreferredService), 98},
    {sipName_ProbablySupported, static_cast<int>( ::QMultimedia::ProbablySupported), 98},
    {sipName_ResourceError, static_cast<int>( ::QMultimedia::ResourceError), 95},
    {sipName_ServiceMissing, static_cast<int>( ::QMultimedia::ServiceMissing), 95},
    {sipName_TwoPassEncoding, static_cast<int>( ::QMultimedia::TwoPassEncoding), 96},
    {sipName_VeryHighQuality, static_cast<int>( ::QMultimedia::VeryHighQuality), 97},
    {sipName_VeryLowQuality, static_cast<int>( ::QMultimedia::VeryLowQuality), 97},
};


static pyqt5ClassPluginDef plugin_QMultimedia = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QMultimedia = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_NAMESPACE,
        sipNameNr_QMultimedia,
        {0},
        &plugin_QMultimedia
    },
    {
        sipNameNr_QMultimedia,
        {0, 0, 1},
        0, 0,
        17, enummembers_QMultimedia,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 47 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediatimerange.sip"
#include <qmediatimerange.h>
#line 12561 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediatimerange.sip"
#include <qmediatimerange.h>
#line 12565 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 12568 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


PyDoc_STRVAR(doc_QMediaTimeRange_earliestTime, "earliestTime(self) -> int");

extern "C" {static PyObject *meth_QMediaTimeRange_earliestTime(PyObject *, PyObject *);}
static PyObject *meth_QMediaTimeRange_earliestTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaTimeRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaTimeRange, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->earliestTime();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaTimeRange, sipName_earliestTime, doc_QMediaTimeRange_earliestTime);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaTimeRange_latestTime, "latestTime(self) -> int");

extern "C" {static PyObject *meth_QMediaTimeRange_latestTime(PyObject *, PyObject *);}
static PyObject *meth_QMediaTimeRange_latestTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaTimeRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaTimeRange, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->latestTime();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaTimeRange, sipName_latestTime, doc_QMediaTimeRange_latestTime);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaTimeRange_intervals, "intervals(self) -> object");

extern "C" {static PyObject *meth_QMediaTimeRange_intervals(PyObject *, PyObject *);}
static PyObject *meth_QMediaTimeRange_intervals(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaTimeRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaTimeRange, &sipCpp))
        {
            QList< ::QMediaTimeInterval>*sipRes;

            sipRes = new QList< ::QMediaTimeInterval>(sipCpp->intervals());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QMediaTimeInterval,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaTimeRange, sipName_intervals, doc_QMediaTimeRange_intervals);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaTimeRange_isEmpty, "isEmpty(self) -> bool");

extern "C" {static PyObject *meth_QMediaTimeRange_isEmpty(PyObject *, PyObject *);}
static PyObject *meth_QMediaTimeRange_isEmpty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaTimeRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaTimeRange, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isEmpty();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaTimeRange, sipName_isEmpty, doc_QMediaTimeRange_isEmpty);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaTimeRange_isContinuous, "isContinuous(self) -> bool");

extern "C" {static PyObject *meth_QMediaTimeRange_isContinuous(PyObject *, PyObject *);}
static PyObject *meth_QMediaTimeRange_isContinuous(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaTimeRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaTimeRange, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isContinuous();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaTimeRange, sipName_isContinuous, doc_QMediaTimeRange_isContinuous);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaTimeRange_contains, "contains(self, int) -> bool");

extern "C" {static PyObject *meth_QMediaTimeRange_contains(PyObject *, PyObject *);}
static PyObject *meth_QMediaTimeRange_contains(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint64 a0;
        const  ::QMediaTimeRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QMediaTimeRange, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->contains(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaTimeRange, sipName_contains, doc_QMediaTimeRange_contains);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaTimeRange_addInterval, "addInterval(self, int, int)\n"
    "addInterval(self, QMediaTimeInterval)");

extern "C" {static PyObject *meth_QMediaTimeRange_addInterval(PyObject *, PyObject *);}
static PyObject *meth_QMediaTimeRange_addInterval(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint64 a0;
         ::qint64 a1;
         ::QMediaTimeRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bnn", &sipSelf, sipType_QMediaTimeRange, &sipCpp, &a0, &a1))
        {
            sipCpp->addInterval(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QMediaTimeInterval* a0;
         ::QMediaTimeRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QMediaTimeRange, &sipCpp, sipType_QMediaTimeInterval, &a0))
        {
            sipCpp->addInterval(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaTimeRange, sipName_addInterval, doc_QMediaTimeRange_addInterval);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaTimeRange_addTimeRange, "addTimeRange(self, QMediaTimeRange)");

extern "C" {static PyObject *meth_QMediaTimeRange_addTimeRange(PyObject *, PyObject *);}
static PyObject *meth_QMediaTimeRange_addTimeRange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaTimeRange* a0;
         ::QMediaTimeRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QMediaTimeRange, &sipCpp, sipType_QMediaTimeRange, &a0))
        {
            sipCpp->addTimeRange(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaTimeRange, sipName_addTimeRange, doc_QMediaTimeRange_addTimeRange);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaTimeRange_removeInterval, "removeInterval(self, int, int)\n"
    "removeInterval(self, QMediaTimeInterval)");

extern "C" {static PyObject *meth_QMediaTimeRange_removeInterval(PyObject *, PyObject *);}
static PyObject *meth_QMediaTimeRange_removeInterval(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint64 a0;
         ::qint64 a1;
         ::QMediaTimeRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bnn", &sipSelf, sipType_QMediaTimeRange, &sipCpp, &a0, &a1))
        {
            sipCpp->removeInterval(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QMediaTimeInterval* a0;
         ::QMediaTimeRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QMediaTimeRange, &sipCpp, sipType_QMediaTimeInterval, &a0))
        {
            sipCpp->removeInterval(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaTimeRange, sipName_removeInterval, doc_QMediaTimeRange_removeInterval);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaTimeRange_removeTimeRange, "removeTimeRange(self, QMediaTimeRange)");

extern "C" {static PyObject *meth_QMediaTimeRange_removeTimeRange(PyObject *, PyObject *);}
static PyObject *meth_QMediaTimeRange_removeTimeRange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaTimeRange* a0;
         ::QMediaTimeRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QMediaTimeRange, &sipCpp, sipType_QMediaTimeRange, &a0))
        {
            sipCpp->removeTimeRange(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaTimeRange, sipName_removeTimeRange, doc_QMediaTimeRange_removeTimeRange);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaTimeRange_clear, "clear(self)");

extern "C" {static PyObject *meth_QMediaTimeRange_clear(PyObject *, PyObject *);}
static PyObject *meth_QMediaTimeRange_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QMediaTimeRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaTimeRange, &sipCpp))
        {
            sipCpp->clear();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaTimeRange, sipName_clear, doc_QMediaTimeRange_clear);

    return NULL;
}


extern "C" {static PyObject *slot_QMediaTimeRange___eq__(PyObject *,PyObject *);}
static PyObject *slot_QMediaTimeRange___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QMediaTimeRange *sipCpp = reinterpret_cast< ::QMediaTimeRange *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMediaTimeRange));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaTimeRange* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QMediaTimeRange, &a0))
        {
            bool sipRes;

            sipRes = operator==((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, eq_slot, sipType_QMediaTimeRange, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QMediaTimeRange___ne__(PyObject *,PyObject *);}
static PyObject *slot_QMediaTimeRange___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QMediaTimeRange *sipCpp = reinterpret_cast< ::QMediaTimeRange *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMediaTimeRange));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaTimeRange* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QMediaTimeRange, &a0))
        {
            bool sipRes;

            sipRes = operator!=((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, ne_slot, sipType_QMediaTimeRange, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QMediaTimeRange___add__(PyObject *,PyObject *);}
static PyObject *slot_QMediaTimeRange___add__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaTimeRange* a0;
        const  ::QMediaTimeRange* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QMediaTimeRange, &a0, sipType_QMediaTimeRange, &a1))
        {
             ::QMediaTimeRange*sipRes;

            sipRes = new  ::QMediaTimeRange((*a0 + *a1));

            return sipConvertFromNewType(sipRes,sipType_QMediaTimeRange,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, add_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QMediaTimeRange___sub__(PyObject *,PyObject *);}
static PyObject *slot_QMediaTimeRange___sub__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaTimeRange* a0;
        const  ::QMediaTimeRange* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QMediaTimeRange, &a0, sipType_QMediaTimeRange, &a1))
        {
             ::QMediaTimeRange*sipRes;

            sipRes = new  ::QMediaTimeRange((*a0 - *a1));

            return sipConvertFromNewType(sipRes,sipType_QMediaTimeRange,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, sub_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QMediaTimeRange___isub__(PyObject *,PyObject *);}
static PyObject *slot_QMediaTimeRange___isub__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QMediaTimeRange)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QMediaTimeRange *sipCpp = reinterpret_cast< ::QMediaTimeRange *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMediaTimeRange));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaTimeRange* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QMediaTimeRange, &a0))
        {
            sipCpp-> ::QMediaTimeRange::operator-=(*a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    {
        const  ::QMediaTimeInterval* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QMediaTimeInterval, &a0))
        {
            sipCpp-> ::QMediaTimeRange::operator-=(*a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QMediaTimeRange___iadd__(PyObject *,PyObject *);}
static PyObject *slot_QMediaTimeRange___iadd__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QMediaTimeRange)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QMediaTimeRange *sipCpp = reinterpret_cast< ::QMediaTimeRange *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMediaTimeRange));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaTimeRange* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QMediaTimeRange, &a0))
        {
            sipCpp-> ::QMediaTimeRange::operator+=(*a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    {
        const  ::QMediaTimeInterval* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QMediaTimeInterval, &a0))
        {
            sipCpp-> ::QMediaTimeRange::operator+=(*a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Call the instance's destructor. */
extern "C" {static void release_QMediaTimeRange(void *, int);}
static void release_QMediaTimeRange(void *sipCppV, int)
{
    delete reinterpret_cast< ::QMediaTimeRange *>(sipCppV);
}


extern "C" {static void assign_QMediaTimeRange(void *, SIP_SSIZE_T, const void *);}
static void assign_QMediaTimeRange(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QMediaTimeRange *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QMediaTimeRange *>(sipSrc);
}


extern "C" {static void *array_QMediaTimeRange(SIP_SSIZE_T);}
static void *array_QMediaTimeRange(SIP_SSIZE_T sipNrElem)
{
    return new  ::QMediaTimeRange[sipNrElem];
}


extern "C" {static void *copy_QMediaTimeRange(const void *, SIP_SSIZE_T);}
static void *copy_QMediaTimeRange(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QMediaTimeRange(reinterpret_cast<const  ::QMediaTimeRange *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QMediaTimeRange(sipSimpleWrapper *);}
static void dealloc_QMediaTimeRange(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QMediaTimeRange(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QMediaTimeRange(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMediaTimeRange(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QMediaTimeRange *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QMediaTimeRange();

            return sipCpp;
        }
    }

    {
         ::qint64 a0;
         ::qint64 a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "nn", &a0, &a1))
        {
            sipCpp = new  ::QMediaTimeRange(a0,a1);

            return sipCpp;
        }
    }

    {
        const  ::QMediaTimeInterval* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QMediaTimeInterval, &a0))
        {
            sipCpp = new  ::QMediaTimeRange(*a0);

            return sipCpp;
        }
    }

    {
        const  ::QMediaTimeRange* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QMediaTimeRange, &a0))
        {
            sipCpp = new  ::QMediaTimeRange(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QMediaTimeRange[] = {
    {(void *)slot_QMediaTimeRange___eq__, eq_slot},
    {(void *)slot_QMediaTimeRange___ne__, ne_slot},
    {(void *)slot_QMediaTimeRange___add__, add_slot},
    {(void *)slot_QMediaTimeRange___sub__, sub_slot},
    {(void *)slot_QMediaTimeRange___isub__, isub_slot},
    {(void *)slot_QMediaTimeRange___iadd__, iadd_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QMediaTimeRange[] = {
    {SIP_MLNAME_CAST(sipName_addInterval), meth_QMediaTimeRange_addInterval, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaTimeRange_addInterval)},
    {SIP_MLNAME_CAST(sipName_addTimeRange), meth_QMediaTimeRange_addTimeRange, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaTimeRange_addTimeRange)},
    {SIP_MLNAME_CAST(sipName_clear), meth_QMediaTimeRange_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaTimeRange_clear)},
    {SIP_MLNAME_CAST(sipName_contains), meth_QMediaTimeRange_contains, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaTimeRange_contains)},
    {SIP_MLNAME_CAST(sipName_earliestTime), meth_QMediaTimeRange_earliestTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaTimeRange_earliestTime)},
    {SIP_MLNAME_CAST(sipName_intervals), meth_QMediaTimeRange_intervals, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaTimeRange_intervals)},
    {SIP_MLNAME_CAST(sipName_isContinuous), meth_QMediaTimeRange_isContinuous, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaTimeRange_isContinuous)},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_QMediaTimeRange_isEmpty, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaTimeRange_isEmpty)},
    {SIP_MLNAME_CAST(sipName_latestTime), meth_QMediaTimeRange_latestTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaTimeRange_latestTime)},
    {SIP_MLNAME_CAST(sipName_removeInterval), meth_QMediaTimeRange_removeInterval, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaTimeRange_removeInterval)},
    {SIP_MLNAME_CAST(sipName_removeTimeRange), meth_QMediaTimeRange_removeTimeRange, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaTimeRange_removeTimeRange)}
};

PyDoc_STRVAR(doc_QMediaTimeRange, "\1QMediaTimeRange()\n"
    "QMediaTimeRange(int, int)\n"
    "QMediaTimeRange(QMediaTimeInterval)\n"
    "QMediaTimeRange(QMediaTimeRange)");


static pyqt5ClassPluginDef plugin_QMediaTimeRange = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QMediaTimeRange = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMediaTimeRange,
        {0},
        &plugin_QMediaTimeRange
    },
    {
        sipNameNr_QMediaTimeRange,
        {0, 0, 1},
        11, methods_QMediaTimeRange,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMediaTimeRange,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QMediaTimeRange,
    init_type_QMediaTimeRange,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMediaTimeRange,
    assign_QMediaTimeRange,
    array_QMediaTimeRange,
    copy_QMediaTimeRange,
    release_QMediaTimeRange,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediatimerange.sip"
#include <qmediatimerange.h>
#line 13318 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"



PyDoc_STRVAR(doc_QMediaTimeInterval_start, "start(self) -> int");

extern "C" {static PyObject *meth_QMediaTimeInterval_start(PyObject *, PyObject *);}
static PyObject *meth_QMediaTimeInterval_start(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaTimeInterval *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaTimeInterval, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->start();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaTimeInterval, sipName_start, doc_QMediaTimeInterval_start);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaTimeInterval_end, "end(self) -> int");

extern "C" {static PyObject *meth_QMediaTimeInterval_end(PyObject *, PyObject *);}
static PyObject *meth_QMediaTimeInterval_end(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaTimeInterval *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaTimeInterval, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->end();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaTimeInterval, sipName_end, doc_QMediaTimeInterval_end);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaTimeInterval_contains, "contains(self, int) -> bool");

extern "C" {static PyObject *meth_QMediaTimeInterval_contains(PyObject *, PyObject *);}
static PyObject *meth_QMediaTimeInterval_contains(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint64 a0;
        const  ::QMediaTimeInterval *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QMediaTimeInterval, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->contains(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaTimeInterval, sipName_contains, doc_QMediaTimeInterval_contains);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaTimeInterval_isNormal, "isNormal(self) -> bool");

extern "C" {static PyObject *meth_QMediaTimeInterval_isNormal(PyObject *, PyObject *);}
static PyObject *meth_QMediaTimeInterval_isNormal(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaTimeInterval *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaTimeInterval, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isNormal();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaTimeInterval, sipName_isNormal, doc_QMediaTimeInterval_isNormal);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaTimeInterval_normalized, "normalized(self) -> QMediaTimeInterval");

extern "C" {static PyObject *meth_QMediaTimeInterval_normalized(PyObject *, PyObject *);}
static PyObject *meth_QMediaTimeInterval_normalized(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaTimeInterval *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaTimeInterval, &sipCpp))
        {
             ::QMediaTimeInterval*sipRes;

            sipRes = new  ::QMediaTimeInterval(sipCpp->normalized());

            return sipConvertFromNewType(sipRes,sipType_QMediaTimeInterval,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaTimeInterval, sipName_normalized, doc_QMediaTimeInterval_normalized);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaTimeInterval_translated, "translated(self, int) -> QMediaTimeInterval");

extern "C" {static PyObject *meth_QMediaTimeInterval_translated(PyObject *, PyObject *);}
static PyObject *meth_QMediaTimeInterval_translated(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint64 a0;
        const  ::QMediaTimeInterval *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QMediaTimeInterval, &sipCpp, &a0))
        {
             ::QMediaTimeInterval*sipRes;

            sipRes = new  ::QMediaTimeInterval(sipCpp->translated(a0));

            return sipConvertFromNewType(sipRes,sipType_QMediaTimeInterval,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaTimeInterval, sipName_translated, doc_QMediaTimeInterval_translated);

    return NULL;
}


extern "C" {static PyObject *slot_QMediaTimeInterval___eq__(PyObject *,PyObject *);}
static PyObject *slot_QMediaTimeInterval___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QMediaTimeInterval *sipCpp = reinterpret_cast< ::QMediaTimeInterval *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMediaTimeInterval));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaTimeInterval* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QMediaTimeInterval, &a0))
        {
            bool sipRes;

            sipRes = operator==((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, eq_slot, sipType_QMediaTimeInterval, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QMediaTimeInterval___ne__(PyObject *,PyObject *);}
static PyObject *slot_QMediaTimeInterval___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QMediaTimeInterval *sipCpp = reinterpret_cast< ::QMediaTimeInterval *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMediaTimeInterval));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaTimeInterval* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QMediaTimeInterval, &a0))
        {
            bool sipRes;

            sipRes = operator!=((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, ne_slot, sipType_QMediaTimeInterval, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QMediaTimeInterval(void *, int);}
static void release_QMediaTimeInterval(void *sipCppV, int)
{
    delete reinterpret_cast< ::QMediaTimeInterval *>(sipCppV);
}


extern "C" {static void assign_QMediaTimeInterval(void *, SIP_SSIZE_T, const void *);}
static void assign_QMediaTimeInterval(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QMediaTimeInterval *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QMediaTimeInterval *>(sipSrc);
}


extern "C" {static void *array_QMediaTimeInterval(SIP_SSIZE_T);}
static void *array_QMediaTimeInterval(SIP_SSIZE_T sipNrElem)
{
    return new  ::QMediaTimeInterval[sipNrElem];
}


extern "C" {static void *copy_QMediaTimeInterval(const void *, SIP_SSIZE_T);}
static void *copy_QMediaTimeInterval(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QMediaTimeInterval(reinterpret_cast<const  ::QMediaTimeInterval *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QMediaTimeInterval(sipSimpleWrapper *);}
static void dealloc_QMediaTimeInterval(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QMediaTimeInterval(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QMediaTimeInterval(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMediaTimeInterval(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QMediaTimeInterval *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QMediaTimeInterval();

            return sipCpp;
        }
    }

    {
         ::qint64 a0;
         ::qint64 a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "nn", &a0, &a1))
        {
            sipCpp = new  ::QMediaTimeInterval(a0,a1);

            return sipCpp;
        }
    }

    {
        const  ::QMediaTimeInterval* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QMediaTimeInterval, &a0))
        {
            sipCpp = new  ::QMediaTimeInterval(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QMediaTimeInterval[] = {
    {(void *)slot_QMediaTimeInterval___eq__, eq_slot},
    {(void *)slot_QMediaTimeInterval___ne__, ne_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QMediaTimeInterval[] = {
    {SIP_MLNAME_CAST(sipName_contains), meth_QMediaTimeInterval_contains, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaTimeInterval_contains)},
    {SIP_MLNAME_CAST(sipName_end), meth_QMediaTimeInterval_end, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaTimeInterval_end)},
    {SIP_MLNAME_CAST(sipName_isNormal), meth_QMediaTimeInterval_isNormal, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaTimeInterval_isNormal)},
    {SIP_MLNAME_CAST(sipName_normalized), meth_QMediaTimeInterval_normalized, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaTimeInterval_normalized)},
    {SIP_MLNAME_CAST(sipName_start), meth_QMediaTimeInterval_start, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaTimeInterval_start)},
    {SIP_MLNAME_CAST(sipName_translated), meth_QMediaTimeInterval_translated, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaTimeInterval_translated)}
};

PyDoc_STRVAR(doc_QMediaTimeInterval, "\1QMediaTimeInterval()\n"
    "QMediaTimeInterval(int, int)\n"
    "QMediaTimeInterval(QMediaTimeInterval)");


static pyqt5ClassPluginDef plugin_QMediaTimeInterval = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QMediaTimeInterval = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMediaTimeInterval,
        {0},
        &plugin_QMediaTimeInterval
    },
    {
        sipNameNr_QMediaTimeInterval,
        {0, 0, 1},
        6, methods_QMediaTimeInterval,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMediaTimeInterval,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QMediaTimeInterval,
    init_type_QMediaTimeInterval,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMediaTimeInterval,
    assign_QMediaTimeInterval,
    array_QMediaTimeInterval,
    copy_QMediaTimeInterval,
    release_QMediaTimeInterval,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaservice.sip"
#include <qmediaservice.h>
#line 13718 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 13722 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediacontrol.sip"
#include <qmediacontrol.h>
#line 13725 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 13728 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13731 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13734 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13737 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 13740 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 13743 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 13746 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 13749 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 13752 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13755 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 13758 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13761 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 13764 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 13767 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 13770 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


class sipQMediaService : public  ::QMediaService
{
public:
    sipQMediaService( ::QObject*);
    virtual ~sipQMediaService();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
     ::QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool, ::QTimerEvent*);
    void sipProtectVirt_childEvent(bool, ::QChildEvent*);
    void sipProtectVirt_customEvent(bool, ::QEvent*);
    void sipProtectVirt_connectNotify(bool,const  ::QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const  ::QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const  ::QMetaMethod&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void releaseControl( ::QMediaControl*);
     ::QMediaControl* requestControl(const char*);
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQMediaService(const sipQMediaService &);
    sipQMediaService &operator = (const sipQMediaService &);

    char sipPyMethods[9];
};

sipQMediaService::sipQMediaService( ::QObject*a0):  ::QMediaService(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQMediaService::~sipQMediaService()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQMediaService::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf,sipType_QMediaService);

    return  ::QMediaService::metaObject();
}

int sipQMediaService::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QMediaService::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtMultimedia_qt_metacall(sipPySelf,sipType_QMediaService,_c,_id,_a);

    return _id;
}

void *sipQMediaService::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtMultimedia_qt_metacast(sipPySelf, sipType_QMediaService, _clname, &sipCpp) ? sipCpp :  ::QMediaService::qt_metacast(_clname));
}

void sipQMediaService::releaseControl( ::QMediaControl*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_QMediaService,sipName_releaseControl);

    if (!sipMeth)
        return;

    extern void sipVH_QtMultimedia_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMediaControl*);

    sipVH_QtMultimedia_24(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QMediaControl* sipQMediaService::requestControl(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_QMediaService,sipName_requestControl);

    if (!sipMeth)
        return 0;

    extern  ::QMediaControl* sipVH_QtMultimedia_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    return sipVH_QtMultimedia_23(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQMediaService::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QMediaService::event(a0);

    extern bool sipVH_QtMultimedia_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtMultimedia_10(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQMediaService::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QMediaService::eventFilter(a0,a1);

    extern bool sipVH_QtMultimedia_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtMultimedia_9(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQMediaService::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QMediaService::timerEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtMultimedia_8(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMediaService::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QMediaService::childEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtMultimedia_7(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMediaService::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QMediaService::customEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtMultimedia_6(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMediaService::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QMediaService::connectNotify(a0);
        return;
    }

    extern void sipVH_QtMultimedia_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMediaService::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QMediaService::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtMultimedia_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQMediaService::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQMediaService::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQMediaService::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQMediaService::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQMediaService::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQMediaService::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQMediaService::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQMediaService::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQMediaService::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QMediaService_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QMediaService_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaService_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQMediaService *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMediaService, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 14096 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaService, sipName_sender, doc_QMediaService_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaService_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QMediaService_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaService_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQMediaService *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QMediaService, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 14156 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.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_QMediaService, sipName_receivers, doc_QMediaService_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaService_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QMediaService_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaService_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQMediaService *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMediaService, &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_QMediaService, sipName_timerEvent, doc_QMediaService_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaService_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QMediaService_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaService_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQMediaService *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMediaService, &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_QMediaService, sipName_childEvent, doc_QMediaService_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaService_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QMediaService_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaService_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQMediaService *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMediaService, &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_QMediaService, sipName_customEvent, doc_QMediaService_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaService_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QMediaService_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaService_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQMediaService *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMediaService, &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_QMediaService, sipName_connectNotify, doc_QMediaService_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaService_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QMediaService_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaService_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQMediaService *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMediaService, &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_QMediaService, sipName_disconnectNotify, doc_QMediaService_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaService_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QMediaService_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaService_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQMediaService *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMediaService, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaService, sipName_senderSignalIndex, doc_QMediaService_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaService_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QMediaService_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaService_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQMediaService *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMediaService, &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_QMediaService, sipName_isSignalConnected, doc_QMediaService_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaService_requestControl, "requestControl(self, str) -> QMediaControl");

extern "C" {static PyObject *meth_QMediaService_requestControl(PyObject *, PyObject *);}
static PyObject *meth_QMediaService_requestControl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const char* a0;
         ::QMediaService *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bs", &sipSelf, sipType_QMediaService, &sipCpp, &a0))
        {
             ::QMediaControl*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QMediaService, sipName_requestControl);
                return NULL;
            }

            sipRes = sipCpp->requestControl(a0);

            return sipConvertFromType(sipRes,sipType_QMediaControl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaService, sipName_requestControl, doc_QMediaService_requestControl);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaService_releaseControl, "releaseControl(self, QMediaControl)");

extern "C" {static PyObject *meth_QMediaService_releaseControl(PyObject *, PyObject *);}
static PyObject *meth_QMediaService_releaseControl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::QMediaControl* a0;
         ::QMediaService *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QMediaService, &sipCpp, sipType_QMediaControl, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QMediaService, sipName_releaseControl);
                return NULL;
            }

            sipCpp->releaseControl(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaService, sipName_releaseControl, doc_QMediaService_releaseControl);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QMediaService(void *, const sipTypeDef *);}
static void *cast_QMediaService(void *sipCppV, const sipTypeDef *targetType)
{
     ::QMediaService *sipCpp = reinterpret_cast< ::QMediaService *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QMediaService(void *, int);}
static void release_QMediaService(void *sipCppV, int)
{
     ::QMediaService *sipCpp = reinterpret_cast< ::QMediaService *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QMediaService(sipSimpleWrapper *);}
static void dealloc_QMediaService(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQMediaService *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QMediaService(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QMediaService(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMediaService(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQMediaService *sipCpp = 0;

    {
         ::QObject* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQMediaService(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QMediaService[] = {{9, 0, 1}};


static PyMethodDef methods_QMediaService[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QMediaService_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QMediaService_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QMediaService_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QMediaService_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QMediaService_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QMediaService_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_releaseControl), meth_QMediaService_releaseControl, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaService_releaseControl)},
    {SIP_MLNAME_CAST(sipName_requestControl), meth_QMediaService_requestControl, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaService_requestControl)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QMediaService_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QMediaService_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QMediaService_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QMediaService, "\1QMediaService(QObject)");


static pyqt5ClassPluginDef plugin_QMediaService = {
    & ::QMediaService::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QMediaService = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMediaService,
        {0},
        &plugin_QMediaService
    },
    {
        sipNameNr_QMediaService,
        {0, 0, 1},
        11, methods_QMediaService,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMediaService,
    -1,
    -1,
    supers_QMediaService,
    0,
    init_type_QMediaService,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMediaService,
    0,
    0,
    0,
    release_QMediaService,
    cast_QMediaService,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaresource.sip"
#include <qmediaresource.h>
#line 14592 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 96 "sip/QtCore/qurl.sip"
#include <qurl.h>
#line 14596 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 14599 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtNetwork/qnetworkrequest.sip"
#include <qnetworkrequest.h>
#line 14602 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 14605 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


PyDoc_STRVAR(doc_QMediaResource_isNull, "isNull(self) -> bool");

extern "C" {static PyObject *meth_QMediaResource_isNull(PyObject *, PyObject *);}
static PyObject *meth_QMediaResource_isNull(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaResource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaResource, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isNull();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaResource, sipName_isNull, doc_QMediaResource_isNull);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaResource_url, "url(self) -> QUrl");

extern "C" {static PyObject *meth_QMediaResource_url(PyObject *, PyObject *);}
static PyObject *meth_QMediaResource_url(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaResource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaResource, &sipCpp))
        {
             ::QUrl*sipRes;

            sipRes = new  ::QUrl(sipCpp->url());

            return sipConvertFromNewType(sipRes,sipType_QUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaResource, sipName_url, doc_QMediaResource_url);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaResource_request, "request(self) -> QNetworkRequest");

extern "C" {static PyObject *meth_QMediaResource_request(PyObject *, PyObject *);}
static PyObject *meth_QMediaResource_request(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaResource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaResource, &sipCpp))
        {
             ::QNetworkRequest*sipRes;

            sipRes = new  ::QNetworkRequest(sipCpp->request());

            return sipConvertFromNewType(sipRes,sipType_QNetworkRequest,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaResource, sipName_request, doc_QMediaResource_request);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaResource_mimeType, "mimeType(self) -> str");

extern "C" {static PyObject *meth_QMediaResource_mimeType(PyObject *, PyObject *);}
static PyObject *meth_QMediaResource_mimeType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaResource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaResource, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->mimeType());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaResource, sipName_mimeType, doc_QMediaResource_mimeType);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaResource_language, "language(self) -> str");

extern "C" {static PyObject *meth_QMediaResource_language(PyObject *, PyObject *);}
static PyObject *meth_QMediaResource_language(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaResource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaResource, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->language());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaResource, sipName_language, doc_QMediaResource_language);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaResource_setLanguage, "setLanguage(self, str)");

extern "C" {static PyObject *meth_QMediaResource_setLanguage(PyObject *, PyObject *);}
static PyObject *meth_QMediaResource_setLanguage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QMediaResource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMediaResource, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setLanguage(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaResource, sipName_setLanguage, doc_QMediaResource_setLanguage);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaResource_audioCodec, "audioCodec(self) -> str");

extern "C" {static PyObject *meth_QMediaResource_audioCodec(PyObject *, PyObject *);}
static PyObject *meth_QMediaResource_audioCodec(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaResource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaResource, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->audioCodec());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaResource, sipName_audioCodec, doc_QMediaResource_audioCodec);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaResource_setAudioCodec, "setAudioCodec(self, str)");

extern "C" {static PyObject *meth_QMediaResource_setAudioCodec(PyObject *, PyObject *);}
static PyObject *meth_QMediaResource_setAudioCodec(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QMediaResource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMediaResource, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setAudioCodec(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaResource, sipName_setAudioCodec, doc_QMediaResource_setAudioCodec);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaResource_videoCodec, "videoCodec(self) -> str");

extern "C" {static PyObject *meth_QMediaResource_videoCodec(PyObject *, PyObject *);}
static PyObject *meth_QMediaResource_videoCodec(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaResource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaResource, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->videoCodec());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaResource, sipName_videoCodec, doc_QMediaResource_videoCodec);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaResource_setVideoCodec, "setVideoCodec(self, str)");

extern "C" {static PyObject *meth_QMediaResource_setVideoCodec(PyObject *, PyObject *);}
static PyObject *meth_QMediaResource_setVideoCodec(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QMediaResource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMediaResource, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setVideoCodec(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaResource, sipName_setVideoCodec, doc_QMediaResource_setVideoCodec);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaResource_dataSize, "dataSize(self) -> int");

extern "C" {static PyObject *meth_QMediaResource_dataSize(PyObject *, PyObject *);}
static PyObject *meth_QMediaResource_dataSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaResource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaResource, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->dataSize();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaResource, sipName_dataSize, doc_QMediaResource_dataSize);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaResource_setDataSize, "setDataSize(self, int)");

extern "C" {static PyObject *meth_QMediaResource_setDataSize(PyObject *, PyObject *);}
static PyObject *meth_QMediaResource_setDataSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint64 a0;
         ::QMediaResource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QMediaResource, &sipCpp, &a0))
        {
            sipCpp->setDataSize(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaResource, sipName_setDataSize, doc_QMediaResource_setDataSize);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaResource_audioBitRate, "audioBitRate(self) -> int");

extern "C" {static PyObject *meth_QMediaResource_audioBitRate(PyObject *, PyObject *);}
static PyObject *meth_QMediaResource_audioBitRate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaResource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaResource, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->audioBitRate();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaResource, sipName_audioBitRate, doc_QMediaResource_audioBitRate);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaResource_setAudioBitRate, "setAudioBitRate(self, int)");

extern "C" {static PyObject *meth_QMediaResource_setAudioBitRate(PyObject *, PyObject *);}
static PyObject *meth_QMediaResource_setAudioBitRate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QMediaResource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QMediaResource, &sipCpp, &a0))
        {
            sipCpp->setAudioBitRate(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaResource, sipName_setAudioBitRate, doc_QMediaResource_setAudioBitRate);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaResource_sampleRate, "sampleRate(self) -> int");

extern "C" {static PyObject *meth_QMediaResource_sampleRate(PyObject *, PyObject *);}
static PyObject *meth_QMediaResource_sampleRate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaResource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaResource, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sampleRate();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaResource, sipName_sampleRate, doc_QMediaResource_sampleRate);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaResource_setSampleRate, "setSampleRate(self, int)");

extern "C" {static PyObject *meth_QMediaResource_setSampleRate(PyObject *, PyObject *);}
static PyObject *meth_QMediaResource_setSampleRate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QMediaResource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QMediaResource, &sipCpp, &a0))
        {
            sipCpp->setSampleRate(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaResource, sipName_setSampleRate, doc_QMediaResource_setSampleRate);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaResource_channelCount, "channelCount(self) -> int");

extern "C" {static PyObject *meth_QMediaResource_channelCount(PyObject *, PyObject *);}
static PyObject *meth_QMediaResource_channelCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaResource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaResource, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->channelCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaResource, sipName_channelCount, doc_QMediaResource_channelCount);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaResource_setChannelCount, "setChannelCount(self, int)");

extern "C" {static PyObject *meth_QMediaResource_setChannelCount(PyObject *, PyObject *);}
static PyObject *meth_QMediaResource_setChannelCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QMediaResource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QMediaResource, &sipCpp, &a0))
        {
            sipCpp->setChannelCount(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaResource, sipName_setChannelCount, doc_QMediaResource_setChannelCount);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaResource_videoBitRate, "videoBitRate(self) -> int");

extern "C" {static PyObject *meth_QMediaResource_videoBitRate(PyObject *, PyObject *);}
static PyObject *meth_QMediaResource_videoBitRate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaResource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaResource, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->videoBitRate();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaResource, sipName_videoBitRate, doc_QMediaResource_videoBitRate);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaResource_setVideoBitRate, "setVideoBitRate(self, int)");

extern "C" {static PyObject *meth_QMediaResource_setVideoBitRate(PyObject *, PyObject *);}
static PyObject *meth_QMediaResource_setVideoBitRate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QMediaResource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QMediaResource, &sipCpp, &a0))
        {
            sipCpp->setVideoBitRate(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaResource, sipName_setVideoBitRate, doc_QMediaResource_setVideoBitRate);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaResource_resolution, "resolution(self) -> QSize");

extern "C" {static PyObject *meth_QMediaResource_resolution(PyObject *, PyObject *);}
static PyObject *meth_QMediaResource_resolution(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaResource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaResource, &sipCpp))
        {
             ::QSize*sipRes;

            sipRes = new  ::QSize(sipCpp->resolution());

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaResource, sipName_resolution, doc_QMediaResource_resolution);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaResource_setResolution, "setResolution(self, QSize)\n"
    "setResolution(self, int, int)");

extern "C" {static PyObject *meth_QMediaResource_setResolution(PyObject *, PyObject *);}
static PyObject *meth_QMediaResource_setResolution(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSize* a0;
         ::QMediaResource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QMediaResource, &sipCpp, sipType_QSize, &a0))
        {
            sipCpp->setResolution(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        int a1;
         ::QMediaResource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QMediaResource, &sipCpp, &a0, &a1))
        {
            sipCpp->setResolution(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaResource, sipName_setResolution, doc_QMediaResource_setResolution);

    return NULL;
}


extern "C" {static PyObject *slot_QMediaResource___ne__(PyObject *,PyObject *);}
static PyObject *slot_QMediaResource___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QMediaResource *sipCpp = reinterpret_cast< ::QMediaResource *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMediaResource));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaResource* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QMediaResource, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QMediaResource::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, ne_slot, sipType_QMediaResource, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QMediaResource___eq__(PyObject *,PyObject *);}
static PyObject *slot_QMediaResource___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QMediaResource *sipCpp = reinterpret_cast< ::QMediaResource *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMediaResource));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaResource* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QMediaResource, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QMediaResource::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, eq_slot, sipType_QMediaResource, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QMediaResource(void *, int);}
static void release_QMediaResource(void *sipCppV, int)
{
    delete reinterpret_cast< ::QMediaResource *>(sipCppV);
}


extern "C" {static void assign_QMediaResource(void *, SIP_SSIZE_T, const void *);}
static void assign_QMediaResource(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QMediaResource *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QMediaResource *>(sipSrc);
}


extern "C" {static void *array_QMediaResource(SIP_SSIZE_T);}
static void *array_QMediaResource(SIP_SSIZE_T sipNrElem)
{
    return new  ::QMediaResource[sipNrElem];
}


extern "C" {static void *copy_QMediaResource(const void *, SIP_SSIZE_T);}
static void *copy_QMediaResource(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QMediaResource(reinterpret_cast<const  ::QMediaResource *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QMediaResource(sipSimpleWrapper *);}
static void dealloc_QMediaResource(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QMediaResource(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QMediaResource(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMediaResource(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QMediaResource *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QMediaResource();

            return sipCpp;
        }
    }

    {
        const  ::QUrl* a0;
        const  ::QString& a1def = QString();
        const  ::QString* a1 = &a1def;
        int a1State = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mimeType,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J9|J1", sipType_QUrl, &a0, sipType_QString,&a1, &a1State))
        {
            sipCpp = new  ::QMediaResource(*a0,*a1);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            return sipCpp;
        }
    }

    {
        const  ::QNetworkRequest* a0;
        const  ::QString& a1def = QString();
        const  ::QString* a1 = &a1def;
        int a1State = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mimeType,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J9|J1", sipType_QNetworkRequest, &a0, sipType_QString,&a1, &a1State))
        {
            sipCpp = new  ::QMediaResource(*a0,*a1);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            return sipCpp;
        }
    }

    {
        const  ::QMediaResource* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QMediaResource, &a0))
        {
            sipCpp = new  ::QMediaResource(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QMediaResource[] = {
    {(void *)slot_QMediaResource___ne__, ne_slot},
    {(void *)slot_QMediaResource___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QMediaResource[] = {
    {SIP_MLNAME_CAST(sipName_audioBitRate), meth_QMediaResource_audioBitRate, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaResource_audioBitRate)},
    {SIP_MLNAME_CAST(sipName_audioCodec), meth_QMediaResource_audioCodec, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaResource_audioCodec)},
    {SIP_MLNAME_CAST(sipName_channelCount), meth_QMediaResource_channelCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaResource_channelCount)},
    {SIP_MLNAME_CAST(sipName_dataSize), meth_QMediaResource_dataSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaResource_dataSize)},
    {SIP_MLNAME_CAST(sipName_isNull), meth_QMediaResource_isNull, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaResource_isNull)},
    {SIP_MLNAME_CAST(sipName_language), meth_QMediaResource_language, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaResource_language)},
    {SIP_MLNAME_CAST(sipName_mimeType), meth_QMediaResource_mimeType, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaResource_mimeType)},
    {SIP_MLNAME_CAST(sipName_request), meth_QMediaResource_request, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaResource_request)},
    {SIP_MLNAME_CAST(sipName_resolution), meth_QMediaResource_resolution, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaResource_resolution)},
    {SIP_MLNAME_CAST(sipName_sampleRate), meth_QMediaResource_sampleRate, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaResource_sampleRate)},
    {SIP_MLNAME_CAST(sipName_setAudioBitRate), meth_QMediaResource_setAudioBitRate, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaResource_setAudioBitRate)},
    {SIP_MLNAME_CAST(sipName_setAudioCodec), meth_QMediaResource_setAudioCodec, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaResource_setAudioCodec)},
    {SIP_MLNAME_CAST(sipName_setChannelCount), meth_QMediaResource_setChannelCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaResource_setChannelCount)},
    {SIP_MLNAME_CAST(sipName_setDataSize), meth_QMediaResource_setDataSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaResource_setDataSize)},
    {SIP_MLNAME_CAST(sipName_setLanguage), meth_QMediaResource_setLanguage, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaResource_setLanguage)},
    {SIP_MLNAME_CAST(sipName_setResolution), meth_QMediaResource_setResolution, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaResource_setResolution)},
    {SIP_MLNAME_CAST(sipName_setSampleRate), meth_QMediaResource_setSampleRate, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaResource_setSampleRate)},
    {SIP_MLNAME_CAST(sipName_setVideoBitRate), meth_QMediaResource_setVideoBitRate, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaResource_setVideoBitRate)},
    {SIP_MLNAME_CAST(sipName_setVideoCodec), meth_QMediaResource_setVideoCodec, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaResource_setVideoCodec)},
    {SIP_MLNAME_CAST(sipName_url), meth_QMediaResource_url, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaResource_url)},
    {SIP_MLNAME_CAST(sipName_videoBitRate), meth_QMediaResource_videoBitRate, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaResource_videoBitRate)},
    {SIP_MLNAME_CAST(sipName_videoCodec), meth_QMediaResource_videoCodec, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaResource_videoCodec)}
};

PyDoc_STRVAR(doc_QMediaResource, "\1QMediaResource()\n"
    "QMediaResource(QUrl, mimeType: str = '')\n"
    "QMediaResource(QNetworkRequest, mimeType: str = '')\n"
    "QMediaResource(QMediaResource)");


static pyqt5ClassPluginDef plugin_QMediaResource = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QMediaResource = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMediaResource,
        {0},
        &plugin_QMediaResource
    },
    {
        sipNameNr_QMediaResource,
        {0, 0, 1},
        22, methods_QMediaResource,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMediaResource,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QMediaResource,
    init_type_QMediaResource,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMediaResource,
    assign_QMediaResource,
    array_QMediaResource,
    copy_QMediaResource,
    release_QMediaResource,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaplaylist.sip"
#include <qmediaplaylist.h>
#line 15517 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 15521 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaobject.sip"
#include <qmediaobject.h>
#line 15524 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediacontent.sip"
#include <qmediacontent.h>
#line 15527 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 15530 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 96 "sip/QtCore/qurl.sip"
#include <qurl.h>
#line 15533 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 15536 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtNetwork/qnetworkrequest.sip"
#include <qnetworkrequest.h>
#line 15539 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 15542 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 15545 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15548 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15551 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15554 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 15557 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 15560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 15563 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 15566 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15569 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 15572 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15575 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 15578 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 15581 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 15584 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


class sipQMediaPlaylist : public  ::QMediaPlaylist
{
public:
    sipQMediaPlaylist( ::QObject*);
    virtual ~sipQMediaPlaylist();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
     ::QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool, ::QTimerEvent*);
    void sipProtectVirt_childEvent(bool, ::QChildEvent*);
    void sipProtectVirt_customEvent(bool, ::QEvent*);
    void sipProtectVirt_connectNotify(bool,const  ::QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const  ::QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const  ::QMetaMethod&) const;
    bool sipProtectVirt_setMediaObject(bool, ::QMediaObject*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
     ::QMediaObject* mediaObject() const;
    bool setMediaObject( ::QMediaObject*);
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQMediaPlaylist(const sipQMediaPlaylist &);
    sipQMediaPlaylist &operator = (const sipQMediaPlaylist &);

    char sipPyMethods[9];
};

sipQMediaPlaylist::sipQMediaPlaylist( ::QObject*a0):  ::QMediaPlaylist(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQMediaPlaylist::~sipQMediaPlaylist()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQMediaPlaylist::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf,sipType_QMediaPlaylist);

    return  ::QMediaPlaylist::metaObject();
}

int sipQMediaPlaylist::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QMediaPlaylist::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtMultimedia_qt_metacall(sipPySelf,sipType_QMediaPlaylist,_c,_id,_a);

    return _id;
}

void *sipQMediaPlaylist::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtMultimedia_qt_metacast(sipPySelf, sipType_QMediaPlaylist, _clname, &sipCpp) ? sipCpp :  ::QMediaPlaylist::qt_metacast(_clname));
}

 ::QMediaObject* sipQMediaPlaylist::mediaObject() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_mediaObject);

    if (!sipMeth)
        return  ::QMediaPlaylist::mediaObject();

    extern  ::QMediaObject* sipVH_QtMultimedia_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtMultimedia_21(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQMediaPlaylist::setMediaObject( ::QMediaObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_setMediaObject);

    if (!sipMeth)
        return  ::QMediaPlaylist::setMediaObject(a0);

    extern bool sipVH_QtMultimedia_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMediaObject*);

    return sipVH_QtMultimedia_22(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQMediaPlaylist::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QMediaPlaylist::event(a0);

    extern bool sipVH_QtMultimedia_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtMultimedia_10(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQMediaPlaylist::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QMediaPlaylist::eventFilter(a0,a1);

    extern bool sipVH_QtMultimedia_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtMultimedia_9(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQMediaPlaylist::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QMediaPlaylist::timerEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtMultimedia_8(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMediaPlaylist::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QMediaPlaylist::childEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtMultimedia_7(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMediaPlaylist::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QMediaPlaylist::customEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtMultimedia_6(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMediaPlaylist::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QMediaPlaylist::connectNotify(a0);
        return;
    }

    extern void sipVH_QtMultimedia_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMediaPlaylist::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QMediaPlaylist::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtMultimedia_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQMediaPlaylist::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQMediaPlaylist::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQMediaPlaylist::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQMediaPlaylist::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQMediaPlaylist::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQMediaPlaylist::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQMediaPlaylist::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQMediaPlaylist::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQMediaPlaylist::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

bool sipQMediaPlaylist::sipProtectVirt_setMediaObject(bool sipSelfWasArg, ::QMediaObject*a0)
{
    return (sipSelfWasArg ?  ::QMediaPlaylist::setMediaObject(a0) : setMediaObject(a0));
}


PyDoc_STRVAR(doc_QMediaPlaylist_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QMediaPlaylist_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaPlaylist_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQMediaPlaylist *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMediaPlaylist, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 15916 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlaylist, sipName_sender, doc_QMediaPlaylist_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlaylist_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QMediaPlaylist_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaPlaylist_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQMediaPlaylist *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QMediaPlaylist, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 15976 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.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_QMediaPlaylist, sipName_receivers, doc_QMediaPlaylist_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlaylist_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QMediaPlaylist_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaPlaylist_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQMediaPlaylist *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMediaPlaylist, &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_QMediaPlaylist, sipName_timerEvent, doc_QMediaPlaylist_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlaylist_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QMediaPlaylist_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaPlaylist_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQMediaPlaylist *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMediaPlaylist, &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_QMediaPlaylist, sipName_childEvent, doc_QMediaPlaylist_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlaylist_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QMediaPlaylist_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaPlaylist_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQMediaPlaylist *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMediaPlaylist, &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_QMediaPlaylist, sipName_customEvent, doc_QMediaPlaylist_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlaylist_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QMediaPlaylist_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaPlaylist_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQMediaPlaylist *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMediaPlaylist, &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_QMediaPlaylist, sipName_connectNotify, doc_QMediaPlaylist_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlaylist_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QMediaPlaylist_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaPlaylist_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQMediaPlaylist *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMediaPlaylist, &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_QMediaPlaylist, sipName_disconnectNotify, doc_QMediaPlaylist_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlaylist_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QMediaPlaylist_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaPlaylist_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQMediaPlaylist *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMediaPlaylist, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlaylist, sipName_senderSignalIndex, doc_QMediaPlaylist_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlaylist_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QMediaPlaylist_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaPlaylist_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQMediaPlaylist *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMediaPlaylist, &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_QMediaPlaylist, sipName_isSignalConnected, doc_QMediaPlaylist_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlaylist_mediaObject, "mediaObject(self) -> QMediaObject");

extern "C" {static PyObject *meth_QMediaPlaylist_mediaObject(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlaylist_mediaObject(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMediaPlaylist *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaPlaylist, &sipCpp))
        {
             ::QMediaObject*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QMediaPlaylist::mediaObject() : sipCpp->mediaObject());

            return sipConvertFromType(sipRes,sipType_QMediaObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlaylist, sipName_mediaObject, doc_QMediaPlaylist_mediaObject);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlaylist_playbackMode, "playbackMode(self) -> QMediaPlaylist.PlaybackMode");

extern "C" {static PyObject *meth_QMediaPlaylist_playbackMode(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlaylist_playbackMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaPlaylist *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaPlaylist, &sipCpp))
        {
             ::QMediaPlaylist::PlaybackMode sipRes;

            sipRes = sipCpp->playbackMode();

            return sipConvertFromEnum(sipRes,sipType_QMediaPlaylist_PlaybackMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlaylist, sipName_playbackMode, doc_QMediaPlaylist_playbackMode);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlaylist_setPlaybackMode, "setPlaybackMode(self, QMediaPlaylist.PlaybackMode)");

extern "C" {static PyObject *meth_QMediaPlaylist_setPlaybackMode(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlaylist_setPlaybackMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QMediaPlaylist::PlaybackMode a0;
         ::QMediaPlaylist *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QMediaPlaylist, &sipCpp, sipType_QMediaPlaylist_PlaybackMode, &a0))
        {
            sipCpp->setPlaybackMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlaylist, sipName_setPlaybackMode, doc_QMediaPlaylist_setPlaybackMode);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlaylist_currentIndex, "currentIndex(self) -> int");

extern "C" {static PyObject *meth_QMediaPlaylist_currentIndex(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlaylist_currentIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaPlaylist *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaPlaylist, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->currentIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlaylist, sipName_currentIndex, doc_QMediaPlaylist_currentIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlaylist_currentMedia, "currentMedia(self) -> QMediaContent");

extern "C" {static PyObject *meth_QMediaPlaylist_currentMedia(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlaylist_currentMedia(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaPlaylist *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaPlaylist, &sipCpp))
        {
             ::QMediaContent*sipRes;

            sipRes = new  ::QMediaContent(sipCpp->currentMedia());

            return sipConvertFromNewType(sipRes,sipType_QMediaContent,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlaylist, sipName_currentMedia, doc_QMediaPlaylist_currentMedia);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlaylist_nextIndex, "nextIndex(self, steps: int = 1) -> int");

extern "C" {static PyObject *meth_QMediaPlaylist_nextIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaPlaylist_nextIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = 1;
        const  ::QMediaPlaylist *sipCpp;

        static const char *sipKwdList[] = {
            sipName_steps,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QMediaPlaylist, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->nextIndex(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlaylist, sipName_nextIndex, doc_QMediaPlaylist_nextIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlaylist_previousIndex, "previousIndex(self, steps: int = 1) -> int");

extern "C" {static PyObject *meth_QMediaPlaylist_previousIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaPlaylist_previousIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = 1;
        const  ::QMediaPlaylist *sipCpp;

        static const char *sipKwdList[] = {
            sipName_steps,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QMediaPlaylist, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->previousIndex(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlaylist, sipName_previousIndex, doc_QMediaPlaylist_previousIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlaylist_media, "media(self, int) -> QMediaContent");

extern "C" {static PyObject *meth_QMediaPlaylist_media(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlaylist_media(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QMediaPlaylist *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QMediaPlaylist, &sipCpp, &a0))
        {
             ::QMediaContent*sipRes;

            sipRes = new  ::QMediaContent(sipCpp->media(a0));

            return sipConvertFromNewType(sipRes,sipType_QMediaContent,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlaylist, sipName_media, doc_QMediaPlaylist_media);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlaylist_mediaCount, "mediaCount(self) -> int");

extern "C" {static PyObject *meth_QMediaPlaylist_mediaCount(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlaylist_mediaCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaPlaylist *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaPlaylist, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->mediaCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlaylist, sipName_mediaCount, doc_QMediaPlaylist_mediaCount);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlaylist_isEmpty, "isEmpty(self) -> bool");

extern "C" {static PyObject *meth_QMediaPlaylist_isEmpty(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlaylist_isEmpty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaPlaylist *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaPlaylist, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isEmpty();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlaylist, sipName_isEmpty, doc_QMediaPlaylist_isEmpty);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlaylist_isReadOnly, "isReadOnly(self) -> bool");

extern "C" {static PyObject *meth_QMediaPlaylist_isReadOnly(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlaylist_isReadOnly(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaPlaylist *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaPlaylist, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isReadOnly();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlaylist, sipName_isReadOnly, doc_QMediaPlaylist_isReadOnly);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlaylist_addMedia, "addMedia(self, QMediaContent) -> bool\n"
    "addMedia(self, object) -> bool");

extern "C" {static PyObject *meth_QMediaPlaylist_addMedia(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlaylist_addMedia(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaContent* a0;
         ::QMediaPlaylist *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QMediaPlaylist, &sipCpp, sipType_QMediaContent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->addMedia(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QList< ::QMediaContent>* a0;
        int a0State = 0;
         ::QMediaPlaylist *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMediaPlaylist, &sipCpp, sipType_QList_0100QMediaContent,&a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->addMedia(*a0);
            sipReleaseType(const_cast<QList< ::QMediaContent> *>(a0),sipType_QList_0100QMediaContent,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlaylist, sipName_addMedia, doc_QMediaPlaylist_addMedia);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlaylist_insertMedia, "insertMedia(self, int, QMediaContent) -> bool\n"
    "insertMedia(self, int, Iterable[QMediaContent]) -> bool");

extern "C" {static PyObject *meth_QMediaPlaylist_insertMedia(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlaylist_insertMedia(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QMediaContent* a1;
         ::QMediaPlaylist *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ9", &sipSelf, sipType_QMediaPlaylist, &sipCpp, &a0, sipType_QMediaContent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->insertMedia(a0,*a1);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        int a0;
        const QList< ::QMediaContent>* a1;
        int a1State = 0;
         ::QMediaPlaylist *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_QMediaPlaylist, &sipCpp, &a0, sipType_QList_0100QMediaContent,&a1, &a1State))
        {
            bool sipRes;

            sipRes = sipCpp->insertMedia(a0,*a1);
            sipReleaseType(const_cast<QList< ::QMediaContent> *>(a1),sipType_QList_0100QMediaContent,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlaylist, sipName_insertMedia, doc_QMediaPlaylist_insertMedia);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlaylist_removeMedia, "removeMedia(self, int) -> bool\n"
    "removeMedia(self, int, int) -> bool");

extern "C" {static PyObject *meth_QMediaPlaylist_removeMedia(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlaylist_removeMedia(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QMediaPlaylist *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QMediaPlaylist, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->removeMedia(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        int a0;
        int a1;
         ::QMediaPlaylist *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QMediaPlaylist, &sipCpp, &a0, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->removeMedia(a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlaylist, sipName_removeMedia, doc_QMediaPlaylist_removeMedia);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlaylist_clear, "clear(self) -> bool");

extern "C" {static PyObject *meth_QMediaPlaylist_clear(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlaylist_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QMediaPlaylist *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaPlaylist, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->clear();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlaylist, sipName_clear, doc_QMediaPlaylist_clear);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlaylist_load, "load(self, QNetworkRequest, format: str = None)\n"
    "load(self, QUrl, format: str = None)\n"
    "load(self, QIODevice, format: str = None)");

extern "C" {static PyObject *meth_QMediaPlaylist_load(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaPlaylist_load(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QNetworkRequest* a0;
        const char* a1 = 0;
         ::QMediaPlaylist *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_format,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|s", &sipSelf, sipType_QMediaPlaylist, &sipCpp, sipType_QNetworkRequest, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->load(*a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QUrl* a0;
        const char* a1 = 0;
         ::QMediaPlaylist *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_format,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|s", &sipSelf, sipType_QMediaPlaylist, &sipCpp, sipType_QUrl, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->load(*a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::QIODevice* a0;
        const char* a1 = 0;
         ::QMediaPlaylist *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_format,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8|s", &sipSelf, sipType_QMediaPlaylist, &sipCpp, sipType_QIODevice, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->load(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlaylist, sipName_load, doc_QMediaPlaylist_load);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlaylist_save, "save(self, QUrl, format: str = None) -> bool\n"
    "save(self, QIODevice, str) -> bool");

extern "C" {static PyObject *meth_QMediaPlaylist_save(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaPlaylist_save(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QUrl* a0;
        const char* a1 = 0;
         ::QMediaPlaylist *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_format,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|s", &sipSelf, sipType_QMediaPlaylist, &sipCpp, sipType_QUrl, &a0, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->save(*a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
         ::QIODevice* a0;
        const char* a1;
         ::QMediaPlaylist *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8s", &sipSelf, sipType_QMediaPlaylist, &sipCpp, sipType_QIODevice, &a0, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->save(a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlaylist, sipName_save, doc_QMediaPlaylist_save);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlaylist_error, "error(self) -> QMediaPlaylist.Error");

extern "C" {static PyObject *meth_QMediaPlaylist_error(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlaylist_error(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaPlaylist *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaPlaylist, &sipCpp))
        {
             ::QMediaPlaylist::Error sipRes;

            sipRes = sipCpp->error();

            return sipConvertFromEnum(sipRes,sipType_QMediaPlaylist_Error);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlaylist, sipName_error, doc_QMediaPlaylist_error);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlaylist_errorString, "errorString(self) -> str");

extern "C" {static PyObject *meth_QMediaPlaylist_errorString(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlaylist_errorString(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaPlaylist *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaPlaylist, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->errorString());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlaylist, sipName_errorString, doc_QMediaPlaylist_errorString);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlaylist_moveMedia, "moveMedia(self, int, int) -> bool");

extern "C" {static PyObject *meth_QMediaPlaylist_moveMedia(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlaylist_moveMedia(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
         ::QMediaPlaylist *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QMediaPlaylist, &sipCpp, &a0, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->moveMedia(a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlaylist, sipName_moveMedia, doc_QMediaPlaylist_moveMedia);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlaylist_shuffle, "shuffle(self)");

extern "C" {static PyObject *meth_QMediaPlaylist_shuffle(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlaylist_shuffle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QMediaPlaylist *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaPlaylist, &sipCpp))
        {
            sipCpp->shuffle();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlaylist, sipName_shuffle, doc_QMediaPlaylist_shuffle);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlaylist_next, "next(self)");

extern "C" {static PyObject *meth_QMediaPlaylist_next(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlaylist_next(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QMediaPlaylist *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaPlaylist, &sipCpp))
        {
            sipCpp->next();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlaylist, sipName_next, doc_QMediaPlaylist_next);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlaylist_previous, "previous(self)");

extern "C" {static PyObject *meth_QMediaPlaylist_previous(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlaylist_previous(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QMediaPlaylist *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaPlaylist, &sipCpp))
        {
            sipCpp->previous();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlaylist, sipName_previous, doc_QMediaPlaylist_previous);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlaylist_setCurrentIndex, "setCurrentIndex(self, int)");

extern "C" {static PyObject *meth_QMediaPlaylist_setCurrentIndex(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlaylist_setCurrentIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QMediaPlaylist *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QMediaPlaylist, &sipCpp, &a0))
        {
            sipCpp->setCurrentIndex(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlaylist, sipName_setCurrentIndex, doc_QMediaPlaylist_setCurrentIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlaylist_setMediaObject, "setMediaObject(self, QMediaObject) -> bool");

extern "C" {static PyObject *meth_QMediaPlaylist_setMediaObject(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaPlaylist_setMediaObject(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMediaObject* a0;
        sipQMediaPlaylist *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMediaPlaylist, &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_QMediaPlaylist, sipName_setMediaObject, doc_QMediaPlaylist_setMediaObject);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QMediaPlaylist(void *, const sipTypeDef *);}
static void *cast_QMediaPlaylist(void *sipCppV, const sipTypeDef *targetType)
{
     ::QMediaPlaylist *sipCpp = reinterpret_cast< ::QMediaPlaylist *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QMediaBindableInterface)
        return static_cast< ::QMediaBindableInterface *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QMediaPlaylist(void *, int);}
static void release_QMediaPlaylist(void *sipCppV, int)
{
     ::QMediaPlaylist *sipCpp = reinterpret_cast< ::QMediaPlaylist *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QMediaPlaylist(sipSimpleWrapper *);}
static void dealloc_QMediaPlaylist(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQMediaPlaylist *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QMediaPlaylist(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QMediaPlaylist(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMediaPlaylist(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQMediaPlaylist *sipCpp = 0;

    {
         ::QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQMediaPlaylist(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QMediaPlaylist[] = {{9, 0, 0}, {72, 255, 1}};


static PyMethodDef methods_QMediaPlaylist[] = {
    {SIP_MLNAME_CAST(sipName_addMedia), meth_QMediaPlaylist_addMedia, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlaylist_addMedia)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QMediaPlaylist_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_QMediaPlaylist_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlaylist_clear)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QMediaPlaylist_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_currentIndex), meth_QMediaPlaylist_currentIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlaylist_currentIndex)},
    {SIP_MLNAME_CAST(sipName_currentMedia), meth_QMediaPlaylist_currentMedia, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlaylist_currentMedia)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QMediaPlaylist_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QMediaPlaylist_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_error), meth_QMediaPlaylist_error, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlaylist_error)},
    {SIP_MLNAME_CAST(sipName_errorString), meth_QMediaPlaylist_errorString, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlaylist_errorString)},
    {SIP_MLNAME_CAST(sipName_insertMedia), meth_QMediaPlaylist_insertMedia, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlaylist_insertMedia)},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_QMediaPlaylist_isEmpty, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlaylist_isEmpty)},
    {SIP_MLNAME_CAST(sipName_isReadOnly), meth_QMediaPlaylist_isReadOnly, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlaylist_isReadOnly)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QMediaPlaylist_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_load), (PyCFunction)meth_QMediaPlaylist_load, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMediaPlaylist_load)},
    {SIP_MLNAME_CAST(sipName_media), meth_QMediaPlaylist_media, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlaylist_media)},
    {SIP_MLNAME_CAST(sipName_mediaCount), meth_QMediaPlaylist_mediaCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlaylist_mediaCount)},
    {SIP_MLNAME_CAST(sipName_mediaObject), meth_QMediaPlaylist_mediaObject, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlaylist_mediaObject)},
    {SIP_MLNAME_CAST(sipName_moveMedia), meth_QMediaPlaylist_moveMedia, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlaylist_moveMedia)},
    {SIP_MLNAME_CAST(sipName_next), meth_QMediaPlaylist_next, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlaylist_next)},
    {SIP_MLNAME_CAST(sipName_nextIndex), (PyCFunction)meth_QMediaPlaylist_nextIndex, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMediaPlaylist_nextIndex)},
    {SIP_MLNAME_CAST(sipName_playbackMode), meth_QMediaPlaylist_playbackMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlaylist_playbackMode)},
    {SIP_MLNAME_CAST(sipName_previous), meth_QMediaPlaylist_previous, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlaylist_previous)},
    {SIP_MLNAME_CAST(sipName_previousIndex), (PyCFunction)meth_QMediaPlaylist_previousIndex, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMediaPlaylist_previousIndex)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QMediaPlaylist_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removeMedia), meth_QMediaPlaylist_removeMedia, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlaylist_removeMedia)},
    {SIP_MLNAME_CAST(sipName_save), (PyCFunction)meth_QMediaPlaylist_save, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMediaPlaylist_save)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QMediaPlaylist_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QMediaPlaylist_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentIndex), meth_QMediaPlaylist_setCurrentIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlaylist_setCurrentIndex)},
    {SIP_MLNAME_CAST(sipName_setMediaObject), (PyCFunction)meth_QMediaPlaylist_setMediaObject, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMediaPlaylist_setMediaObject)},
    {SIP_MLNAME_CAST(sipName_setPlaybackMode), meth_QMediaPlaylist_setPlaybackMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlaylist_setPlaybackMode)},
    {SIP_MLNAME_CAST(sipName_shuffle), meth_QMediaPlaylist_shuffle, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlaylist_shuffle)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QMediaPlaylist_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QMediaPlaylist[] = {
    {sipName_AccessDeniedError, static_cast<int>( ::QMediaPlaylist::AccessDeniedError), 84},
    {sipName_CurrentItemInLoop, static_cast<int>( ::QMediaPlaylist::CurrentItemInLoop), 85},
    {sipName_CurrentItemOnce, static_cast<int>( ::QMediaPlaylist::CurrentItemOnce), 85},
    {sipName_FormatError, static_cast<int>( ::QMediaPlaylist::FormatError), 84},
    {sipName_FormatNotSupportedError, static_cast<int>( ::QMediaPlaylist::FormatNotSupportedError), 84},
    {sipName_Loop, static_cast<int>( ::QMediaPlaylist::Loop), 85},
    {sipName_NetworkError, static_cast<int>( ::QMediaPlaylist::NetworkError), 84},
    {sipName_NoError, static_cast<int>( ::QMediaPlaylist::NoError), 84},
    {sipName_Random, static_cast<int>( ::QMediaPlaylist::Random), 85},
    {sipName_Sequential, static_cast<int>( ::QMediaPlaylist::Sequential), 85},
};

PyDoc_STRVAR(doc_QMediaPlaylist, "\1QMediaPlaylist(parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QMediaPlaylist[] = {
    {"loadFailed()", "\1loadFailed(self)", 0, 0},
    {"loaded()", "\1loaded(self)", 0, 0},
    {"mediaChanged(int,int)", "\1mediaChanged(self, int, int)", 0, 0},
    {"mediaRemoved(int,int)", "\1mediaRemoved(self, int, int)", 0, 0},
    {"mediaAboutToBeRemoved(int,int)", "\1mediaAboutToBeRemoved(self, int, int)", 0, 0},
    {"mediaInserted(int,int)", "\1mediaInserted(self, int, int)", 0, 0},
    {"mediaAboutToBeInserted(int,int)", "\1mediaAboutToBeInserted(self, int, int)", 0, 0},
    {"currentMediaChanged(QMediaContent)", "\1currentMediaChanged(self, QMediaContent)", 0, 0},
    {"playbackModeChanged(QMediaPlaylist::PlaybackMode)", "\1playbackModeChanged(self, QMediaPlaylist.PlaybackMode)", 0, 0},
    {"currentIndexChanged(int)", "\1currentIndexChanged(self, int)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QMediaPlaylist = {
    & ::QMediaPlaylist::staticMetaObject,
    0,
    signals_QMediaPlaylist,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QMediaPlaylist = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMediaPlaylist,
        {0},
        &plugin_QMediaPlaylist
    },
    {
        sipNameNr_QMediaPlaylist,
        {0, 0, 1},
        34, methods_QMediaPlaylist,
        10, enummembers_QMediaPlaylist,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMediaPlaylist,
    -1,
    -1,
    supers_QMediaPlaylist,
    0,
    init_type_QMediaPlaylist,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMediaPlaylist,
    0,
    0,
    0,
    release_QMediaPlaylist,
    cast_QMediaPlaylist,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 29 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaplayer.sip"
#include <qmediaplayer.h>
#line 17253 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 29 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaplayer.sip"
#include <qmediaplayer.h>
#line 17257 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


extern "C" {static long slot_QMediaPlayer_Flags___hash__(PyObject *);}
static long slot_QMediaPlayer_Flags___hash__(PyObject *sipSelf)
{
     ::QMediaPlayer::Flags *sipCpp = reinterpret_cast< ::QMediaPlayer::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMediaPlayer_Flags));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QMediaPlayer::Flags::Int();
#line 17275 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QMediaPlayer_Flags___bool__(PyObject *);}
static int slot_QMediaPlayer_Flags___bool__(PyObject *sipSelf)
{
     ::QMediaPlayer::Flags *sipCpp = reinterpret_cast< ::QMediaPlayer::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMediaPlayer_Flags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QMediaPlayer::Flags::Int() != 0);
#line 17300 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QMediaPlayer_Flags___ne__(PyObject *,PyObject *);}
static PyObject *slot_QMediaPlayer_Flags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QMediaPlayer::Flags *sipCpp = reinterpret_cast< ::QMediaPlayer::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMediaPlayer_Flags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaPlayer::Flags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QMediaPlayer_Flags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QMediaPlayer::Flags::Int() != a0->operator QMediaPlayer::Flags::Int());
#line 17330 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
            sipReleaseType(const_cast< ::QMediaPlayer::Flags *>(a0),sipType_QMediaPlayer_Flags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, ne_slot, sipType_QMediaPlayer_Flags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QMediaPlayer_Flags___eq__(PyObject *,PyObject *);}
static PyObject *slot_QMediaPlayer_Flags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QMediaPlayer::Flags *sipCpp = reinterpret_cast< ::QMediaPlayer::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMediaPlayer_Flags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaPlayer::Flags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QMediaPlayer_Flags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QMediaPlayer::Flags::Int() == a0->operator QMediaPlayer::Flags::Int());
#line 17366 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
            sipReleaseType(const_cast< ::QMediaPlayer::Flags *>(a0),sipType_QMediaPlayer_Flags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, eq_slot, sipType_QMediaPlayer_Flags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QMediaPlayer_Flags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QMediaPlayer_Flags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QMediaPlayer_Flags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QMediaPlayer::Flags *sipCpp = reinterpret_cast< ::QMediaPlayer::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMediaPlayer_Flags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QMediaPlayer::Flags(*sipCpp ^ a0);
#line 17405 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QMediaPlayer_Flags___xor__(PyObject *,PyObject *);}
static PyObject *slot_QMediaPlayer_Flags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QMediaPlayer::Flags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QMediaPlayer_Flags, &a0, &a0State, &a1))
        {
             ::QMediaPlayer::Flags*sipRes;

            sipRes = new  ::QMediaPlayer::Flags((*a0 ^ a1));
            sipReleaseType(a0,sipType_QMediaPlayer_Flags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QMediaPlayer_Flags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QMediaPlayer_Flags___ior__(PyObject *,PyObject *);}
static PyObject *slot_QMediaPlayer_Flags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QMediaPlayer_Flags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QMediaPlayer::Flags *sipCpp = reinterpret_cast< ::QMediaPlayer::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMediaPlayer_Flags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QMediaPlayer::Flags(*sipCpp | a0);
#line 17477 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QMediaPlayer_Flags___or__(PyObject *,PyObject *);}
static PyObject *slot_QMediaPlayer_Flags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QMediaPlayer::Flags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QMediaPlayer_Flags, &a0, &a0State, &a1))
        {
             ::QMediaPlayer::Flags*sipRes;

            sipRes = new  ::QMediaPlayer::Flags((*a0 | a1));
            sipReleaseType(a0,sipType_QMediaPlayer_Flags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QMediaPlayer_Flags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QMediaPlayer_Flags___iand__(PyObject *,PyObject *);}
static PyObject *slot_QMediaPlayer_Flags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QMediaPlayer_Flags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QMediaPlayer::Flags *sipCpp = reinterpret_cast< ::QMediaPlayer::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMediaPlayer_Flags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QMediaPlayer::Flags::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QMediaPlayer_Flags___and__(PyObject *,PyObject *);}
static PyObject *slot_QMediaPlayer_Flags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QMediaPlayer::Flags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QMediaPlayer_Flags, &a0, &a0State, &a1))
        {
             ::QMediaPlayer::Flags*sipRes;

            sipRes = new  ::QMediaPlayer::Flags((*a0 & a1));
            sipReleaseType(a0,sipType_QMediaPlayer_Flags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QMediaPlayer_Flags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QMediaPlayer_Flags___invert__(PyObject *);}
static PyObject *slot_QMediaPlayer_Flags___invert__(PyObject *sipSelf)
{
     ::QMediaPlayer::Flags *sipCpp = reinterpret_cast< ::QMediaPlayer::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMediaPlayer_Flags));

    if (!sipCpp)
        return 0;


    {
        {
             ::QMediaPlayer::Flags*sipRes;

            sipRes = new  ::QMediaPlayer::Flags(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QMediaPlayer_Flags,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QMediaPlayer_Flags___int__(PyObject *);}
static PyObject *slot_QMediaPlayer_Flags___int__(PyObject *sipSelf)
{
     ::QMediaPlayer::Flags *sipCpp = reinterpret_cast< ::QMediaPlayer::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMediaPlayer_Flags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QMediaPlayer_Flags(void *, int);}
static void release_QMediaPlayer_Flags(void *sipCppV, int)
{
    delete reinterpret_cast< ::QMediaPlayer::Flags *>(sipCppV);
}


extern "C" {static void assign_QMediaPlayer_Flags(void *, SIP_SSIZE_T, const void *);}
static void assign_QMediaPlayer_Flags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QMediaPlayer::Flags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QMediaPlayer::Flags *>(sipSrc);
}


extern "C" {static void *array_QMediaPlayer_Flags(SIP_SSIZE_T);}
static void *array_QMediaPlayer_Flags(SIP_SSIZE_T sipNrElem)
{
    return new  ::QMediaPlayer::Flags[sipNrElem];
}


extern "C" {static void *copy_QMediaPlayer_Flags(const void *, SIP_SSIZE_T);}
static void *copy_QMediaPlayer_Flags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QMediaPlayer::Flags(reinterpret_cast<const  ::QMediaPlayer::Flags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QMediaPlayer_Flags(sipSimpleWrapper *);}
static void dealloc_QMediaPlayer_Flags(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QMediaPlayer_Flags(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QMediaPlayer_Flags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMediaPlayer_Flags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QMediaPlayer::Flags *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QMediaPlayer::Flags();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QMediaPlayer::Flags(a0);

            return sipCpp;
        }
    }

    {
        const  ::QMediaPlayer::Flags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QMediaPlayer_Flags, &a0, &a0State))
        {
            sipCpp = new  ::QMediaPlayer::Flags(*a0);
            sipReleaseType(const_cast< ::QMediaPlayer::Flags *>(a0),sipType_QMediaPlayer_Flags,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QMediaPlayer_Flags(PyObject *, void **, int *, PyObject *);}
static int convertTo_QMediaPlayer_Flags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QMediaPlayer::Flags **sipCppPtr = reinterpret_cast< ::QMediaPlayer::Flags **>(sipCppPtrV);

#line 121 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QMediaPlayer::Flags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QMediaPlayer_Flag)) ||
            sipCanConvertToType(sipPy, sipType_QMediaPlayer_Flags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QMediaPlayer_Flag)))
{
    *sipCppPtr = new QMediaPlayer::Flags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QMediaPlayer::Flags *>(sipConvertToType(sipPy, sipType_QMediaPlayer_Flags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 17745 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QMediaPlayer_Flags[] = {
    {(void *)slot_QMediaPlayer_Flags___hash__, hash_slot},
    {(void *)slot_QMediaPlayer_Flags___bool__, bool_slot},
    {(void *)slot_QMediaPlayer_Flags___ne__, ne_slot},
    {(void *)slot_QMediaPlayer_Flags___eq__, eq_slot},
    {(void *)slot_QMediaPlayer_Flags___ixor__, ixor_slot},
    {(void *)slot_QMediaPlayer_Flags___xor__, xor_slot},
    {(void *)slot_QMediaPlayer_Flags___ior__, ior_slot},
    {(void *)slot_QMediaPlayer_Flags___or__, or_slot},
    {(void *)slot_QMediaPlayer_Flags___iand__, iand_slot},
    {(void *)slot_QMediaPlayer_Flags___and__, and_slot},
    {(void *)slot_QMediaPlayer_Flags___invert__, invert_slot},
    {(void *)slot_QMediaPlayer_Flags___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QMediaPlayer_Flags, "\1QMediaPlayer.Flags()\n"
    "QMediaPlayer.Flags(Union[QMediaPlayer.Flags, QMediaPlayer.Flag])\n"
    "QMediaPlayer.Flags(QMediaPlayer.Flags)");


static pyqt5ClassPluginDef plugin_QMediaPlayer_Flags = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QMediaPlayer_Flags = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMediaPlayer__Flags,
        {0},
        &plugin_QMediaPlayer_Flags
    },
    {
        sipNameNr_Flags,
        {77, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMediaPlayer_Flags,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QMediaPlayer_Flags,
    init_type_QMediaPlayer_Flags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMediaPlayer_Flags,
    assign_QMediaPlayer_Flags,
    array_QMediaPlayer_Flags,
    copy_QMediaPlayer_Flags,
    release_QMediaPlayer_Flags,
    0,
    convertTo_QMediaPlayer_Flags,
    0,
    0,
    0,
    0,
    0
};

#line 29 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaplayer.sip"
#include <qmediaplayer.h>
#line 17831 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 17835 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 29 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaplayer.sip"
#include <qmediaplayer.h>
#line 17838 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qaudio.sip"
#include <qaudio.h>
#line 17841 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 335 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qpymultimedia_qlist.sip"
#include <qaudio.h>
#line 17844 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtNetwork/qnetworkconfiguration.sip"
#include <qnetworkconfiguration.h>
#line 17847 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediacontent.sip"
#include <qmediacontent.h>
#line 17850 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 17853 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaplaylist.sip"
#include <qmediaplaylist.h>
#line 17856 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 17859 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmultimedia.sip"
#include <qmultimedia.h>
#line 17862 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 17865 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qabstractvideosurface.sip"
#include <qabstractvideosurface.h>
#line 17868 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 17871 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 17874 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 17877 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaservice.sip"
#include <qmediaservice.h>
#line 17880 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 17883 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17886 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17889 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17892 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 17895 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 17898 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17901 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 17904 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17907 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 17910 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 17913 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 17916 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


class sipQMediaPlayer : public  ::QMediaPlayer
{
public:
    sipQMediaPlayer( ::QObject*, ::QMediaPlayer::Flags);
    virtual ~sipQMediaPlayer();

    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 sipProtect_addPropertyWatch(const  ::QByteArray&);
    void sipProtect_removePropertyWatch(const  ::QByteArray&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    bool isAvailable() const;
     ::QMultimedia::AvailabilityStatus availability() const;
     ::QMediaService* service() const;
    bool bind( ::QObject*);
    void unbind( ::QObject*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQMediaPlayer(const sipQMediaPlayer &);
    sipQMediaPlayer &operator = (const sipQMediaPlayer &);

    char sipPyMethods[12];
};

sipQMediaPlayer::sipQMediaPlayer( ::QObject*a0, ::QMediaPlayer::Flags a1):  ::QMediaPlayer(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQMediaPlayer::~sipQMediaPlayer()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQMediaPlayer::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf,sipType_QMediaPlayer);

    return  ::QMediaPlayer::metaObject();
}

int sipQMediaPlayer::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QMediaPlayer::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtMultimedia_qt_metacall(sipPySelf,sipType_QMediaPlayer,_c,_id,_a);

    return _id;
}

void *sipQMediaPlayer::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtMultimedia_qt_metacast(sipPySelf, sipType_QMediaPlayer, _clname, &sipCpp) ? sipCpp :  ::QMediaPlayer::qt_metacast(_clname));
}

void sipQMediaPlayer::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QMediaPlayer::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtMultimedia_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMediaPlayer::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QMediaPlayer::connectNotify(a0);
        return;
    }

    extern void sipVH_QtMultimedia_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMediaPlayer::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QMediaPlayer::customEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtMultimedia_6(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMediaPlayer::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QMediaPlayer::childEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtMultimedia_7(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMediaPlayer::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QMediaPlayer::timerEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtMultimedia_8(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQMediaPlayer::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QMediaPlayer::eventFilter(a0,a1);

    extern bool sipVH_QtMultimedia_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtMultimedia_9(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQMediaPlayer::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QMediaPlayer::event(a0);

    extern bool sipVH_QtMultimedia_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtMultimedia_10(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQMediaPlayer::isAvailable() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_isAvailable);

    if (!sipMeth)
        return  ::QMediaPlayer::isAvailable();

    extern bool sipVH_QtMultimedia_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtMultimedia_16(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QMultimedia::AvailabilityStatus sipQMediaPlayer::availability() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_availability);

    if (!sipMeth)
        return  ::QMediaPlayer::availability();

    extern  ::QMultimedia::AvailabilityStatus sipVH_QtMultimedia_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtMultimedia_17(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QMediaService* sipQMediaPlayer::service() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_service);

    if (!sipMeth)
        return  ::QMediaPlayer::service();

    extern  ::QMediaService* sipVH_QtMultimedia_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtMultimedia_18(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQMediaPlayer::bind( ::QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_bind);

    if (!sipMeth)
        return  ::QMediaPlayer::bind(a0);

    extern bool sipVH_QtMultimedia_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*);

    return sipVH_QtMultimedia_19(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMediaPlayer::unbind( ::QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_unbind);

    if (!sipMeth)
    {
         ::QMediaPlayer::unbind(a0);
        return;
    }

    extern void sipVH_QtMultimedia_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*);

    sipVH_QtMultimedia_20(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQMediaPlayer::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQMediaPlayer::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQMediaPlayer::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQMediaPlayer::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQMediaPlayer::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQMediaPlayer::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQMediaPlayer::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQMediaPlayer::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQMediaPlayer::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

void sipQMediaPlayer::sipProtect_addPropertyWatch(const  ::QByteArray& a0)
{
     ::QMediaObject::addPropertyWatch(a0);
}

void sipQMediaPlayer::sipProtect_removePropertyWatch(const  ::QByteArray& a0)
{
     ::QMediaObject::removePropertyWatch(a0);
}


PyDoc_STRVAR(doc_QMediaPlayer_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QMediaPlayer_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQMediaPlayer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMediaPlayer, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 18305 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_sender, doc_QMediaPlayer_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QMediaPlayer_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQMediaPlayer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QMediaPlayer, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 18365 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.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_QMediaPlayer, sipName_receivers, doc_QMediaPlayer_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QMediaPlayer_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQMediaPlayer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMediaPlayer, &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_QMediaPlayer, sipName_timerEvent, doc_QMediaPlayer_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QMediaPlayer_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQMediaPlayer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMediaPlayer, &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_QMediaPlayer, sipName_childEvent, doc_QMediaPlayer_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QMediaPlayer_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQMediaPlayer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMediaPlayer, &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_QMediaPlayer, sipName_customEvent, doc_QMediaPlayer_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QMediaPlayer_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQMediaPlayer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMediaPlayer, &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_QMediaPlayer, sipName_connectNotify, doc_QMediaPlayer_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QMediaPlayer_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQMediaPlayer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMediaPlayer, &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_QMediaPlayer, sipName_disconnectNotify, doc_QMediaPlayer_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QMediaPlayer_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQMediaPlayer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMediaPlayer, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_senderSignalIndex, doc_QMediaPlayer_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QMediaPlayer_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQMediaPlayer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMediaPlayer, &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_QMediaPlayer, sipName_isSignalConnected, doc_QMediaPlayer_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_addPropertyWatch, "addPropertyWatch(self, Union[QByteArray, bytes, bytearray])");

extern "C" {static PyObject *meth_QMediaPlayer_addPropertyWatch(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_addPropertyWatch(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
        sipQMediaPlayer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QMediaPlayer, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            sipCpp->sipProtect_addPropertyWatch(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_addPropertyWatch, doc_QMediaPlayer_addPropertyWatch);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_removePropertyWatch, "removePropertyWatch(self, Union[QByteArray, bytes, bytearray])");

extern "C" {static PyObject *meth_QMediaPlayer_removePropertyWatch(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_removePropertyWatch(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
        sipQMediaPlayer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QMediaPlayer, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            sipCpp->sipProtect_removePropertyWatch(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_removePropertyWatch, doc_QMediaPlayer_removePropertyWatch);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_hasSupport, "hasSupport(str, codecs: Iterable[str] = [], flags: Union[QMediaPlayer.Flags, QMediaPlayer.Flag] = 0) -> QMultimedia.SupportEstimate");

extern "C" {static PyObject *meth_QMediaPlayer_hasSupport(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_hasSupport(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QStringList& a1def = QStringList();
        const  ::QStringList* a1 = &a1def;
        int a1State = 0;
         ::QMediaPlayer::Flags a2def = 0;
         ::QMediaPlayer::Flags* a2 = &a2def;
        int a2State = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_codecs,
            sipName_flags,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J1|J1J1", sipType_QString,&a0, &a0State, sipType_QStringList,&a1, &a1State, sipType_QMediaPlayer_Flags, &a2, &a2State))
        {
             ::QMultimedia::SupportEstimate sipRes;

            sipRes =  ::QMediaPlayer::hasSupport(*a0,*a1,*a2);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QStringList *>(a1),sipType_QStringList,a1State);
            sipReleaseType(a2,sipType_QMediaPlayer_Flags,a2State);

            return sipConvertFromEnum(sipRes,sipType_QMultimedia_SupportEstimate);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_hasSupport, doc_QMediaPlayer_hasSupport);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_supportedMimeTypes, "supportedMimeTypes(flags: Union[QMediaPlayer.Flags, QMediaPlayer.Flag] = 0) -> List[str]");

extern "C" {static PyObject *meth_QMediaPlayer_supportedMimeTypes(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_supportedMimeTypes(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QMediaPlayer::Flags a0def = 0;
         ::QMediaPlayer::Flags* a0 = &a0def;
        int a0State = 0;

        static const char *sipKwdList[] = {
            sipName_flags,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "|J1", sipType_QMediaPlayer_Flags, &a0, &a0State))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList( ::QMediaPlayer::supportedMimeTypes(*a0));
            sipReleaseType(a0,sipType_QMediaPlayer_Flags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_supportedMimeTypes, doc_QMediaPlayer_supportedMimeTypes);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_setVideoOutput, "setVideoOutput(self, QVideoWidget)\n"
    "setVideoOutput(self, QGraphicsVideoItem)\n"
    "setVideoOutput(self, QAbstractVideoSurface)");

extern "C" {static PyObject *meth_QMediaPlayer_setVideoOutput(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_setVideoOutput(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QVideoWidget* a0;
         ::QMediaPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QMediaPlayer, &sipCpp, sipType_QVideoWidget, &a0))
        {
            sipCpp->setVideoOutput(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::QGraphicsVideoItem* a0;
         ::QMediaPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QMediaPlayer, &sipCpp, sipType_QGraphicsVideoItem, &a0))
        {
            sipCpp->setVideoOutput(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::QAbstractVideoSurface* a0;
         ::QMediaPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QMediaPlayer, &sipCpp, sipType_QAbstractVideoSurface, &a0))
        {
            sipCpp->setVideoOutput(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_setVideoOutput, doc_QMediaPlayer_setVideoOutput);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_media, "media(self) -> QMediaContent");

extern "C" {static PyObject *meth_QMediaPlayer_media(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_media(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaPlayer, &sipCpp))
        {
             ::QMediaContent*sipRes;

            sipRes = new  ::QMediaContent(sipCpp->media());

            return sipConvertFromNewType(sipRes,sipType_QMediaContent,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_media, doc_QMediaPlayer_media);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_mediaStream, "mediaStream(self) -> QIODevice");

extern "C" {static PyObject *meth_QMediaPlayer_mediaStream(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_mediaStream(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaPlayer, &sipCpp))
        {
            const  ::QIODevice*sipRes;

            sipRes = sipCpp->mediaStream();

            return sipConvertFromType(const_cast< ::QIODevice *>(sipRes),sipType_QIODevice,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_mediaStream, doc_QMediaPlayer_mediaStream);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_playlist, "playlist(self) -> QMediaPlaylist");

extern "C" {static PyObject *meth_QMediaPlayer_playlist(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_playlist(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaPlayer, &sipCpp))
        {
             ::QMediaPlaylist*sipRes;

            sipRes = sipCpp->playlist();

            return sipConvertFromType(sipRes,sipType_QMediaPlaylist,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_playlist, doc_QMediaPlayer_playlist);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_currentMedia, "currentMedia(self) -> QMediaContent");

extern "C" {static PyObject *meth_QMediaPlayer_currentMedia(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_currentMedia(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaPlayer, &sipCpp))
        {
             ::QMediaContent*sipRes;

            sipRes = new  ::QMediaContent(sipCpp->currentMedia());

            return sipConvertFromNewType(sipRes,sipType_QMediaContent,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_currentMedia, doc_QMediaPlayer_currentMedia);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_state, "state(self) -> QMediaPlayer.State");

extern "C" {static PyObject *meth_QMediaPlayer_state(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_state(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaPlayer, &sipCpp))
        {
             ::QMediaPlayer::State sipRes;

            sipRes = sipCpp->state();

            return sipConvertFromEnum(sipRes,sipType_QMediaPlayer_State);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_state, doc_QMediaPlayer_state);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_mediaStatus, "mediaStatus(self) -> QMediaPlayer.MediaStatus");

extern "C" {static PyObject *meth_QMediaPlayer_mediaStatus(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_mediaStatus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaPlayer, &sipCpp))
        {
             ::QMediaPlayer::MediaStatus sipRes;

            sipRes = sipCpp->mediaStatus();

            return sipConvertFromEnum(sipRes,sipType_QMediaPlayer_MediaStatus);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_mediaStatus, doc_QMediaPlayer_mediaStatus);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_duration, "duration(self) -> int");

extern "C" {static PyObject *meth_QMediaPlayer_duration(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_duration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaPlayer, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->duration();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_duration, doc_QMediaPlayer_duration);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_position, "position(self) -> int");

extern "C" {static PyObject *meth_QMediaPlayer_position(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_position(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaPlayer, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->position();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_position, doc_QMediaPlayer_position);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_volume, "volume(self) -> int");

extern "C" {static PyObject *meth_QMediaPlayer_volume(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_volume(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaPlayer, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->volume();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_volume, doc_QMediaPlayer_volume);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_isMuted, "isMuted(self) -> bool");

extern "C" {static PyObject *meth_QMediaPlayer_isMuted(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_isMuted(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaPlayer, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isMuted();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_isMuted, doc_QMediaPlayer_isMuted);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_isAudioAvailable, "isAudioAvailable(self) -> bool");

extern "C" {static PyObject *meth_QMediaPlayer_isAudioAvailable(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_isAudioAvailable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaPlayer, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isAudioAvailable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_isAudioAvailable, doc_QMediaPlayer_isAudioAvailable);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_isVideoAvailable, "isVideoAvailable(self) -> bool");

extern "C" {static PyObject *meth_QMediaPlayer_isVideoAvailable(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_isVideoAvailable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaPlayer, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isVideoAvailable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_isVideoAvailable, doc_QMediaPlayer_isVideoAvailable);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_bufferStatus, "bufferStatus(self) -> int");

extern "C" {static PyObject *meth_QMediaPlayer_bufferStatus(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_bufferStatus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaPlayer, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->bufferStatus();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_bufferStatus, doc_QMediaPlayer_bufferStatus);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_isSeekable, "isSeekable(self) -> bool");

extern "C" {static PyObject *meth_QMediaPlayer_isSeekable(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_isSeekable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaPlayer, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isSeekable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_isSeekable, doc_QMediaPlayer_isSeekable);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_playbackRate, "playbackRate(self) -> float");

extern "C" {static PyObject *meth_QMediaPlayer_playbackRate(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_playbackRate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaPlayer, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->playbackRate();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_playbackRate, doc_QMediaPlayer_playbackRate);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_error, "error(self) -> QMediaPlayer.Error");

extern "C" {static PyObject *meth_QMediaPlayer_error(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_error(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaPlayer, &sipCpp))
        {
             ::QMediaPlayer::Error sipRes;

            sipRes = sipCpp->error();

            return sipConvertFromEnum(sipRes,sipType_QMediaPlayer_Error);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_error, doc_QMediaPlayer_error);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_errorString, "errorString(self) -> str");

extern "C" {static PyObject *meth_QMediaPlayer_errorString(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_errorString(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaPlayer, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->errorString());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_errorString, doc_QMediaPlayer_errorString);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_currentNetworkConfiguration, "currentNetworkConfiguration(self) -> QNetworkConfiguration");

extern "C" {static PyObject *meth_QMediaPlayer_currentNetworkConfiguration(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_currentNetworkConfiguration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaPlayer, &sipCpp))
        {
             ::QNetworkConfiguration*sipRes;

            sipRes = new  ::QNetworkConfiguration(sipCpp->currentNetworkConfiguration());

            return sipConvertFromNewType(sipRes,sipType_QNetworkConfiguration,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_currentNetworkConfiguration, doc_QMediaPlayer_currentNetworkConfiguration);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_availability, "availability(self) -> QMultimedia.AvailabilityStatus");

extern "C" {static PyObject *meth_QMediaPlayer_availability(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_availability(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMediaPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaPlayer, &sipCpp))
        {
             ::QMultimedia::AvailabilityStatus sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QMediaPlayer::availability() : sipCpp->availability());

            return sipConvertFromEnum(sipRes,sipType_QMultimedia_AvailabilityStatus);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_availability, doc_QMediaPlayer_availability);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_play, "play(self)");

extern "C" {static PyObject *meth_QMediaPlayer_play(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_play(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QMediaPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaPlayer, &sipCpp))
        {
            sipCpp->play();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_play, doc_QMediaPlayer_play);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_pause, "pause(self)");

extern "C" {static PyObject *meth_QMediaPlayer_pause(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_pause(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QMediaPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaPlayer, &sipCpp))
        {
            sipCpp->pause();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_pause, doc_QMediaPlayer_pause);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_stop, "stop(self)");

extern "C" {static PyObject *meth_QMediaPlayer_stop(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_stop(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QMediaPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaPlayer, &sipCpp))
        {
            sipCpp->stop();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_stop, doc_QMediaPlayer_stop);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_setPosition, "setPosition(self, int)");

extern "C" {static PyObject *meth_QMediaPlayer_setPosition(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_setPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint64 a0;
         ::QMediaPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QMediaPlayer, &sipCpp, &a0))
        {
            sipCpp->setPosition(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_setPosition, doc_QMediaPlayer_setPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_setVolume, "setVolume(self, int)");

extern "C" {static PyObject *meth_QMediaPlayer_setVolume(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_setVolume(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QMediaPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QMediaPlayer, &sipCpp, &a0))
        {
            sipCpp->setVolume(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_setVolume, doc_QMediaPlayer_setVolume);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_setMuted, "setMuted(self, bool)");

extern "C" {static PyObject *meth_QMediaPlayer_setMuted(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_setMuted(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QMediaPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QMediaPlayer, &sipCpp, &a0))
        {
            sipCpp->setMuted(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_setMuted, doc_QMediaPlayer_setMuted);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_setPlaybackRate, "setPlaybackRate(self, float)");

extern "C" {static PyObject *meth_QMediaPlayer_setPlaybackRate(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_setPlaybackRate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QMediaPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QMediaPlayer, &sipCpp, &a0))
        {
            sipCpp->setPlaybackRate(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_setPlaybackRate, doc_QMediaPlayer_setPlaybackRate);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_setMedia, "setMedia(self, QMediaContent, stream: QIODevice = None)");

extern "C" {static PyObject *meth_QMediaPlayer_setMedia(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_setMedia(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaContent* a0;
         ::QIODevice* a1 = 0;
         ::QMediaPlayer *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_stream,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|J8", &sipSelf, sipType_QMediaPlayer, &sipCpp, sipType_QMediaContent, &a0, sipType_QIODevice, &a1))
        {
            sipCpp->setMedia(*a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_setMedia, doc_QMediaPlayer_setMedia);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_setPlaylist, "setPlaylist(self, QMediaPlaylist)");

extern "C" {static PyObject *meth_QMediaPlayer_setPlaylist(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_setPlaylist(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QMediaPlaylist* a0;
         ::QMediaPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QMediaPlayer, &sipCpp, sipType_QMediaPlaylist, &a0))
        {
            sipCpp->setPlaylist(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_setPlaylist, doc_QMediaPlayer_setPlaylist);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_setNetworkConfigurations, "setNetworkConfigurations(self, Iterable[QNetworkConfiguration])");

extern "C" {static PyObject *meth_QMediaPlayer_setNetworkConfigurations(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_setNetworkConfigurations(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QList< ::QNetworkConfiguration>* a0;
        int a0State = 0;
         ::QMediaPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMediaPlayer, &sipCpp, sipType_QList_0100QNetworkConfiguration,&a0, &a0State))
        {
            sipCpp->setNetworkConfigurations(*a0);
            sipReleaseType(const_cast<QList< ::QNetworkConfiguration> *>(a0),sipType_QList_0100QNetworkConfiguration,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_setNetworkConfigurations, doc_QMediaPlayer_setNetworkConfigurations);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_bind, "bind(self, QObject) -> bool");

extern "C" {static PyObject *meth_QMediaPlayer_bind(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_bind(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QObject* a0;
         ::QMediaPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QMediaPlayer, &sipCpp, sipType_QObject, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QMediaPlayer::bind(a0) : sipCpp->bind(a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_bind, doc_QMediaPlayer_bind);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_unbind, "unbind(self, QObject)");

extern "C" {static PyObject *meth_QMediaPlayer_unbind(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_unbind(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QObject* a0;
         ::QMediaPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QMediaPlayer, &sipCpp, sipType_QObject, &a0))
        {
            (sipSelfWasArg ? sipCpp-> ::QMediaPlayer::unbind(a0) : sipCpp->unbind(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_unbind, doc_QMediaPlayer_unbind);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_audioRole, "audioRole(self) -> QAudio.Role");

extern "C" {static PyObject *meth_QMediaPlayer_audioRole(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_audioRole(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaPlayer, &sipCpp))
        {
             ::QAudio::Role sipRes;

            sipRes = sipCpp->audioRole();

            return sipConvertFromEnum(sipRes,sipType_QAudio_Role);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_audioRole, doc_QMediaPlayer_audioRole);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_setAudioRole, "setAudioRole(self, QAudio.Role)");

extern "C" {static PyObject *meth_QMediaPlayer_setAudioRole(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_setAudioRole(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAudio::Role a0;
         ::QMediaPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QMediaPlayer, &sipCpp, sipType_QAudio_Role, &a0))
        {
            sipCpp->setAudioRole(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_setAudioRole, doc_QMediaPlayer_setAudioRole);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaPlayer_supportedAudioRoles, "supportedAudioRoles(self) -> List[QAudio.Role]");

extern "C" {static PyObject *meth_QMediaPlayer_supportedAudioRoles(PyObject *, PyObject *);}
static PyObject *meth_QMediaPlayer_supportedAudioRoles(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaPlayer, &sipCpp))
        {
             ::QList< ::QAudio::Role>*sipRes;

            sipRes = new  ::QList< ::QAudio::Role>(sipCpp->supportedAudioRoles());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QAudio_Role,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaPlayer, sipName_supportedAudioRoles, doc_QMediaPlayer_supportedAudioRoles);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QMediaPlayer(void *, const sipTypeDef *);}
static void *cast_QMediaPlayer(void *sipCppV, const sipTypeDef *targetType)
{
     ::QMediaPlayer *sipCpp = reinterpret_cast< ::QMediaPlayer *>(sipCppV);

    if (targetType == sipType_QMediaObject)
        return static_cast< ::QMediaObject *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QMediaPlayer(void *, int);}
static void release_QMediaPlayer(void *sipCppV, int)
{
     ::QMediaPlayer *sipCpp = reinterpret_cast< ::QMediaPlayer *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QMediaPlayer(sipSimpleWrapper *);}
static void dealloc_QMediaPlayer(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQMediaPlayer *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QMediaPlayer(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QMediaPlayer(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMediaPlayer(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQMediaPlayer *sipCpp = 0;

    {
         ::QObject* a0 = 0;
         ::QMediaPlayer::Flags a1def = 0;
         ::QMediaPlayer::Flags* a1 = &a1def;
        int a1State = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
            sipName_flags,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JHJ1", sipType_QObject, &a0, sipOwner, sipType_QMediaPlayer_Flags, &a1, &a1State))
        {
            sipCpp = new sipQMediaPlayer(a0,*a1);
            sipReleaseType(a1,sipType_QMediaPlayer_Flags,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QMediaPlayer[] = {{76, 255, 1}};


static PyMethodDef methods_QMediaPlayer[] = {
    {SIP_MLNAME_CAST(sipName_addPropertyWatch), (PyCFunction)meth_QMediaPlayer_addPropertyWatch, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_audioRole), meth_QMediaPlayer_audioRole, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlayer_audioRole)},
    {SIP_MLNAME_CAST(sipName_availability), meth_QMediaPlayer_availability, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlayer_availability)},
    {SIP_MLNAME_CAST(sipName_bind), meth_QMediaPlayer_bind, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlayer_bind)},
    {SIP_MLNAME_CAST(sipName_bufferStatus), meth_QMediaPlayer_bufferStatus, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlayer_bufferStatus)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QMediaPlayer_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QMediaPlayer_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_currentMedia), meth_QMediaPlayer_currentMedia, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlayer_currentMedia)},
    {SIP_MLNAME_CAST(sipName_currentNetworkConfiguration), meth_QMediaPlayer_currentNetworkConfiguration, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlayer_currentNetworkConfiguration)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QMediaPlayer_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QMediaPlayer_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_duration), meth_QMediaPlayer_duration, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlayer_duration)},
    {SIP_MLNAME_CAST(sipName_error), meth_QMediaPlayer_error, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlayer_error)},
    {SIP_MLNAME_CAST(sipName_errorString), meth_QMediaPlayer_errorString, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlayer_errorString)},
    {SIP_MLNAME_CAST(sipName_hasSupport), (PyCFunction)meth_QMediaPlayer_hasSupport, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMediaPlayer_hasSupport)},
    {SIP_MLNAME_CAST(sipName_isAudioAvailable), meth_QMediaPlayer_isAudioAvailable, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlayer_isAudioAvailable)},
    {SIP_MLNAME_CAST(sipName_isMuted), meth_QMediaPlayer_isMuted, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlayer_isMuted)},
    {SIP_MLNAME_CAST(sipName_isSeekable), meth_QMediaPlayer_isSeekable, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlayer_isSeekable)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QMediaPlayer_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isVideoAvailable), meth_QMediaPlayer_isVideoAvailable, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlayer_isVideoAvailable)},
    {SIP_MLNAME_CAST(sipName_media), meth_QMediaPlayer_media, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlayer_media)},
    {SIP_MLNAME_CAST(sipName_mediaStatus), meth_QMediaPlayer_mediaStatus, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlayer_mediaStatus)},
    {SIP_MLNAME_CAST(sipName_mediaStream), meth_QMediaPlayer_mediaStream, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlayer_mediaStream)},
    {SIP_MLNAME_CAST(sipName_pause), meth_QMediaPlayer_pause, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlayer_pause)},
    {SIP_MLNAME_CAST(sipName_play), meth_QMediaPlayer_play, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlayer_play)},
    {SIP_MLNAME_CAST(sipName_playbackRate), meth_QMediaPlayer_playbackRate, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlayer_playbackRate)},
    {SIP_MLNAME_CAST(sipName_playlist), meth_QMediaPlayer_playlist, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlayer_playlist)},
    {SIP_MLNAME_CAST(sipName_position), meth_QMediaPlayer_position, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlayer_position)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QMediaPlayer_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removePropertyWatch), (PyCFunction)meth_QMediaPlayer_removePropertyWatch, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QMediaPlayer_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QMediaPlayer_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAudioRole), meth_QMediaPlayer_setAudioRole, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlayer_setAudioRole)},
    {SIP_MLNAME_CAST(sipName_setMedia), (PyCFunction)meth_QMediaPlayer_setMedia, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMediaPlayer_setMedia)},
    {SIP_MLNAME_CAST(sipName_setMuted), meth_QMediaPlayer_setMuted, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlayer_setMuted)},
    {SIP_MLNAME_CAST(sipName_setNetworkConfigurations), meth_QMediaPlayer_setNetworkConfigurations, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlayer_setNetworkConfigurations)},
    {SIP_MLNAME_CAST(sipName_setPlaybackRate), meth_QMediaPlayer_setPlaybackRate, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlayer_setPlaybackRate)},
    {SIP_MLNAME_CAST(sipName_setPlaylist), meth_QMediaPlayer_setPlaylist, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlayer_setPlaylist)},
    {SIP_MLNAME_CAST(sipName_setPosition), meth_QMediaPlayer_setPosition, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlayer_setPosition)},
    {SIP_MLNAME_CAST(sipName_setVideoOutput), meth_QMediaPlayer_setVideoOutput, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlayer_setVideoOutput)},
    {SIP_MLNAME_CAST(sipName_setVolume), meth_QMediaPlayer_setVolume, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlayer_setVolume)},
    {SIP_MLNAME_CAST(sipName_state), meth_QMediaPlayer_state, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlayer_state)},
    {SIP_MLNAME_CAST(sipName_stop), meth_QMediaPlayer_stop, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlayer_stop)},
    {SIP_MLNAME_CAST(sipName_supportedAudioRoles), meth_QMediaPlayer_supportedAudioRoles, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlayer_supportedAudioRoles)},
    {SIP_MLNAME_CAST(sipName_supportedMimeTypes), (PyCFunction)meth_QMediaPlayer_supportedMimeTypes, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMediaPlayer_supportedMimeTypes)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QMediaPlayer_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_unbind), meth_QMediaPlayer_unbind, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlayer_unbind)},
    {SIP_MLNAME_CAST(sipName_volume), meth_QMediaPlayer_volume, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaPlayer_volume)}
};

static sipEnumMemberDef enummembers_QMediaPlayer[] = {
    {sipName_AccessDeniedError, static_cast<int>( ::QMediaPlayer::AccessDeniedError), 78},
    {sipName_BufferedMedia, static_cast<int>( ::QMediaPlayer::BufferedMedia), 81},
    {sipName_BufferingMedia, static_cast<int>( ::QMediaPlayer::BufferingMedia), 81},
    {sipName_EndOfMedia, static_cast<int>( ::QMediaPlayer::EndOfMedia), 81},
    {sipName_FormatError, static_cast<int>( ::QMediaPlayer::FormatError), 78},
    {sipName_InvalidMedia, static_cast<int>( ::QMediaPlayer::InvalidMedia), 81},
    {sipName_LoadedMedia, static_cast<int>( ::QMediaPlayer::LoadedMedia), 81},
    {sipName_LoadingMedia, static_cast<int>( ::QMediaPlayer::LoadingMedia), 81},
    {sipName_LowLatency, static_cast<int>( ::QMediaPlayer::LowLatency), 79},
    {sipName_NetworkError, static_cast<int>( ::QMediaPlayer::NetworkError), 78},
    {sipName_NoError, static_cast<int>( ::QMediaPlayer::NoError), 78},
    {sipName_NoMedia, static_cast<int>( ::QMediaPlayer::NoMedia), 81},
    {sipName_PausedState, static_cast<int>( ::QMediaPlayer::PausedState), 82},
    {sipName_PlayingState, static_cast<int>( ::QMediaPlayer::PlayingState), 82},
    {sipName_ResourceError, static_cast<int>( ::QMediaPlayer::ResourceError), 78},
    {sipName_ServiceMissingError, static_cast<int>( ::QMediaPlayer::ServiceMissingError), 78},
    {sipName_StalledMedia, static_cast<int>( ::QMediaPlayer::StalledMedia), 81},
    {sipName_StoppedState, static_cast<int>( ::QMediaPlayer::StoppedState), 82},
    {sipName_StreamPlayback, static_cast<int>( ::QMediaPlayer::StreamPlayback), 79},
    {sipName_UnknownMediaStatus, static_cast<int>( ::QMediaPlayer::UnknownMediaStatus), 81},
    {sipName_VideoSurface, static_cast<int>( ::QMediaPlayer::VideoSurface), 79},
};

PyDoc_STRVAR(doc_QMediaPlayer, "\1QMediaPlayer(parent: QObject = None, flags: Union[QMediaPlayer.Flags, QMediaPlayer.Flag] = 0)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QMediaPlayer[] = {
    {"audioRoleChanged(QAudio::Role)", "\1audioRoleChanged(self, QAudio.Role)", 0, 0},
    {"networkConfigurationChanged(QNetworkConfiguration)", "\1networkConfigurationChanged(self, QNetworkConfiguration)", 0, 0},
    {"playbackRateChanged(qreal)", "\1playbackRateChanged(self, float)", 0, 0},
    {"seekableChanged(bool)", "\1seekableChanged(self, bool)", 0, 0},
    {"bufferStatusChanged(int)", "\1bufferStatusChanged(self, int)", 0, 0},
    {"videoAvailableChanged(bool)", "\1videoAvailableChanged(self, bool)", 0, 0},
    {"audioAvailableChanged(bool)", "\1audioAvailableChanged(self, bool)", 0, 0},
    {"mutedChanged(bool)", "\1mutedChanged(self, bool)", 0, 0},
    {"volumeChanged(int)", "\1volumeChanged(self, int)", 0, 0},
    {"positionChanged(qint64)", "\1positionChanged(self, int)", 0, 0},
    {"durationChanged(qint64)", "\1durationChanged(self, int)", 0, 0},
    {"mediaStatusChanged(QMediaPlayer::MediaStatus)", "\1mediaStatusChanged(self, QMediaPlayer.MediaStatus)", 0, 0},
    {"stateChanged(QMediaPlayer::State)", "\1stateChanged(self, QMediaPlayer.State)", 0, 0},
    {"currentMediaChanged(QMediaContent)", "\1currentMediaChanged(self, QMediaContent)", 0, 0},
    {"mediaChanged(QMediaContent)", "\1mediaChanged(self, QMediaContent)", 0, 0},
    {"error(QMediaPlayer::Error)", "\1error(self, QMediaPlayer.Error)", &methods_QMediaPlayer[12], 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QMediaPlayer = {
    & ::QMediaPlayer::staticMetaObject,
    0,
    signals_QMediaPlayer,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QMediaPlayer = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMediaPlayer,
        {0},
        &plugin_QMediaPlayer
    },
    {
        sipNameNr_QMediaPlayer,
        {0, 0, 1},
        48, methods_QMediaPlayer,
        21, enummembers_QMediaPlayer,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMediaPlayer,
    -1,
    -1,
    supers_QMediaPlayer,
    0,
    init_type_QMediaPlayer,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMediaPlayer,
    0,
    0,
    0,
    release_QMediaPlayer,
    cast_QMediaPlayer,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediametadata.sip"
#include <qmediametadata.h>
#line 19983 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 19987 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


extern "C" {static PyObject *varget_QMediaMetaData_AlbumArtist(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_AlbumArtist(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::AlbumArtist);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_AlbumTitle(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_AlbumTitle(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::AlbumTitle);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_AudioBitRate(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_AudioBitRate(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::AudioBitRate);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_AudioCodec(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_AudioCodec(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::AudioCodec);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_Author(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Author(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::Author);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_AverageLevel(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_AverageLevel(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::AverageLevel);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_CameraManufacturer(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_CameraManufacturer(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::CameraManufacturer);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_CameraModel(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_CameraModel(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::CameraModel);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_Category(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Category(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::Category);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_ChannelCount(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_ChannelCount(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::ChannelCount);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_ChapterNumber(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_ChapterNumber(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::ChapterNumber);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_Comment(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Comment(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::Comment);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_Composer(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Composer(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::Composer);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_Conductor(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Conductor(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::Conductor);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_Contrast(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Contrast(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::Contrast);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_ContributingArtist(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_ContributingArtist(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::ContributingArtist);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_Copyright(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Copyright(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::Copyright);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_CoverArtImage(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_CoverArtImage(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::CoverArtImage);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_CoverArtUrlLarge(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_CoverArtUrlLarge(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::CoverArtUrlLarge);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_CoverArtUrlSmall(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_CoverArtUrlSmall(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::CoverArtUrlSmall);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_Date(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Date(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::Date);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_DateTimeDigitized(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_DateTimeDigitized(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::DateTimeDigitized);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_DateTimeOriginal(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_DateTimeOriginal(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::DateTimeOriginal);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_Description(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Description(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::Description);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_DeviceSettingDescription(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_DeviceSettingDescription(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::DeviceSettingDescription);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_DigitalZoomRatio(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_DigitalZoomRatio(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::DigitalZoomRatio);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_Director(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Director(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::Director);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_Duration(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Duration(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::Duration);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_Event(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Event(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::Event);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_ExposureBiasValue(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_ExposureBiasValue(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::ExposureBiasValue);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_ExposureMode(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_ExposureMode(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::ExposureMode);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_ExposureProgram(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_ExposureProgram(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::ExposureProgram);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_ExposureTime(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_ExposureTime(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::ExposureTime);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_FNumber(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_FNumber(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::FNumber);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_Flash(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Flash(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::Flash);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_FocalLength(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_FocalLength(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::FocalLength);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_FocalLengthIn35mmFilm(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_FocalLengthIn35mmFilm(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::FocalLengthIn35mmFilm);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_GPSAltitude(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_GPSAltitude(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::GPSAltitude);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_GPSAreaInformation(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_GPSAreaInformation(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::GPSAreaInformation);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_GPSDOP(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_GPSDOP(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::GPSDOP);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_GPSImgDirection(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_GPSImgDirection(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::GPSImgDirection);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_GPSImgDirectionRef(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_GPSImgDirectionRef(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::GPSImgDirectionRef);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_GPSLatitude(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_GPSLatitude(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::GPSLatitude);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_GPSLongitude(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_GPSLongitude(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::GPSLongitude);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_GPSMapDatum(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_GPSMapDatum(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::GPSMapDatum);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_GPSProcessingMethod(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_GPSProcessingMethod(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::GPSProcessingMethod);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_GPSSatellites(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_GPSSatellites(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::GPSSatellites);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_GPSSpeed(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_GPSSpeed(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::GPSSpeed);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_GPSStatus(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_GPSStatus(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::GPSStatus);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_GPSTimeStamp(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_GPSTimeStamp(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::GPSTimeStamp);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_GPSTrack(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_GPSTrack(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::GPSTrack);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_GPSTrackRef(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_GPSTrackRef(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::GPSTrackRef);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_GainControl(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_GainControl(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::GainControl);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_Genre(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Genre(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::Genre);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_ISOSpeedRatings(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_ISOSpeedRatings(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::ISOSpeedRatings);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_Keywords(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Keywords(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::Keywords);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_Language(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Language(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::Language);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_LeadPerformer(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_LeadPerformer(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::LeadPerformer);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_LightSource(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_LightSource(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::LightSource);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_Lyrics(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Lyrics(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::Lyrics);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_MediaType(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_MediaType(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::MediaType);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_MeteringMode(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_MeteringMode(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::MeteringMode);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_Mood(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Mood(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::Mood);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_Orientation(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Orientation(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::Orientation);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_ParentalRating(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_ParentalRating(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::ParentalRating);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_PeakValue(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_PeakValue(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::PeakValue);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_PixelAspectRatio(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_PixelAspectRatio(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::PixelAspectRatio);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_PosterImage(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_PosterImage(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::PosterImage);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_PosterUrl(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_PosterUrl(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::PosterUrl);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_Publisher(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Publisher(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::Publisher);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_RatingOrganization(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_RatingOrganization(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::RatingOrganization);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_Resolution(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Resolution(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::Resolution);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_SampleRate(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_SampleRate(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::SampleRate);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_Saturation(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Saturation(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::Saturation);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_SceneCaptureType(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_SceneCaptureType(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::SceneCaptureType);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_Sharpness(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Sharpness(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::Sharpness);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_Size(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Size(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::Size);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_SubTitle(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_SubTitle(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::SubTitle);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_Subject(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Subject(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::Subject);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_SubjectDistance(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_SubjectDistance(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::SubjectDistance);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_ThumbnailImage(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_ThumbnailImage(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::ThumbnailImage);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_Title(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Title(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::Title);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_TrackCount(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_TrackCount(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::TrackCount);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_TrackNumber(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_TrackNumber(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::TrackNumber);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_UserRating(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_UserRating(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::UserRating);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_VideoBitRate(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_VideoBitRate(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::VideoBitRate);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_VideoCodec(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_VideoCodec(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::VideoCodec);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_VideoFrameRate(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_VideoFrameRate(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::VideoFrameRate);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_WhiteBalance(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_WhiteBalance(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::WhiteBalance);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_Writer(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Writer(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::Writer);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}


extern "C" {static PyObject *varget_QMediaMetaData_Year(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Year(void *, PyObject *, PyObject *)
{
    const  ::QString*sipVal;

    sipVal = new  ::QString( ::QMediaMetaData::Year);

    return sipConvertFromNewType(const_cast< ::QString *>(sipVal), sipType_QString, NULL);
}

sipVariableDef variables_QMediaMetaData[] = {
    {ClassVariable, sipName_AlbumArtist, (PyMethodDef *)varget_QMediaMetaData_AlbumArtist, NULL, NULL, NULL},
    {ClassVariable, sipName_AlbumTitle, (PyMethodDef *)varget_QMediaMetaData_AlbumTitle, NULL, NULL, NULL},
    {ClassVariable, sipName_AudioBitRate, (PyMethodDef *)varget_QMediaMetaData_AudioBitRate, NULL, NULL, NULL},
    {ClassVariable, sipName_AudioCodec, (PyMethodDef *)varget_QMediaMetaData_AudioCodec, NULL, NULL, NULL},
    {ClassVariable, sipName_Author, (PyMethodDef *)varget_QMediaMetaData_Author, NULL, NULL, NULL},
    {ClassVariable, sipName_AverageLevel, (PyMethodDef *)varget_QMediaMetaData_AverageLevel, NULL, NULL, NULL},
    {ClassVariable, sipName_CameraManufacturer, (PyMethodDef *)varget_QMediaMetaData_CameraManufacturer, NULL, NULL, NULL},
    {ClassVariable, sipName_CameraModel, (PyMethodDef *)varget_QMediaMetaData_CameraModel, NULL, NULL, NULL},
    {ClassVariable, sipName_Category, (PyMethodDef *)varget_QMediaMetaData_Category, NULL, NULL, NULL},
    {ClassVariable, sipName_ChannelCount, (PyMethodDef *)varget_QMediaMetaData_ChannelCount, NULL, NULL, NULL},
    {ClassVariable, sipName_ChapterNumber, (PyMethodDef *)varget_QMediaMetaData_ChapterNumber, NULL, NULL, NULL},
    {ClassVariable, sipName_Comment, (PyMethodDef *)varget_QMediaMetaData_Comment, NULL, NULL, NULL},
    {ClassVariable, sipName_Composer, (PyMethodDef *)varget_QMediaMetaData_Composer, NULL, NULL, NULL},
    {ClassVariable, sipName_Conductor, (PyMethodDef *)varget_QMediaMetaData_Conductor, NULL, NULL, NULL},
    {ClassVariable, sipName_Contrast, (PyMethodDef *)varget_QMediaMetaData_Contrast, NULL, NULL, NULL},
    {ClassVariable, sipName_ContributingArtist, (PyMethodDef *)varget_QMediaMetaData_ContributingArtist, NULL, NULL, NULL},
    {ClassVariable, sipName_Copyright, (PyMethodDef *)varget_QMediaMetaData_Copyright, NULL, NULL, NULL},
    {ClassVariable, sipName_CoverArtImage, (PyMethodDef *)varget_QMediaMetaData_CoverArtImage, NULL, NULL, NULL},
    {ClassVariable, sipName_CoverArtUrlLarge, (PyMethodDef *)varget_QMediaMetaData_CoverArtUrlLarge, NULL, NULL, NULL},
    {ClassVariable, sipName_CoverArtUrlSmall, (PyMethodDef *)varget_QMediaMetaData_CoverArtUrlSmall, NULL, NULL, NULL},
    {ClassVariable, sipName_Date, (PyMethodDef *)varget_QMediaMetaData_Date, NULL, NULL, NULL},
    {ClassVariable, sipName_DateTimeDigitized, (PyMethodDef *)varget_QMediaMetaData_DateTimeDigitized, NULL, NULL, NULL},
    {ClassVariable, sipName_DateTimeOriginal, (PyMethodDef *)varget_QMediaMetaData_DateTimeOriginal, NULL, NULL, NULL},
    {ClassVariable, sipName_Description, (PyMethodDef *)varget_QMediaMetaData_Description, NULL, NULL, NULL},
    {ClassVariable, sipName_DeviceSettingDescription, (PyMethodDef *)varget_QMediaMetaData_DeviceSettingDescription, NULL, NULL, NULL},
    {ClassVariable, sipName_DigitalZoomRatio, (PyMethodDef *)varget_QMediaMetaData_DigitalZoomRatio, NULL, NULL, NULL},
    {ClassVariable, sipName_Director, (PyMethodDef *)varget_QMediaMetaData_Director, NULL, NULL, NULL},
    {ClassVariable, sipName_Duration, (PyMethodDef *)varget_QMediaMetaData_Duration, NULL, NULL, NULL},
    {ClassVariable, sipName_Event, (PyMethodDef *)varget_QMediaMetaData_Event, NULL, NULL, NULL},
    {ClassVariable, sipName_ExposureBiasValue, (PyMethodDef *)varget_QMediaMetaData_ExposureBiasValue, NULL, NULL, NULL},
    {ClassVariable, sipName_ExposureMode, (PyMethodDef *)varget_QMediaMetaData_ExposureMode, NULL, NULL, NULL},
    {ClassVariable, sipName_ExposureProgram, (PyMethodDef *)varget_QMediaMetaData_ExposureProgram, NULL, NULL, NULL},
    {ClassVariable, sipName_ExposureTime, (PyMethodDef *)varget_QMediaMetaData_ExposureTime, NULL, NULL, NULL},
    {ClassVariable, sipName_FNumber, (PyMethodDef *)varget_QMediaMetaData_FNumber, NULL, NULL, NULL},
    {ClassVariable, sipName_Flash, (PyMethodDef *)varget_QMediaMetaData_Flash, NULL, NULL, NULL},
    {ClassVariable, sipName_FocalLength, (PyMethodDef *)varget_QMediaMetaData_FocalLength, NULL, NULL, NULL},
    {ClassVariable, sipName_FocalLengthIn35mmFilm, (PyMethodDef *)varget_QMediaMetaData_FocalLengthIn35mmFilm, NULL, NULL, NULL},
    {ClassVariable, sipName_GPSAltitude, (PyMethodDef *)varget_QMediaMetaData_GPSAltitude, NULL, NULL, NULL},
    {ClassVariable, sipName_GPSAreaInformation, (PyMethodDef *)varget_QMediaMetaData_GPSAreaInformation, NULL, NULL, NULL},
    {ClassVariable, sipName_GPSDOP, (PyMethodDef *)varget_QMediaMetaData_GPSDOP, NULL, NULL, NULL},
    {ClassVariable, sipName_GPSImgDirection, (PyMethodDef *)varget_QMediaMetaData_GPSImgDirection, NULL, NULL, NULL},
    {ClassVariable, sipName_GPSImgDirectionRef, (PyMethodDef *)varget_QMediaMetaData_GPSImgDirectionRef, NULL, NULL, NULL},
    {ClassVariable, sipName_GPSLatitude, (PyMethodDef *)varget_QMediaMetaData_GPSLatitude, NULL, NULL, NULL},
    {ClassVariable, sipName_GPSLongitude, (PyMethodDef *)varget_QMediaMetaData_GPSLongitude, NULL, NULL, NULL},
    {ClassVariable, sipName_GPSMapDatum, (PyMethodDef *)varget_QMediaMetaData_GPSMapDatum, NULL, NULL, NULL},
    {ClassVariable, sipName_GPSProcessingMethod, (PyMethodDef *)varget_QMediaMetaData_GPSProcessingMethod, NULL, NULL, NULL},
    {ClassVariable, sipName_GPSSatellites, (PyMethodDef *)varget_QMediaMetaData_GPSSatellites, NULL, NULL, NULL},
    {ClassVariable, sipName_GPSSpeed, (PyMethodDef *)varget_QMediaMetaData_GPSSpeed, NULL, NULL, NULL},
    {ClassVariable, sipName_GPSStatus, (PyMethodDef *)varget_QMediaMetaData_GPSStatus, NULL, NULL, NULL},
    {ClassVariable, sipName_GPSTimeStamp, (PyMethodDef *)varget_QMediaMetaData_GPSTimeStamp, NULL, NULL, NULL},
    {ClassVariable, sipName_GPSTrack, (PyMethodDef *)varget_QMediaMetaData_GPSTrack, NULL, NULL, NULL},
    {ClassVariable, sipName_GPSTrackRef, (PyMethodDef *)varget_QMediaMetaData_GPSTrackRef, NULL, NULL, NULL},
    {ClassVariable, sipName_GainControl, (PyMethodDef *)varget_QMediaMetaData_GainControl, NULL, NULL, NULL},
    {ClassVariable, sipName_Genre, (PyMethodDef *)varget_QMediaMetaData_Genre, NULL, NULL, NULL},
    {ClassVariable, sipName_ISOSpeedRatings, (PyMethodDef *)varget_QMediaMetaData_ISOSpeedRatings, NULL, NULL, NULL},
    {ClassVariable, sipName_Keywords, (PyMethodDef *)varget_QMediaMetaData_Keywords, NULL, NULL, NULL},
    {ClassVariable, sipName_Language, (PyMethodDef *)varget_QMediaMetaData_Language, NULL, NULL, NULL},
    {ClassVariable, sipName_LeadPerformer, (PyMethodDef *)varget_QMediaMetaData_LeadPerformer, NULL, NULL, NULL},
    {ClassVariable, sipName_LightSource, (PyMethodDef *)varget_QMediaMetaData_LightSource, NULL, NULL, NULL},
    {ClassVariable, sipName_Lyrics, (PyMethodDef *)varget_QMediaMetaData_Lyrics, NULL, NULL, NULL},
    {ClassVariable, sipName_MediaType, (PyMethodDef *)varget_QMediaMetaData_MediaType, NULL, NULL, NULL},
    {ClassVariable, sipName_MeteringMode, (PyMethodDef *)varget_QMediaMetaData_MeteringMode, NULL, NULL, NULL},
    {ClassVariable, sipName_Mood, (PyMethodDef *)varget_QMediaMetaData_Mood, NULL, NULL, NULL},
    {ClassVariable, sipName_Orientation, (PyMethodDef *)varget_QMediaMetaData_Orientation, NULL, NULL, NULL},
    {ClassVariable, sipName_ParentalRating, (PyMethodDef *)varget_QMediaMetaData_ParentalRating, NULL, NULL, NULL},
    {ClassVariable, sipName_PeakValue, (PyMethodDef *)varget_QMediaMetaData_PeakValue, NULL, NULL, NULL},
    {ClassVariable, sipName_PixelAspectRatio, (PyMethodDef *)varget_QMediaMetaData_PixelAspectRatio, NULL, NULL, NULL},
    {ClassVariable, sipName_PosterImage, (PyMethodDef *)varget_QMediaMetaData_PosterImage, NULL, NULL, NULL},
    {ClassVariable, sipName_PosterUrl, (PyMethodDef *)varget_QMediaMetaData_PosterUrl, NULL, NULL, NULL},
    {ClassVariable, sipName_Publisher, (PyMethodDef *)varget_QMediaMetaData_Publisher, NULL, NULL, NULL},
    {ClassVariable, sipName_RatingOrganization, (PyMethodDef *)varget_QMediaMetaData_RatingOrganization, NULL, NULL, NULL},
    {ClassVariable, sipName_Resolution, (PyMethodDef *)varget_QMediaMetaData_Resolution, NULL, NULL, NULL},
    {ClassVariable, sipName_SampleRate, (PyMethodDef *)varget_QMediaMetaData_SampleRate, NULL, NULL, NULL},
    {ClassVariable, sipName_Saturation, (PyMethodDef *)varget_QMediaMetaData_Saturation, NULL, NULL, NULL},
    {ClassVariable, sipName_SceneCaptureType, (PyMethodDef *)varget_QMediaMetaData_SceneCaptureType, NULL, NULL, NULL},
    {ClassVariable, sipName_Sharpness, (PyMethodDef *)varget_QMediaMetaData_Sharpness, NULL, NULL, NULL},
    {ClassVariable, sipName_Size, (PyMethodDef *)varget_QMediaMetaData_Size, NULL, NULL, NULL},
    {ClassVariable, sipName_SubTitle, (PyMethodDef *)varget_QMediaMetaData_SubTitle, NULL, NULL, NULL},
    {ClassVariable, sipName_Subject, (PyMethodDef *)varget_QMediaMetaData_Subject, NULL, NULL, NULL},
    {ClassVariable, sipName_SubjectDistance, (PyMethodDef *)varget_QMediaMetaData_SubjectDistance, NULL, NULL, NULL},
    {ClassVariable, sipName_ThumbnailImage, (PyMethodDef *)varget_QMediaMetaData_ThumbnailImage, NULL, NULL, NULL},
    {ClassVariable, sipName_Title, (PyMethodDef *)varget_QMediaMetaData_Title, NULL, NULL, NULL},
    {ClassVariable, sipName_TrackCount, (PyMethodDef *)varget_QMediaMetaData_TrackCount, NULL, NULL, NULL},
    {ClassVariable, sipName_TrackNumber, (PyMethodDef *)varget_QMediaMetaData_TrackNumber, NULL, NULL, NULL},
    {ClassVariable, sipName_UserRating, (PyMethodDef *)varget_QMediaMetaData_UserRating, NULL, NULL, NULL},
    {ClassVariable, sipName_VideoBitRate, (PyMethodDef *)varget_QMediaMetaData_VideoBitRate, NULL, NULL, NULL},
    {ClassVariable, sipName_VideoCodec, (PyMethodDef *)varget_QMediaMetaData_VideoCodec, NULL, NULL, NULL},
    {ClassVariable, sipName_VideoFrameRate, (PyMethodDef *)varget_QMediaMetaData_VideoFrameRate, NULL, NULL, NULL},
    {ClassVariable, sipName_WhiteBalance, (PyMethodDef *)varget_QMediaMetaData_WhiteBalance, NULL, NULL, NULL},
    {ClassVariable, sipName_Writer, (PyMethodDef *)varget_QMediaMetaData_Writer, NULL, NULL, NULL},
    {ClassVariable, sipName_Year, (PyMethodDef *)varget_QMediaMetaData_Year, NULL, NULL, NULL},
};


static pyqt5ClassPluginDef plugin_QMediaMetaData = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QMediaMetaData = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_NAMESPACE,
        sipNameNr_QMediaMetaData,
        {0},
        &plugin_QMediaMetaData
    },
    {
        sipNameNr_QMediaMetaData,
        {0, 0, 1},
        0, 0,
        0, 0,
        91, variables_QMediaMetaData,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaencodersettings.sip"
#include <qmediaencodersettings.h>
#line 21144 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 27 "sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 21148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 21151 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 21154 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmultimedia.sip"
#include <qmultimedia.h>
#line 21157 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 21160 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


PyDoc_STRVAR(doc_QImageEncoderSettings_isNull, "isNull(self) -> bool");

extern "C" {static PyObject *meth_QImageEncoderSettings_isNull(PyObject *, PyObject *);}
static PyObject *meth_QImageEncoderSettings_isNull(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QImageEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QImageEncoderSettings, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isNull();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QImageEncoderSettings, sipName_isNull, doc_QImageEncoderSettings_isNull);

    return NULL;
}


PyDoc_STRVAR(doc_QImageEncoderSettings_codec, "codec(self) -> str");

extern "C" {static PyObject *meth_QImageEncoderSettings_codec(PyObject *, PyObject *);}
static PyObject *meth_QImageEncoderSettings_codec(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QImageEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QImageEncoderSettings, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->codec());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QImageEncoderSettings, sipName_codec, doc_QImageEncoderSettings_codec);

    return NULL;
}


PyDoc_STRVAR(doc_QImageEncoderSettings_setCodec, "setCodec(self, str)");

extern "C" {static PyObject *meth_QImageEncoderSettings_setCodec(PyObject *, PyObject *);}
static PyObject *meth_QImageEncoderSettings_setCodec(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QImageEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QImageEncoderSettings, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setCodec(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QImageEncoderSettings, sipName_setCodec, doc_QImageEncoderSettings_setCodec);

    return NULL;
}


PyDoc_STRVAR(doc_QImageEncoderSettings_resolution, "resolution(self) -> QSize");

extern "C" {static PyObject *meth_QImageEncoderSettings_resolution(PyObject *, PyObject *);}
static PyObject *meth_QImageEncoderSettings_resolution(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QImageEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QImageEncoderSettings, &sipCpp))
        {
             ::QSize*sipRes;

            sipRes = new  ::QSize(sipCpp->resolution());

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QImageEncoderSettings, sipName_resolution, doc_QImageEncoderSettings_resolution);

    return NULL;
}


PyDoc_STRVAR(doc_QImageEncoderSettings_setResolution, "setResolution(self, QSize)\n"
    "setResolution(self, int, int)");

extern "C" {static PyObject *meth_QImageEncoderSettings_setResolution(PyObject *, PyObject *);}
static PyObject *meth_QImageEncoderSettings_setResolution(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSize* a0;
         ::QImageEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QImageEncoderSettings, &sipCpp, sipType_QSize, &a0))
        {
            sipCpp->setResolution(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        int a1;
         ::QImageEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QImageEncoderSettings, &sipCpp, &a0, &a1))
        {
            sipCpp->setResolution(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QImageEncoderSettings, sipName_setResolution, doc_QImageEncoderSettings_setResolution);

    return NULL;
}


PyDoc_STRVAR(doc_QImageEncoderSettings_quality, "quality(self) -> QMultimedia.EncodingQuality");

extern "C" {static PyObject *meth_QImageEncoderSettings_quality(PyObject *, PyObject *);}
static PyObject *meth_QImageEncoderSettings_quality(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QImageEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QImageEncoderSettings, &sipCpp))
        {
             ::QMultimedia::EncodingQuality sipRes;

            sipRes = sipCpp->quality();

            return sipConvertFromEnum(sipRes,sipType_QMultimedia_EncodingQuality);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QImageEncoderSettings, sipName_quality, doc_QImageEncoderSettings_quality);

    return NULL;
}


PyDoc_STRVAR(doc_QImageEncoderSettings_setQuality, "setQuality(self, QMultimedia.EncodingQuality)");

extern "C" {static PyObject *meth_QImageEncoderSettings_setQuality(PyObject *, PyObject *);}
static PyObject *meth_QImageEncoderSettings_setQuality(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QMultimedia::EncodingQuality a0;
         ::QImageEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QImageEncoderSettings, &sipCpp, sipType_QMultimedia_EncodingQuality, &a0))
        {
            sipCpp->setQuality(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QImageEncoderSettings, sipName_setQuality, doc_QImageEncoderSettings_setQuality);

    return NULL;
}


PyDoc_STRVAR(doc_QImageEncoderSettings_encodingOption, "encodingOption(self, str) -> Any");

extern "C" {static PyObject *meth_QImageEncoderSettings_encodingOption(PyObject *, PyObject *);}
static PyObject *meth_QImageEncoderSettings_encodingOption(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QImageEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QImageEncoderSettings, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QVariant*sipRes;

            sipRes = new  ::QVariant(sipCpp->encodingOption(*a0));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QImageEncoderSettings, sipName_encodingOption, doc_QImageEncoderSettings_encodingOption);

    return NULL;
}


PyDoc_STRVAR(doc_QImageEncoderSettings_encodingOptions, "encodingOptions(self) -> Dict[str, Any]");

extern "C" {static PyObject *meth_QImageEncoderSettings_encodingOptions(PyObject *, PyObject *);}
static PyObject *meth_QImageEncoderSettings_encodingOptions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QImageEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QImageEncoderSettings, &sipCpp))
        {
             ::QVariantMap*sipRes;

            sipRes = new  ::QVariantMap(sipCpp->encodingOptions());

            return sipConvertFromNewType(sipRes,sipType_QMap_0100QString_0100QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QImageEncoderSettings, sipName_encodingOptions, doc_QImageEncoderSettings_encodingOptions);

    return NULL;
}


PyDoc_STRVAR(doc_QImageEncoderSettings_setEncodingOption, "setEncodingOption(self, str, Any)");

extern "C" {static PyObject *meth_QImageEncoderSettings_setEncodingOption(PyObject *, PyObject *);}
static PyObject *meth_QImageEncoderSettings_setEncodingOption(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QVariant* a1;
        int a1State = 0;
         ::QImageEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QImageEncoderSettings, &sipCpp, sipType_QString,&a0, &a0State, sipType_QVariant, &a1, &a1State))
        {
            sipCpp->setEncodingOption(*a0,*a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QVariant *>(a1),sipType_QVariant,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QImageEncoderSettings, sipName_setEncodingOption, doc_QImageEncoderSettings_setEncodingOption);

    return NULL;
}


PyDoc_STRVAR(doc_QImageEncoderSettings_setEncodingOptions, "setEncodingOptions(self, Dict[str, Any])");

extern "C" {static PyObject *meth_QImageEncoderSettings_setEncodingOptions(PyObject *, PyObject *);}
static PyObject *meth_QImageEncoderSettings_setEncodingOptions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVariantMap* a0;
        int a0State = 0;
         ::QImageEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QImageEncoderSettings, &sipCpp, sipType_QMap_0100QString_0100QVariant,&a0, &a0State))
        {
            sipCpp->setEncodingOptions(*a0);
            sipReleaseType(const_cast< ::QVariantMap *>(a0),sipType_QMap_0100QString_0100QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QImageEncoderSettings, sipName_setEncodingOptions, doc_QImageEncoderSettings_setEncodingOptions);

    return NULL;
}


extern "C" {static PyObject *slot_QImageEncoderSettings___ne__(PyObject *,PyObject *);}
static PyObject *slot_QImageEncoderSettings___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QImageEncoderSettings *sipCpp = reinterpret_cast< ::QImageEncoderSettings *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QImageEncoderSettings));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QImageEncoderSettings* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QImageEncoderSettings, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QImageEncoderSettings::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, ne_slot, sipType_QImageEncoderSettings, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QImageEncoderSettings___eq__(PyObject *,PyObject *);}
static PyObject *slot_QImageEncoderSettings___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QImageEncoderSettings *sipCpp = reinterpret_cast< ::QImageEncoderSettings *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QImageEncoderSettings));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QImageEncoderSettings* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QImageEncoderSettings, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QImageEncoderSettings::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, eq_slot, sipType_QImageEncoderSettings, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QImageEncoderSettings(void *, int);}
static void release_QImageEncoderSettings(void *sipCppV, int)
{
    delete reinterpret_cast< ::QImageEncoderSettings *>(sipCppV);
}


extern "C" {static void assign_QImageEncoderSettings(void *, SIP_SSIZE_T, const void *);}
static void assign_QImageEncoderSettings(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QImageEncoderSettings *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QImageEncoderSettings *>(sipSrc);
}


extern "C" {static void *array_QImageEncoderSettings(SIP_SSIZE_T);}
static void *array_QImageEncoderSettings(SIP_SSIZE_T sipNrElem)
{
    return new  ::QImageEncoderSettings[sipNrElem];
}


extern "C" {static void *copy_QImageEncoderSettings(const void *, SIP_SSIZE_T);}
static void *copy_QImageEncoderSettings(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QImageEncoderSettings(reinterpret_cast<const  ::QImageEncoderSettings *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QImageEncoderSettings(sipSimpleWrapper *);}
static void dealloc_QImageEncoderSettings(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QImageEncoderSettings(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QImageEncoderSettings(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QImageEncoderSettings(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QImageEncoderSettings *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QImageEncoderSettings();

            return sipCpp;
        }
    }

    {
        const  ::QImageEncoderSettings* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QImageEncoderSettings, &a0))
        {
            sipCpp = new  ::QImageEncoderSettings(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QImageEncoderSettings[] = {
    {(void *)slot_QImageEncoderSettings___ne__, ne_slot},
    {(void *)slot_QImageEncoderSettings___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QImageEncoderSettings[] = {
    {SIP_MLNAME_CAST(sipName_codec), meth_QImageEncoderSettings_codec, METH_VARARGS, SIP_MLDOC_CAST(doc_QImageEncoderSettings_codec)},
    {SIP_MLNAME_CAST(sipName_encodingOption), meth_QImageEncoderSettings_encodingOption, METH_VARARGS, SIP_MLDOC_CAST(doc_QImageEncoderSettings_encodingOption)},
    {SIP_MLNAME_CAST(sipName_encodingOptions), meth_QImageEncoderSettings_encodingOptions, METH_VARARGS, SIP_MLDOC_CAST(doc_QImageEncoderSettings_encodingOptions)},
    {SIP_MLNAME_CAST(sipName_isNull), meth_QImageEncoderSettings_isNull, METH_VARARGS, SIP_MLDOC_CAST(doc_QImageEncoderSettings_isNull)},
    {SIP_MLNAME_CAST(sipName_quality), meth_QImageEncoderSettings_quality, METH_VARARGS, SIP_MLDOC_CAST(doc_QImageEncoderSettings_quality)},
    {SIP_MLNAME_CAST(sipName_resolution), meth_QImageEncoderSettings_resolution, METH_VARARGS, SIP_MLDOC_CAST(doc_QImageEncoderSettings_resolution)},
    {SIP_MLNAME_CAST(sipName_setCodec), meth_QImageEncoderSettings_setCodec, METH_VARARGS, SIP_MLDOC_CAST(doc_QImageEncoderSettings_setCodec)},
    {SIP_MLNAME_CAST(sipName_setEncodingOption), meth_QImageEncoderSettings_setEncodingOption, METH_VARARGS, SIP_MLDOC_CAST(doc_QImageEncoderSettings_setEncodingOption)},
    {SIP_MLNAME_CAST(sipName_setEncodingOptions), meth_QImageEncoderSettings_setEncodingOptions, METH_VARARGS, SIP_MLDOC_CAST(doc_QImageEncoderSettings_setEncodingOptions)},
    {SIP_MLNAME_CAST(sipName_setQuality), meth_QImageEncoderSettings_setQuality, METH_VARARGS, SIP_MLDOC_CAST(doc_QImageEncoderSettings_setQuality)},
    {SIP_MLNAME_CAST(sipName_setResolution), meth_QImageEncoderSettings_setResolution, METH_VARARGS, SIP_MLDOC_CAST(doc_QImageEncoderSettings_setResolution)}
};

PyDoc_STRVAR(doc_QImageEncoderSettings, "\1QImageEncoderSettings()\n"
    "QImageEncoderSettings(QImageEncoderSettings)");


static pyqt5ClassPluginDef plugin_QImageEncoderSettings = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QImageEncoderSettings = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QImageEncoderSettings,
        {0},
        &plugin_QImageEncoderSettings
    },
    {
        sipNameNr_QImageEncoderSettings,
        {0, 0, 1},
        11, methods_QImageEncoderSettings,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QImageEncoderSettings,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QImageEncoderSettings,
    init_type_QImageEncoderSettings,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QImageEncoderSettings,
    assign_QImageEncoderSettings,
    array_QImageEncoderSettings,
    copy_QImageEncoderSettings,
    release_QImageEncoderSettings,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 57 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaencodersettings.sip"
#include <qmediaencodersettings.h>
#line 21717 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 27 "sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 21721 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 21724 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 21727 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmultimedia.sip"
#include <qmultimedia.h>
#line 21730 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 21733 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


PyDoc_STRVAR(doc_QVideoEncoderSettings_isNull, "isNull(self) -> bool");

extern "C" {static PyObject *meth_QVideoEncoderSettings_isNull(PyObject *, PyObject *);}
static PyObject *meth_QVideoEncoderSettings_isNull(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVideoEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVideoEncoderSettings, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isNull();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoEncoderSettings, sipName_isNull, doc_QVideoEncoderSettings_isNull);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoEncoderSettings_encodingMode, "encodingMode(self) -> QMultimedia.EncodingMode");

extern "C" {static PyObject *meth_QVideoEncoderSettings_encodingMode(PyObject *, PyObject *);}
static PyObject *meth_QVideoEncoderSettings_encodingMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVideoEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVideoEncoderSettings, &sipCpp))
        {
             ::QMultimedia::EncodingMode sipRes;

            sipRes = sipCpp->encodingMode();

            return sipConvertFromEnum(sipRes,sipType_QMultimedia_EncodingMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoEncoderSettings, sipName_encodingMode, doc_QVideoEncoderSettings_encodingMode);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoEncoderSettings_setEncodingMode, "setEncodingMode(self, QMultimedia.EncodingMode)");

extern "C" {static PyObject *meth_QVideoEncoderSettings_setEncodingMode(PyObject *, PyObject *);}
static PyObject *meth_QVideoEncoderSettings_setEncodingMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QMultimedia::EncodingMode a0;
         ::QVideoEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QVideoEncoderSettings, &sipCpp, sipType_QMultimedia_EncodingMode, &a0))
        {
            sipCpp->setEncodingMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoEncoderSettings, sipName_setEncodingMode, doc_QVideoEncoderSettings_setEncodingMode);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoEncoderSettings_codec, "codec(self) -> str");

extern "C" {static PyObject *meth_QVideoEncoderSettings_codec(PyObject *, PyObject *);}
static PyObject *meth_QVideoEncoderSettings_codec(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVideoEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVideoEncoderSettings, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->codec());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoEncoderSettings, sipName_codec, doc_QVideoEncoderSettings_codec);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoEncoderSettings_setCodec, "setCodec(self, str)");

extern "C" {static PyObject *meth_QVideoEncoderSettings_setCodec(PyObject *, PyObject *);}
static PyObject *meth_QVideoEncoderSettings_setCodec(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QVideoEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QVideoEncoderSettings, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setCodec(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoEncoderSettings, sipName_setCodec, doc_QVideoEncoderSettings_setCodec);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoEncoderSettings_resolution, "resolution(self) -> QSize");

extern "C" {static PyObject *meth_QVideoEncoderSettings_resolution(PyObject *, PyObject *);}
static PyObject *meth_QVideoEncoderSettings_resolution(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVideoEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVideoEncoderSettings, &sipCpp))
        {
             ::QSize*sipRes;

            sipRes = new  ::QSize(sipCpp->resolution());

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoEncoderSettings, sipName_resolution, doc_QVideoEncoderSettings_resolution);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoEncoderSettings_setResolution, "setResolution(self, QSize)\n"
    "setResolution(self, int, int)");

extern "C" {static PyObject *meth_QVideoEncoderSettings_setResolution(PyObject *, PyObject *);}
static PyObject *meth_QVideoEncoderSettings_setResolution(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSize* a0;
         ::QVideoEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QVideoEncoderSettings, &sipCpp, sipType_QSize, &a0))
        {
            sipCpp->setResolution(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        int a1;
         ::QVideoEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QVideoEncoderSettings, &sipCpp, &a0, &a1))
        {
            sipCpp->setResolution(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoEncoderSettings, sipName_setResolution, doc_QVideoEncoderSettings_setResolution);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoEncoderSettings_frameRate, "frameRate(self) -> float");

extern "C" {static PyObject *meth_QVideoEncoderSettings_frameRate(PyObject *, PyObject *);}
static PyObject *meth_QVideoEncoderSettings_frameRate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVideoEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVideoEncoderSettings, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->frameRate();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoEncoderSettings, sipName_frameRate, doc_QVideoEncoderSettings_frameRate);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoEncoderSettings_setFrameRate, "setFrameRate(self, float)");

extern "C" {static PyObject *meth_QVideoEncoderSettings_setFrameRate(PyObject *, PyObject *);}
static PyObject *meth_QVideoEncoderSettings_setFrameRate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QVideoEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QVideoEncoderSettings, &sipCpp, &a0))
        {
            sipCpp->setFrameRate(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoEncoderSettings, sipName_setFrameRate, doc_QVideoEncoderSettings_setFrameRate);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoEncoderSettings_bitRate, "bitRate(self) -> int");

extern "C" {static PyObject *meth_QVideoEncoderSettings_bitRate(PyObject *, PyObject *);}
static PyObject *meth_QVideoEncoderSettings_bitRate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVideoEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVideoEncoderSettings, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->bitRate();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoEncoderSettings, sipName_bitRate, doc_QVideoEncoderSettings_bitRate);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoEncoderSettings_setBitRate, "setBitRate(self, int)");

extern "C" {static PyObject *meth_QVideoEncoderSettings_setBitRate(PyObject *, PyObject *);}
static PyObject *meth_QVideoEncoderSettings_setBitRate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QVideoEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QVideoEncoderSettings, &sipCpp, &a0))
        {
            sipCpp->setBitRate(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoEncoderSettings, sipName_setBitRate, doc_QVideoEncoderSettings_setBitRate);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoEncoderSettings_quality, "quality(self) -> QMultimedia.EncodingQuality");

extern "C" {static PyObject *meth_QVideoEncoderSettings_quality(PyObject *, PyObject *);}
static PyObject *meth_QVideoEncoderSettings_quality(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVideoEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVideoEncoderSettings, &sipCpp))
        {
             ::QMultimedia::EncodingQuality sipRes;

            sipRes = sipCpp->quality();

            return sipConvertFromEnum(sipRes,sipType_QMultimedia_EncodingQuality);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoEncoderSettings, sipName_quality, doc_QVideoEncoderSettings_quality);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoEncoderSettings_setQuality, "setQuality(self, QMultimedia.EncodingQuality)");

extern "C" {static PyObject *meth_QVideoEncoderSettings_setQuality(PyObject *, PyObject *);}
static PyObject *meth_QVideoEncoderSettings_setQuality(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QMultimedia::EncodingQuality a0;
         ::QVideoEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QVideoEncoderSettings, &sipCpp, sipType_QMultimedia_EncodingQuality, &a0))
        {
            sipCpp->setQuality(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoEncoderSettings, sipName_setQuality, doc_QVideoEncoderSettings_setQuality);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoEncoderSettings_encodingOption, "encodingOption(self, str) -> Any");

extern "C" {static PyObject *meth_QVideoEncoderSettings_encodingOption(PyObject *, PyObject *);}
static PyObject *meth_QVideoEncoderSettings_encodingOption(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QVideoEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QVideoEncoderSettings, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QVariant*sipRes;

            sipRes = new  ::QVariant(sipCpp->encodingOption(*a0));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoEncoderSettings, sipName_encodingOption, doc_QVideoEncoderSettings_encodingOption);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoEncoderSettings_encodingOptions, "encodingOptions(self) -> Dict[str, Any]");

extern "C" {static PyObject *meth_QVideoEncoderSettings_encodingOptions(PyObject *, PyObject *);}
static PyObject *meth_QVideoEncoderSettings_encodingOptions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVideoEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVideoEncoderSettings, &sipCpp))
        {
             ::QVariantMap*sipRes;

            sipRes = new  ::QVariantMap(sipCpp->encodingOptions());

            return sipConvertFromNewType(sipRes,sipType_QMap_0100QString_0100QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoEncoderSettings, sipName_encodingOptions, doc_QVideoEncoderSettings_encodingOptions);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoEncoderSettings_setEncodingOption, "setEncodingOption(self, str, Any)");

extern "C" {static PyObject *meth_QVideoEncoderSettings_setEncodingOption(PyObject *, PyObject *);}
static PyObject *meth_QVideoEncoderSettings_setEncodingOption(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QVariant* a1;
        int a1State = 0;
         ::QVideoEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QVideoEncoderSettings, &sipCpp, sipType_QString,&a0, &a0State, sipType_QVariant, &a1, &a1State))
        {
            sipCpp->setEncodingOption(*a0,*a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QVariant *>(a1),sipType_QVariant,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoEncoderSettings, sipName_setEncodingOption, doc_QVideoEncoderSettings_setEncodingOption);

    return NULL;
}


PyDoc_STRVAR(doc_QVideoEncoderSettings_setEncodingOptions, "setEncodingOptions(self, Dict[str, Any])");

extern "C" {static PyObject *meth_QVideoEncoderSettings_setEncodingOptions(PyObject *, PyObject *);}
static PyObject *meth_QVideoEncoderSettings_setEncodingOptions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVariantMap* a0;
        int a0State = 0;
         ::QVideoEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QVideoEncoderSettings, &sipCpp, sipType_QMap_0100QString_0100QVariant,&a0, &a0State))
        {
            sipCpp->setEncodingOptions(*a0);
            sipReleaseType(const_cast< ::QVariantMap *>(a0),sipType_QMap_0100QString_0100QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoEncoderSettings, sipName_setEncodingOptions, doc_QVideoEncoderSettings_setEncodingOptions);

    return NULL;
}


extern "C" {static PyObject *slot_QVideoEncoderSettings___ne__(PyObject *,PyObject *);}
static PyObject *slot_QVideoEncoderSettings___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QVideoEncoderSettings *sipCpp = reinterpret_cast< ::QVideoEncoderSettings *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QVideoEncoderSettings));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QVideoEncoderSettings* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QVideoEncoderSettings, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QVideoEncoderSettings::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, ne_slot, sipType_QVideoEncoderSettings, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QVideoEncoderSettings___eq__(PyObject *,PyObject *);}
static PyObject *slot_QVideoEncoderSettings___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QVideoEncoderSettings *sipCpp = reinterpret_cast< ::QVideoEncoderSettings *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QVideoEncoderSettings));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QVideoEncoderSettings* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QVideoEncoderSettings, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QVideoEncoderSettings::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, eq_slot, sipType_QVideoEncoderSettings, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QVideoEncoderSettings(void *, int);}
static void release_QVideoEncoderSettings(void *sipCppV, int)
{
    delete reinterpret_cast< ::QVideoEncoderSettings *>(sipCppV);
}


extern "C" {static void assign_QVideoEncoderSettings(void *, SIP_SSIZE_T, const void *);}
static void assign_QVideoEncoderSettings(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QVideoEncoderSettings *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QVideoEncoderSettings *>(sipSrc);
}


extern "C" {static void *array_QVideoEncoderSettings(SIP_SSIZE_T);}
static void *array_QVideoEncoderSettings(SIP_SSIZE_T sipNrElem)
{
    return new  ::QVideoEncoderSettings[sipNrElem];
}


extern "C" {static void *copy_QVideoEncoderSettings(const void *, SIP_SSIZE_T);}
static void *copy_QVideoEncoderSettings(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QVideoEncoderSettings(reinterpret_cast<const  ::QVideoEncoderSettings *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QVideoEncoderSettings(sipSimpleWrapper *);}
static void dealloc_QVideoEncoderSettings(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QVideoEncoderSettings(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QVideoEncoderSettings(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QVideoEncoderSettings(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QVideoEncoderSettings *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QVideoEncoderSettings();

            return sipCpp;
        }
    }

    {
        const  ::QVideoEncoderSettings* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QVideoEncoderSettings, &a0))
        {
            sipCpp = new  ::QVideoEncoderSettings(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QVideoEncoderSettings[] = {
    {(void *)slot_QVideoEncoderSettings___ne__, ne_slot},
    {(void *)slot_QVideoEncoderSettings___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QVideoEncoderSettings[] = {
    {SIP_MLNAME_CAST(sipName_bitRate), meth_QVideoEncoderSettings_bitRate, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoEncoderSettings_bitRate)},
    {SIP_MLNAME_CAST(sipName_codec), meth_QVideoEncoderSettings_codec, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoEncoderSettings_codec)},
    {SIP_MLNAME_CAST(sipName_encodingMode), meth_QVideoEncoderSettings_encodingMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoEncoderSettings_encodingMode)},
    {SIP_MLNAME_CAST(sipName_encodingOption), meth_QVideoEncoderSettings_encodingOption, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoEncoderSettings_encodingOption)},
    {SIP_MLNAME_CAST(sipName_encodingOptions), meth_QVideoEncoderSettings_encodingOptions, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoEncoderSettings_encodingOptions)},
    {SIP_MLNAME_CAST(sipName_frameRate), meth_QVideoEncoderSettings_frameRate, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoEncoderSettings_frameRate)},
    {SIP_MLNAME_CAST(sipName_isNull), meth_QVideoEncoderSettings_isNull, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoEncoderSettings_isNull)},
    {SIP_MLNAME_CAST(sipName_quality), meth_QVideoEncoderSettings_quality, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoEncoderSettings_quality)},
    {SIP_MLNAME_CAST(sipName_resolution), meth_QVideoEncoderSettings_resolution, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoEncoderSettings_resolution)},
    {SIP_MLNAME_CAST(sipName_setBitRate), meth_QVideoEncoderSettings_setBitRate, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoEncoderSettings_setBitRate)},
    {SIP_MLNAME_CAST(sipName_setCodec), meth_QVideoEncoderSettings_setCodec, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoEncoderSettings_setCodec)},
    {SIP_MLNAME_CAST(sipName_setEncodingMode), meth_QVideoEncoderSettings_setEncodingMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoEncoderSettings_setEncodingMode)},
    {SIP_MLNAME_CAST(sipName_setEncodingOption), meth_QVideoEncoderSettings_setEncodingOption, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoEncoderSettings_setEncodingOption)},
    {SIP_MLNAME_CAST(sipName_setEncodingOptions), meth_QVideoEncoderSettings_setEncodingOptions, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoEncoderSettings_setEncodingOptions)},
    {SIP_MLNAME_CAST(sipName_setFrameRate), meth_QVideoEncoderSettings_setFrameRate, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoEncoderSettings_setFrameRate)},
    {SIP_MLNAME_CAST(sipName_setQuality), meth_QVideoEncoderSettings_setQuality, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoEncoderSettings_setQuality)},
    {SIP_MLNAME_CAST(sipName_setResolution), meth_QVideoEncoderSettings_setResolution, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoEncoderSettings_setResolution)}
};

PyDoc_STRVAR(doc_QVideoEncoderSettings, "\1QVideoEncoderSettings()\n"
    "QVideoEncoderSettings(QVideoEncoderSettings)");


static pyqt5ClassPluginDef plugin_QVideoEncoderSettings = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QVideoEncoderSettings = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QVideoEncoderSettings,
        {0},
        &plugin_QVideoEncoderSettings
    },
    {
        sipNameNr_QVideoEncoderSettings,
        {0, 0, 1},
        17, methods_QVideoEncoderSettings,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QVideoEncoderSettings,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QVideoEncoderSettings,
    init_type_QVideoEncoderSettings,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QVideoEncoderSettings,
    assign_QVideoEncoderSettings,
    array_QVideoEncoderSettings,
    copy_QVideoEncoderSettings,
    release_QVideoEncoderSettings,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaencodersettings.sip"
#include <qmediaencodersettings.h>
#line 22464 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 27 "sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 22468 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 22471 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 22474 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmultimedia.sip"
#include <qmultimedia.h>
#line 22477 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


PyDoc_STRVAR(doc_QAudioEncoderSettings_isNull, "isNull(self) -> bool");

extern "C" {static PyObject *meth_QAudioEncoderSettings_isNull(PyObject *, PyObject *);}
static PyObject *meth_QAudioEncoderSettings_isNull(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioEncoderSettings, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isNull();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioEncoderSettings, sipName_isNull, doc_QAudioEncoderSettings_isNull);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioEncoderSettings_encodingMode, "encodingMode(self) -> QMultimedia.EncodingMode");

extern "C" {static PyObject *meth_QAudioEncoderSettings_encodingMode(PyObject *, PyObject *);}
static PyObject *meth_QAudioEncoderSettings_encodingMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioEncoderSettings, &sipCpp))
        {
             ::QMultimedia::EncodingMode sipRes;

            sipRes = sipCpp->encodingMode();

            return sipConvertFromEnum(sipRes,sipType_QMultimedia_EncodingMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioEncoderSettings, sipName_encodingMode, doc_QAudioEncoderSettings_encodingMode);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioEncoderSettings_setEncodingMode, "setEncodingMode(self, QMultimedia.EncodingMode)");

extern "C" {static PyObject *meth_QAudioEncoderSettings_setEncodingMode(PyObject *, PyObject *);}
static PyObject *meth_QAudioEncoderSettings_setEncodingMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QMultimedia::EncodingMode a0;
         ::QAudioEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QAudioEncoderSettings, &sipCpp, sipType_QMultimedia_EncodingMode, &a0))
        {
            sipCpp->setEncodingMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioEncoderSettings, sipName_setEncodingMode, doc_QAudioEncoderSettings_setEncodingMode);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioEncoderSettings_codec, "codec(self) -> str");

extern "C" {static PyObject *meth_QAudioEncoderSettings_codec(PyObject *, PyObject *);}
static PyObject *meth_QAudioEncoderSettings_codec(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioEncoderSettings, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->codec());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioEncoderSettings, sipName_codec, doc_QAudioEncoderSettings_codec);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioEncoderSettings_setCodec, "setCodec(self, str)");

extern "C" {static PyObject *meth_QAudioEncoderSettings_setCodec(PyObject *, PyObject *);}
static PyObject *meth_QAudioEncoderSettings_setCodec(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QAudioEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QAudioEncoderSettings, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setCodec(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioEncoderSettings, sipName_setCodec, doc_QAudioEncoderSettings_setCodec);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioEncoderSettings_bitRate, "bitRate(self) -> int");

extern "C" {static PyObject *meth_QAudioEncoderSettings_bitRate(PyObject *, PyObject *);}
static PyObject *meth_QAudioEncoderSettings_bitRate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioEncoderSettings, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->bitRate();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioEncoderSettings, sipName_bitRate, doc_QAudioEncoderSettings_bitRate);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioEncoderSettings_setBitRate, "setBitRate(self, int)");

extern "C" {static PyObject *meth_QAudioEncoderSettings_setBitRate(PyObject *, PyObject *);}
static PyObject *meth_QAudioEncoderSettings_setBitRate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QAudioEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QAudioEncoderSettings, &sipCpp, &a0))
        {
            sipCpp->setBitRate(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioEncoderSettings, sipName_setBitRate, doc_QAudioEncoderSettings_setBitRate);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioEncoderSettings_channelCount, "channelCount(self) -> int");

extern "C" {static PyObject *meth_QAudioEncoderSettings_channelCount(PyObject *, PyObject *);}
static PyObject *meth_QAudioEncoderSettings_channelCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioEncoderSettings, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->channelCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioEncoderSettings, sipName_channelCount, doc_QAudioEncoderSettings_channelCount);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioEncoderSettings_setChannelCount, "setChannelCount(self, int)");

extern "C" {static PyObject *meth_QAudioEncoderSettings_setChannelCount(PyObject *, PyObject *);}
static PyObject *meth_QAudioEncoderSettings_setChannelCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QAudioEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QAudioEncoderSettings, &sipCpp, &a0))
        {
            sipCpp->setChannelCount(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioEncoderSettings, sipName_setChannelCount, doc_QAudioEncoderSettings_setChannelCount);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioEncoderSettings_sampleRate, "sampleRate(self) -> int");

extern "C" {static PyObject *meth_QAudioEncoderSettings_sampleRate(PyObject *, PyObject *);}
static PyObject *meth_QAudioEncoderSettings_sampleRate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioEncoderSettings, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sampleRate();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioEncoderSettings, sipName_sampleRate, doc_QAudioEncoderSettings_sampleRate);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioEncoderSettings_setSampleRate, "setSampleRate(self, int)");

extern "C" {static PyObject *meth_QAudioEncoderSettings_setSampleRate(PyObject *, PyObject *);}
static PyObject *meth_QAudioEncoderSettings_setSampleRate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QAudioEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QAudioEncoderSettings, &sipCpp, &a0))
        {
            sipCpp->setSampleRate(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioEncoderSettings, sipName_setSampleRate, doc_QAudioEncoderSettings_setSampleRate);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioEncoderSettings_quality, "quality(self) -> QMultimedia.EncodingQuality");

extern "C" {static PyObject *meth_QAudioEncoderSettings_quality(PyObject *, PyObject *);}
static PyObject *meth_QAudioEncoderSettings_quality(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioEncoderSettings, &sipCpp))
        {
             ::QMultimedia::EncodingQuality sipRes;

            sipRes = sipCpp->quality();

            return sipConvertFromEnum(sipRes,sipType_QMultimedia_EncodingQuality);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioEncoderSettings, sipName_quality, doc_QAudioEncoderSettings_quality);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioEncoderSettings_setQuality, "setQuality(self, QMultimedia.EncodingQuality)");

extern "C" {static PyObject *meth_QAudioEncoderSettings_setQuality(PyObject *, PyObject *);}
static PyObject *meth_QAudioEncoderSettings_setQuality(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QMultimedia::EncodingQuality a0;
         ::QAudioEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QAudioEncoderSettings, &sipCpp, sipType_QMultimedia_EncodingQuality, &a0))
        {
            sipCpp->setQuality(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioEncoderSettings, sipName_setQuality, doc_QAudioEncoderSettings_setQuality);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioEncoderSettings_encodingOption, "encodingOption(self, str) -> Any");

extern "C" {static PyObject *meth_QAudioEncoderSettings_encodingOption(PyObject *, PyObject *);}
static PyObject *meth_QAudioEncoderSettings_encodingOption(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QAudioEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QAudioEncoderSettings, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QVariant*sipRes;

            sipRes = new  ::QVariant(sipCpp->encodingOption(*a0));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioEncoderSettings, sipName_encodingOption, doc_QAudioEncoderSettings_encodingOption);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioEncoderSettings_encodingOptions, "encodingOptions(self) -> Dict[str, Any]");

extern "C" {static PyObject *meth_QAudioEncoderSettings_encodingOptions(PyObject *, PyObject *);}
static PyObject *meth_QAudioEncoderSettings_encodingOptions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioEncoderSettings, &sipCpp))
        {
             ::QVariantMap*sipRes;

            sipRes = new  ::QVariantMap(sipCpp->encodingOptions());

            return sipConvertFromNewType(sipRes,sipType_QMap_0100QString_0100QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioEncoderSettings, sipName_encodingOptions, doc_QAudioEncoderSettings_encodingOptions);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioEncoderSettings_setEncodingOption, "setEncodingOption(self, str, Any)");

extern "C" {static PyObject *meth_QAudioEncoderSettings_setEncodingOption(PyObject *, PyObject *);}
static PyObject *meth_QAudioEncoderSettings_setEncodingOption(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QVariant* a1;
        int a1State = 0;
         ::QAudioEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QAudioEncoderSettings, &sipCpp, sipType_QString,&a0, &a0State, sipType_QVariant, &a1, &a1State))
        {
            sipCpp->setEncodingOption(*a0,*a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QVariant *>(a1),sipType_QVariant,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioEncoderSettings, sipName_setEncodingOption, doc_QAudioEncoderSettings_setEncodingOption);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioEncoderSettings_setEncodingOptions, "setEncodingOptions(self, Dict[str, Any])");

extern "C" {static PyObject *meth_QAudioEncoderSettings_setEncodingOptions(PyObject *, PyObject *);}
static PyObject *meth_QAudioEncoderSettings_setEncodingOptions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVariantMap* a0;
        int a0State = 0;
         ::QAudioEncoderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QAudioEncoderSettings, &sipCpp, sipType_QMap_0100QString_0100QVariant,&a0, &a0State))
        {
            sipCpp->setEncodingOptions(*a0);
            sipReleaseType(const_cast< ::QVariantMap *>(a0),sipType_QMap_0100QString_0100QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioEncoderSettings, sipName_setEncodingOptions, doc_QAudioEncoderSettings_setEncodingOptions);

    return NULL;
}


extern "C" {static PyObject *slot_QAudioEncoderSettings___ne__(PyObject *,PyObject *);}
static PyObject *slot_QAudioEncoderSettings___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QAudioEncoderSettings *sipCpp = reinterpret_cast< ::QAudioEncoderSettings *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QAudioEncoderSettings));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioEncoderSettings* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QAudioEncoderSettings, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QAudioEncoderSettings::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, ne_slot, sipType_QAudioEncoderSettings, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QAudioEncoderSettings___eq__(PyObject *,PyObject *);}
static PyObject *slot_QAudioEncoderSettings___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QAudioEncoderSettings *sipCpp = reinterpret_cast< ::QAudioEncoderSettings *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QAudioEncoderSettings));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioEncoderSettings* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QAudioEncoderSettings, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QAudioEncoderSettings::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, eq_slot, sipType_QAudioEncoderSettings, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QAudioEncoderSettings(void *, int);}
static void release_QAudioEncoderSettings(void *sipCppV, int)
{
    delete reinterpret_cast< ::QAudioEncoderSettings *>(sipCppV);
}


extern "C" {static void assign_QAudioEncoderSettings(void *, SIP_SSIZE_T, const void *);}
static void assign_QAudioEncoderSettings(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QAudioEncoderSettings *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QAudioEncoderSettings *>(sipSrc);
}


extern "C" {static void *array_QAudioEncoderSettings(SIP_SSIZE_T);}
static void *array_QAudioEncoderSettings(SIP_SSIZE_T sipNrElem)
{
    return new  ::QAudioEncoderSettings[sipNrElem];
}


extern "C" {static void *copy_QAudioEncoderSettings(const void *, SIP_SSIZE_T);}
static void *copy_QAudioEncoderSettings(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QAudioEncoderSettings(reinterpret_cast<const  ::QAudioEncoderSettings *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QAudioEncoderSettings(sipSimpleWrapper *);}
static void dealloc_QAudioEncoderSettings(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QAudioEncoderSettings(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QAudioEncoderSettings(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QAudioEncoderSettings(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QAudioEncoderSettings *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QAudioEncoderSettings();

            return sipCpp;
        }
    }

    {
        const  ::QAudioEncoderSettings* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QAudioEncoderSettings, &a0))
        {
            sipCpp = new  ::QAudioEncoderSettings(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QAudioEncoderSettings[] = {
    {(void *)slot_QAudioEncoderSettings___ne__, ne_slot},
    {(void *)slot_QAudioEncoderSettings___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QAudioEncoderSettings[] = {
    {SIP_MLNAME_CAST(sipName_bitRate), meth_QAudioEncoderSettings_bitRate, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioEncoderSettings_bitRate)},
    {SIP_MLNAME_CAST(sipName_channelCount), meth_QAudioEncoderSettings_channelCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioEncoderSettings_channelCount)},
    {SIP_MLNAME_CAST(sipName_codec), meth_QAudioEncoderSettings_codec, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioEncoderSettings_codec)},
    {SIP_MLNAME_CAST(sipName_encodingMode), meth_QAudioEncoderSettings_encodingMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioEncoderSettings_encodingMode)},
    {SIP_MLNAME_CAST(sipName_encodingOption), meth_QAudioEncoderSettings_encodingOption, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioEncoderSettings_encodingOption)},
    {SIP_MLNAME_CAST(sipName_encodingOptions), meth_QAudioEncoderSettings_encodingOptions, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioEncoderSettings_encodingOptions)},
    {SIP_MLNAME_CAST(sipName_isNull), meth_QAudioEncoderSettings_isNull, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioEncoderSettings_isNull)},
    {SIP_MLNAME_CAST(sipName_quality), meth_QAudioEncoderSettings_quality, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioEncoderSettings_quality)},
    {SIP_MLNAME_CAST(sipName_sampleRate), meth_QAudioEncoderSettings_sampleRate, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioEncoderSettings_sampleRate)},
    {SIP_MLNAME_CAST(sipName_setBitRate), meth_QAudioEncoderSettings_setBitRate, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioEncoderSettings_setBitRate)},
    {SIP_MLNAME_CAST(sipName_setChannelCount), meth_QAudioEncoderSettings_setChannelCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioEncoderSettings_setChannelCount)},
    {SIP_MLNAME_CAST(sipName_setCodec), meth_QAudioEncoderSettings_setCodec, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioEncoderSettings_setCodec)},
    {SIP_MLNAME_CAST(sipName_setEncodingMode), meth_QAudioEncoderSettings_setEncodingMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioEncoderSettings_setEncodingMode)},
    {SIP_MLNAME_CAST(sipName_setEncodingOption), meth_QAudioEncoderSettings_setEncodingOption, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioEncoderSettings_setEncodingOption)},
    {SIP_MLNAME_CAST(sipName_setEncodingOptions), meth_QAudioEncoderSettings_setEncodingOptions, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioEncoderSettings_setEncodingOptions)},
    {SIP_MLNAME_CAST(sipName_setQuality), meth_QAudioEncoderSettings_setQuality, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioEncoderSettings_setQuality)},
    {SIP_MLNAME_CAST(sipName_setSampleRate), meth_QAudioEncoderSettings_setSampleRate, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioEncoderSettings_setSampleRate)}
};

PyDoc_STRVAR(doc_QAudioEncoderSettings, "\1QAudioEncoderSettings()\n"
    "QAudioEncoderSettings(QAudioEncoderSettings)");


static pyqt5ClassPluginDef plugin_QAudioEncoderSettings = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QAudioEncoderSettings = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QAudioEncoderSettings,
        {0},
        &plugin_QAudioEncoderSettings
    },
    {
        sipNameNr_QAudioEncoderSettings,
        {0, 0, 1},
        17, methods_QAudioEncoderSettings,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAudioEncoderSettings,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QAudioEncoderSettings,
    init_type_QAudioEncoderSettings,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QAudioEncoderSettings,
    assign_QAudioEncoderSettings,
    array_QAudioEncoderSettings,
    copy_QAudioEncoderSettings,
    release_QAudioEncoderSettings,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediacontrol.sip"
#include <qmediacontrol.h>
#line 23192 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 23196 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 23199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 23202 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 23205 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 23208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 23211 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 23214 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 23217 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 23220 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 23223 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 23226 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 23229 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 23232 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 23235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 23238 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 23241 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


class sipQMediaControl : public  ::QMediaControl
{
public:
    sipQMediaControl( ::QObject*);
    virtual ~sipQMediaControl();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
     ::QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool, ::QTimerEvent*);
    void sipProtectVirt_childEvent(bool, ::QChildEvent*);
    void sipProtectVirt_customEvent(bool, ::QEvent*);
    void sipProtectVirt_connectNotify(bool,const  ::QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const  ::QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const  ::QMetaMethod&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQMediaControl(const sipQMediaControl &);
    sipQMediaControl &operator = (const sipQMediaControl &);

    char sipPyMethods[7];
};

sipQMediaControl::sipQMediaControl( ::QObject*a0):  ::QMediaControl(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQMediaControl::~sipQMediaControl()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQMediaControl::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf,sipType_QMediaControl);

    return  ::QMediaControl::metaObject();
}

int sipQMediaControl::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QMediaControl::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtMultimedia_qt_metacall(sipPySelf,sipType_QMediaControl,_c,_id,_a);

    return _id;
}

void *sipQMediaControl::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtMultimedia_qt_metacast(sipPySelf, sipType_QMediaControl, _clname, &sipCpp) ? sipCpp :  ::QMediaControl::qt_metacast(_clname));
}

bool sipQMediaControl::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QMediaControl::event(a0);

    extern bool sipVH_QtMultimedia_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtMultimedia_10(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQMediaControl::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QMediaControl::eventFilter(a0,a1);

    extern bool sipVH_QtMultimedia_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtMultimedia_9(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQMediaControl::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QMediaControl::timerEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtMultimedia_8(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMediaControl::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QMediaControl::childEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtMultimedia_7(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMediaControl::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QMediaControl::customEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtMultimedia_6(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMediaControl::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QMediaControl::connectNotify(a0);
        return;
    }

    extern void sipVH_QtMultimedia_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMediaControl::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QMediaControl::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtMultimedia_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQMediaControl::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQMediaControl::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQMediaControl::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQMediaControl::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQMediaControl::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQMediaControl::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQMediaControl::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQMediaControl::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQMediaControl::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QMediaControl_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QMediaControl_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaControl_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQMediaControl *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMediaControl, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 23535 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaControl, sipName_sender, doc_QMediaControl_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaControl_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QMediaControl_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaControl_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQMediaControl *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QMediaControl, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 23595 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.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_QMediaControl, sipName_receivers, doc_QMediaControl_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaControl_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QMediaControl_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaControl_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQMediaControl *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMediaControl, &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_QMediaControl, sipName_timerEvent, doc_QMediaControl_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaControl_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QMediaControl_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaControl_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQMediaControl *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMediaControl, &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_QMediaControl, sipName_childEvent, doc_QMediaControl_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaControl_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QMediaControl_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaControl_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQMediaControl *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMediaControl, &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_QMediaControl, sipName_customEvent, doc_QMediaControl_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaControl_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QMediaControl_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaControl_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQMediaControl *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMediaControl, &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_QMediaControl, sipName_connectNotify, doc_QMediaControl_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaControl_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QMediaControl_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaControl_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQMediaControl *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMediaControl, &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_QMediaControl, sipName_disconnectNotify, doc_QMediaControl_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaControl_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QMediaControl_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaControl_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQMediaControl *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMediaControl, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaControl, sipName_senderSignalIndex, doc_QMediaControl_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaControl_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QMediaControl_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaControl_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQMediaControl *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMediaControl, &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_QMediaControl, sipName_isSignalConnected, doc_QMediaControl_isSignalConnected);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QMediaControl(void *, const sipTypeDef *);}
static void *cast_QMediaControl(void *sipCppV, const sipTypeDef *targetType)
{
     ::QMediaControl *sipCpp = reinterpret_cast< ::QMediaControl *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QMediaControl(void *, int);}
static void release_QMediaControl(void *sipCppV, int)
{
     ::QMediaControl *sipCpp = reinterpret_cast< ::QMediaControl *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QMediaControl(sipSimpleWrapper *);}
static void dealloc_QMediaControl(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQMediaControl *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QMediaControl(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QMediaControl(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMediaControl(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQMediaControl *sipCpp = 0;

    {
         ::QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQMediaControl(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QMediaControl[] = {{9, 0, 1}};


static PyMethodDef methods_QMediaControl[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QMediaControl_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QMediaControl_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QMediaControl_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QMediaControl_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QMediaControl_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QMediaControl_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QMediaControl_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QMediaControl_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QMediaControl_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QMediaControl, "\1QMediaControl(parent: QObject = None)");


static pyqt5ClassPluginDef plugin_QMediaControl = {
    & ::QMediaControl::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QMediaControl = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMediaControl,
        {0},
        &plugin_QMediaControl
    },
    {
        sipNameNr_QMediaControl,
        {0, 0, 1},
        9, methods_QMediaControl,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMediaControl,
    -1,
    -1,
    supers_QMediaControl,
    0,
    init_type_QMediaControl,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMediaControl,
    0,
    0,
    0,
    release_QMediaControl,
    cast_QMediaControl,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediacontent.sip"
#include <qmediacontent.h>
#line 23962 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 96 "sip/QtCore/qurl.sip"
#include <qurl.h>
#line 23966 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtNetwork/qnetworkrequest.sip"
#include <qnetworkrequest.h>
#line 23969 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaresource.sip"
#include <qmediaresource.h>
#line 23972 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 23975 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaplaylist.sip"
#include <qmediaplaylist.h>
#line 23978 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


PyDoc_STRVAR(doc_QMediaContent_isNull, "isNull(self) -> bool");

extern "C" {static PyObject *meth_QMediaContent_isNull(PyObject *, PyObject *);}
static PyObject *meth_QMediaContent_isNull(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaContent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaContent, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isNull();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaContent, sipName_isNull, doc_QMediaContent_isNull);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaContent_canonicalUrl, "canonicalUrl(self) -> QUrl");

extern "C" {static PyObject *meth_QMediaContent_canonicalUrl(PyObject *, PyObject *);}
static PyObject *meth_QMediaContent_canonicalUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaContent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaContent, &sipCpp))
        {
             ::QUrl*sipRes;

            sipRes = new  ::QUrl(sipCpp->canonicalUrl());

            return sipConvertFromNewType(sipRes,sipType_QUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaContent, sipName_canonicalUrl, doc_QMediaContent_canonicalUrl);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaContent_canonicalRequest, "canonicalRequest(self) -> QNetworkRequest");

extern "C" {static PyObject *meth_QMediaContent_canonicalRequest(PyObject *, PyObject *);}
static PyObject *meth_QMediaContent_canonicalRequest(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaContent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaContent, &sipCpp))
        {
             ::QNetworkRequest*sipRes;

            sipRes = new  ::QNetworkRequest(sipCpp->canonicalRequest());

            return sipConvertFromNewType(sipRes,sipType_QNetworkRequest,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaContent, sipName_canonicalRequest, doc_QMediaContent_canonicalRequest);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaContent_canonicalResource, "canonicalResource(self) -> QMediaResource");

extern "C" {static PyObject *meth_QMediaContent_canonicalResource(PyObject *, PyObject *);}
static PyObject *meth_QMediaContent_canonicalResource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaContent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaContent, &sipCpp))
        {
             ::QMediaResource*sipRes;

            sipRes = new  ::QMediaResource(sipCpp->canonicalResource());

            return sipConvertFromNewType(sipRes,sipType_QMediaResource,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaContent, sipName_canonicalResource, doc_QMediaContent_canonicalResource);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaContent_resources, "resources(self) -> object");

extern "C" {static PyObject *meth_QMediaContent_resources(PyObject *, PyObject *);}
static PyObject *meth_QMediaContent_resources(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaContent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaContent, &sipCpp))
        {
             ::QMediaResourceList*sipRes;

            sipRes = new  ::QMediaResourceList(sipCpp->resources());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QMediaResource,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaContent, sipName_resources, doc_QMediaContent_resources);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaContent_playlist, "playlist(self) -> QMediaPlaylist");

extern "C" {static PyObject *meth_QMediaContent_playlist(PyObject *, PyObject *);}
static PyObject *meth_QMediaContent_playlist(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaContent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaContent, &sipCpp))
        {
             ::QMediaPlaylist*sipRes;

            sipRes = sipCpp->playlist();

            return sipConvertFromType(sipRes,sipType_QMediaPlaylist,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaContent, sipName_playlist, doc_QMediaContent_playlist);

    return NULL;
}


extern "C" {static PyObject *slot_QMediaContent___ne__(PyObject *,PyObject *);}
static PyObject *slot_QMediaContent___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QMediaContent *sipCpp = reinterpret_cast< ::QMediaContent *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMediaContent));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaContent* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QMediaContent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QMediaContent::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, ne_slot, sipType_QMediaContent, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QMediaContent___eq__(PyObject *,PyObject *);}
static PyObject *slot_QMediaContent___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QMediaContent *sipCpp = reinterpret_cast< ::QMediaContent *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMediaContent));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaContent* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QMediaContent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QMediaContent::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, eq_slot, sipType_QMediaContent, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QMediaContent(void *, int);}
static void release_QMediaContent(void *sipCppV, int)
{
    delete reinterpret_cast< ::QMediaContent *>(sipCppV);
}


extern "C" {static void assign_QMediaContent(void *, SIP_SSIZE_T, const void *);}
static void assign_QMediaContent(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QMediaContent *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QMediaContent *>(sipSrc);
}


extern "C" {static void *array_QMediaContent(SIP_SSIZE_T);}
static void *array_QMediaContent(SIP_SSIZE_T sipNrElem)
{
    return new  ::QMediaContent[sipNrElem];
}


extern "C" {static void *copy_QMediaContent(const void *, SIP_SSIZE_T);}
static void *copy_QMediaContent(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QMediaContent(reinterpret_cast<const  ::QMediaContent *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QMediaContent(sipSimpleWrapper *);}
static void dealloc_QMediaContent(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QMediaContent(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QMediaContent(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMediaContent(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QMediaContent *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QMediaContent();

            return sipCpp;
        }
    }

    {
        const  ::QUrl* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QUrl, &a0))
        {
            sipCpp = new  ::QMediaContent(*a0);

            return sipCpp;
        }
    }

    {
        const  ::QNetworkRequest* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QNetworkRequest, &a0))
        {
            sipCpp = new  ::QMediaContent(*a0);

            return sipCpp;
        }
    }

    {
        const  ::QMediaResource* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QMediaResource, &a0))
        {
            sipCpp = new  ::QMediaContent(*a0);

            return sipCpp;
        }
    }

    {
        const  ::QMediaResourceList* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QList_0100QMediaResource,&a0, &a0State))
        {
            sipCpp = new  ::QMediaContent(*a0);
            sipReleaseType(const_cast< ::QMediaResourceList *>(a0),sipType_QList_0100QMediaResource,a0State);

            return sipCpp;
        }
    }

    {
        const  ::QMediaContent* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QMediaContent, &a0))
        {
            sipCpp = new  ::QMediaContent(*a0);

            return sipCpp;
        }
    }

    {
         ::QMediaPlaylist* a0;
        const  ::QUrl& a1def = QUrl();
        const  ::QUrl* a1 = &a1def;

        static const char *sipKwdList[] = {
            NULL,
            sipName_contentUrl,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J8|J9", sipType_QMediaPlaylist, &a0, sipType_QUrl, &a1))
        {
            sipCpp = new  ::QMediaContent(a0,*a1);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QMediaContent[] = {
    {(void *)slot_QMediaContent___ne__, ne_slot},
    {(void *)slot_QMediaContent___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QMediaContent[] = {
    {SIP_MLNAME_CAST(sipName_canonicalRequest), meth_QMediaContent_canonicalRequest, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaContent_canonicalRequest)},
    {SIP_MLNAME_CAST(sipName_canonicalResource), meth_QMediaContent_canonicalResource, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaContent_canonicalResource)},
    {SIP_MLNAME_CAST(sipName_canonicalUrl), meth_QMediaContent_canonicalUrl, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaContent_canonicalUrl)},
    {SIP_MLNAME_CAST(sipName_isNull), meth_QMediaContent_isNull, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaContent_isNull)},
    {SIP_MLNAME_CAST(sipName_playlist), meth_QMediaContent_playlist, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaContent_playlist)},
    {SIP_MLNAME_CAST(sipName_resources), meth_QMediaContent_resources, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaContent_resources)}
};

PyDoc_STRVAR(doc_QMediaContent, "\1QMediaContent()\n"
    "QMediaContent(QUrl)\n"
    "QMediaContent(QNetworkRequest)\n"
    "QMediaContent(QMediaResource)\n"
    "QMediaContent(object)\n"
    "QMediaContent(QMediaContent)\n"
    "QMediaContent(QMediaPlaylist, contentUrl: QUrl = QUrl())");


static pyqt5ClassPluginDef plugin_QMediaContent = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QMediaContent = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMediaContent,
        {0},
        &plugin_QMediaContent
    },
    {
        sipNameNr_QMediaContent,
        {0, 0, 1},
        6, methods_QMediaContent,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMediaContent,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QMediaContent,
    init_type_QMediaContent,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMediaContent,
    assign_QMediaContent,
    array_QMediaContent,
    copy_QMediaContent,
    release_QMediaContent,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcameraviewfindersettings.sip"
#include <qcameraviewfindersettings.h>
#line 24431 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 24435 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qvideoframe.sip"
#include <qvideoframe.h>
#line 24438 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


PyDoc_STRVAR(doc_QCameraViewfinderSettings_swap, "swap(self, QCameraViewfinderSettings)");

extern "C" {static PyObject *meth_QCameraViewfinderSettings_swap(PyObject *, PyObject *);}
static PyObject *meth_QCameraViewfinderSettings_swap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCameraViewfinderSettings* a0;
         ::QCameraViewfinderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QCameraViewfinderSettings, &sipCpp, sipType_QCameraViewfinderSettings, &a0))
        {
            sipCpp->swap(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraViewfinderSettings, sipName_swap, doc_QCameraViewfinderSettings_swap);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinderSettings_isNull, "isNull(self) -> bool");

extern "C" {static PyObject *meth_QCameraViewfinderSettings_isNull(PyObject *, PyObject *);}
static PyObject *meth_QCameraViewfinderSettings_isNull(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraViewfinderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraViewfinderSettings, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isNull();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraViewfinderSettings, sipName_isNull, doc_QCameraViewfinderSettings_isNull);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinderSettings_resolution, "resolution(self) -> QSize");

extern "C" {static PyObject *meth_QCameraViewfinderSettings_resolution(PyObject *, PyObject *);}
static PyObject *meth_QCameraViewfinderSettings_resolution(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraViewfinderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraViewfinderSettings, &sipCpp))
        {
             ::QSize*sipRes;

            sipRes = new  ::QSize(sipCpp->resolution());

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraViewfinderSettings, sipName_resolution, doc_QCameraViewfinderSettings_resolution);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinderSettings_setResolution, "setResolution(self, QSize)\n"
    "setResolution(self, int, int)");

extern "C" {static PyObject *meth_QCameraViewfinderSettings_setResolution(PyObject *, PyObject *);}
static PyObject *meth_QCameraViewfinderSettings_setResolution(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSize* a0;
         ::QCameraViewfinderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QCameraViewfinderSettings, &sipCpp, sipType_QSize, &a0))
        {
            sipCpp->setResolution(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        int a1;
         ::QCameraViewfinderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QCameraViewfinderSettings, &sipCpp, &a0, &a1))
        {
            sipCpp->setResolution(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraViewfinderSettings, sipName_setResolution, doc_QCameraViewfinderSettings_setResolution);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinderSettings_minimumFrameRate, "minimumFrameRate(self) -> float");

extern "C" {static PyObject *meth_QCameraViewfinderSettings_minimumFrameRate(PyObject *, PyObject *);}
static PyObject *meth_QCameraViewfinderSettings_minimumFrameRate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraViewfinderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraViewfinderSettings, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->minimumFrameRate();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraViewfinderSettings, sipName_minimumFrameRate, doc_QCameraViewfinderSettings_minimumFrameRate);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinderSettings_setMinimumFrameRate, "setMinimumFrameRate(self, float)");

extern "C" {static PyObject *meth_QCameraViewfinderSettings_setMinimumFrameRate(PyObject *, PyObject *);}
static PyObject *meth_QCameraViewfinderSettings_setMinimumFrameRate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QCameraViewfinderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QCameraViewfinderSettings, &sipCpp, &a0))
        {
            sipCpp->setMinimumFrameRate(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraViewfinderSettings, sipName_setMinimumFrameRate, doc_QCameraViewfinderSettings_setMinimumFrameRate);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinderSettings_maximumFrameRate, "maximumFrameRate(self) -> float");

extern "C" {static PyObject *meth_QCameraViewfinderSettings_maximumFrameRate(PyObject *, PyObject *);}
static PyObject *meth_QCameraViewfinderSettings_maximumFrameRate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraViewfinderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraViewfinderSettings, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->maximumFrameRate();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraViewfinderSettings, sipName_maximumFrameRate, doc_QCameraViewfinderSettings_maximumFrameRate);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinderSettings_setMaximumFrameRate, "setMaximumFrameRate(self, float)");

extern "C" {static PyObject *meth_QCameraViewfinderSettings_setMaximumFrameRate(PyObject *, PyObject *);}
static PyObject *meth_QCameraViewfinderSettings_setMaximumFrameRate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QCameraViewfinderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QCameraViewfinderSettings, &sipCpp, &a0))
        {
            sipCpp->setMaximumFrameRate(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraViewfinderSettings, sipName_setMaximumFrameRate, doc_QCameraViewfinderSettings_setMaximumFrameRate);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinderSettings_pixelFormat, "pixelFormat(self) -> QVideoFrame.PixelFormat");

extern "C" {static PyObject *meth_QCameraViewfinderSettings_pixelFormat(PyObject *, PyObject *);}
static PyObject *meth_QCameraViewfinderSettings_pixelFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraViewfinderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraViewfinderSettings, &sipCpp))
        {
             ::QVideoFrame::PixelFormat sipRes;

            sipRes = sipCpp->pixelFormat();

            return sipConvertFromEnum(sipRes,sipType_QVideoFrame_PixelFormat);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraViewfinderSettings, sipName_pixelFormat, doc_QCameraViewfinderSettings_pixelFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinderSettings_setPixelFormat, "setPixelFormat(self, QVideoFrame.PixelFormat)");

extern "C" {static PyObject *meth_QCameraViewfinderSettings_setPixelFormat(PyObject *, PyObject *);}
static PyObject *meth_QCameraViewfinderSettings_setPixelFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QVideoFrame::PixelFormat a0;
         ::QCameraViewfinderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QCameraViewfinderSettings, &sipCpp, sipType_QVideoFrame_PixelFormat, &a0))
        {
            sipCpp->setPixelFormat(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraViewfinderSettings, sipName_setPixelFormat, doc_QCameraViewfinderSettings_setPixelFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinderSettings_pixelAspectRatio, "pixelAspectRatio(self) -> QSize");

extern "C" {static PyObject *meth_QCameraViewfinderSettings_pixelAspectRatio(PyObject *, PyObject *);}
static PyObject *meth_QCameraViewfinderSettings_pixelAspectRatio(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraViewfinderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraViewfinderSettings, &sipCpp))
        {
             ::QSize*sipRes;

            sipRes = new  ::QSize(sipCpp->pixelAspectRatio());

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraViewfinderSettings, sipName_pixelAspectRatio, doc_QCameraViewfinderSettings_pixelAspectRatio);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraViewfinderSettings_setPixelAspectRatio, "setPixelAspectRatio(self, QSize)\n"
    "setPixelAspectRatio(self, int, int)");

extern "C" {static PyObject *meth_QCameraViewfinderSettings_setPixelAspectRatio(PyObject *, PyObject *);}
static PyObject *meth_QCameraViewfinderSettings_setPixelAspectRatio(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSize* a0;
         ::QCameraViewfinderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QCameraViewfinderSettings, &sipCpp, sipType_QSize, &a0))
        {
            sipCpp->setPixelAspectRatio(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        int a1;
         ::QCameraViewfinderSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QCameraViewfinderSettings, &sipCpp, &a0, &a1))
        {
            sipCpp->setPixelAspectRatio(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraViewfinderSettings, sipName_setPixelAspectRatio, doc_QCameraViewfinderSettings_setPixelAspectRatio);

    return NULL;
}


extern "C" {static PyObject *slot_QCameraViewfinderSettings___eq__(PyObject *,PyObject *);}
static PyObject *slot_QCameraViewfinderSettings___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QCameraViewfinderSettings *sipCpp = reinterpret_cast< ::QCameraViewfinderSettings *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCameraViewfinderSettings));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraViewfinderSettings* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QCameraViewfinderSettings, &a0))
        {
            bool sipRes;

            sipRes = operator==((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, eq_slot, sipType_QCameraViewfinderSettings, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QCameraViewfinderSettings___ne__(PyObject *,PyObject *);}
static PyObject *slot_QCameraViewfinderSettings___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QCameraViewfinderSettings *sipCpp = reinterpret_cast< ::QCameraViewfinderSettings *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCameraViewfinderSettings));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraViewfinderSettings* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QCameraViewfinderSettings, &a0))
        {
            bool sipRes;

            sipRes = operator!=((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, ne_slot, sipType_QCameraViewfinderSettings, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QCameraViewfinderSettings(void *, int);}
static void release_QCameraViewfinderSettings(void *sipCppV, int)
{
    delete reinterpret_cast< ::QCameraViewfinderSettings *>(sipCppV);
}


extern "C" {static void assign_QCameraViewfinderSettings(void *, SIP_SSIZE_T, const void *);}
static void assign_QCameraViewfinderSettings(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QCameraViewfinderSettings *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QCameraViewfinderSettings *>(sipSrc);
}


extern "C" {static void *array_QCameraViewfinderSettings(SIP_SSIZE_T);}
static void *array_QCameraViewfinderSettings(SIP_SSIZE_T sipNrElem)
{
    return new  ::QCameraViewfinderSettings[sipNrElem];
}


extern "C" {static void *copy_QCameraViewfinderSettings(const void *, SIP_SSIZE_T);}
static void *copy_QCameraViewfinderSettings(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QCameraViewfinderSettings(reinterpret_cast<const  ::QCameraViewfinderSettings *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QCameraViewfinderSettings(sipSimpleWrapper *);}
static void dealloc_QCameraViewfinderSettings(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QCameraViewfinderSettings(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QCameraViewfinderSettings(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QCameraViewfinderSettings(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QCameraViewfinderSettings *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QCameraViewfinderSettings();

            return sipCpp;
        }
    }

    {
        const  ::QCameraViewfinderSettings* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QCameraViewfinderSettings, &a0))
        {
            sipCpp = new  ::QCameraViewfinderSettings(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QCameraViewfinderSettings[] = {
    {(void *)slot_QCameraViewfinderSettings___eq__, eq_slot},
    {(void *)slot_QCameraViewfinderSettings___ne__, ne_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QCameraViewfinderSettings[] = {
    {SIP_MLNAME_CAST(sipName_isNull), meth_QCameraViewfinderSettings_isNull, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraViewfinderSettings_isNull)},
    {SIP_MLNAME_CAST(sipName_maximumFrameRate), meth_QCameraViewfinderSettings_maximumFrameRate, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraViewfinderSettings_maximumFrameRate)},
    {SIP_MLNAME_CAST(sipName_minimumFrameRate), meth_QCameraViewfinderSettings_minimumFrameRate, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraViewfinderSettings_minimumFrameRate)},
    {SIP_MLNAME_CAST(sipName_pixelAspectRatio), meth_QCameraViewfinderSettings_pixelAspectRatio, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraViewfinderSettings_pixelAspectRatio)},
    {SIP_MLNAME_CAST(sipName_pixelFormat), meth_QCameraViewfinderSettings_pixelFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraViewfinderSettings_pixelFormat)},
    {SIP_MLNAME_CAST(sipName_resolution), meth_QCameraViewfinderSettings_resolution, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraViewfinderSettings_resolution)},
    {SIP_MLNAME_CAST(sipName_setMaximumFrameRate), meth_QCameraViewfinderSettings_setMaximumFrameRate, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraViewfinderSettings_setMaximumFrameRate)},
    {SIP_MLNAME_CAST(sipName_setMinimumFrameRate), meth_QCameraViewfinderSettings_setMinimumFrameRate, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraViewfinderSettings_setMinimumFrameRate)},
    {SIP_MLNAME_CAST(sipName_setPixelAspectRatio), meth_QCameraViewfinderSettings_setPixelAspectRatio, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraViewfinderSettings_setPixelAspectRatio)},
    {SIP_MLNAME_CAST(sipName_setPixelFormat), meth_QCameraViewfinderSettings_setPixelFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraViewfinderSettings_setPixelFormat)},
    {SIP_MLNAME_CAST(sipName_setResolution), meth_QCameraViewfinderSettings_setResolution, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraViewfinderSettings_setResolution)},
    {SIP_MLNAME_CAST(sipName_swap), meth_QCameraViewfinderSettings_swap, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraViewfinderSettings_swap)}
};

PyDoc_STRVAR(doc_QCameraViewfinderSettings, "\1QCameraViewfinderSettings()\n"
    "QCameraViewfinderSettings(QCameraViewfinderSettings)");


static pyqt5ClassPluginDef plugin_QCameraViewfinderSettings = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QCameraViewfinderSettings = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QCameraViewfinderSettings,
        {0},
        &plugin_QCameraViewfinderSettings
    },
    {
        sipNameNr_QCameraViewfinderSettings,
        {0, 0, 1},
        12, methods_QCameraViewfinderSettings,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QCameraViewfinderSettings,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QCameraViewfinderSettings,
    init_type_QCameraViewfinderSettings,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QCameraViewfinderSettings,
    assign_QCameraViewfinderSettings,
    array_QCameraViewfinderSettings,
    copy_QCameraViewfinderSettings,
    release_QCameraViewfinderSettings,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcamerainfo.sip"
#include <qcamerainfo.h>
#line 25028 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 25032 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcamera.sip"
#include <qcamera.h>
#line 25035 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 25038 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 25041 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


PyDoc_STRVAR(doc_QCameraInfo_isNull, "isNull(self) -> bool");

extern "C" {static PyObject *meth_QCameraInfo_isNull(PyObject *, PyObject *);}
static PyObject *meth_QCameraInfo_isNull(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraInfo, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isNull();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraInfo, sipName_isNull, doc_QCameraInfo_isNull);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraInfo_deviceName, "deviceName(self) -> str");

extern "C" {static PyObject *meth_QCameraInfo_deviceName(PyObject *, PyObject *);}
static PyObject *meth_QCameraInfo_deviceName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraInfo, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->deviceName());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraInfo, sipName_deviceName, doc_QCameraInfo_deviceName);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraInfo_description, "description(self) -> str");

extern "C" {static PyObject *meth_QCameraInfo_description(PyObject *, PyObject *);}
static PyObject *meth_QCameraInfo_description(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraInfo, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->description());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraInfo, sipName_description, doc_QCameraInfo_description);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraInfo_position, "position(self) -> QCamera.Position");

extern "C" {static PyObject *meth_QCameraInfo_position(PyObject *, PyObject *);}
static PyObject *meth_QCameraInfo_position(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraInfo, &sipCpp))
        {
             ::QCamera::Position sipRes;

            sipRes = sipCpp->position();

            return sipConvertFromEnum(sipRes,sipType_QCamera_Position);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraInfo, sipName_position, doc_QCameraInfo_position);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraInfo_orientation, "orientation(self) -> int");

extern "C" {static PyObject *meth_QCameraInfo_orientation(PyObject *, PyObject *);}
static PyObject *meth_QCameraInfo_orientation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraInfo, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->orientation();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraInfo, sipName_orientation, doc_QCameraInfo_orientation);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraInfo_defaultCamera, "defaultCamera() -> QCameraInfo");

extern "C" {static PyObject *meth_QCameraInfo_defaultCamera(PyObject *, PyObject *);}
static PyObject *meth_QCameraInfo_defaultCamera(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QCameraInfo*sipRes;

            sipRes = new  ::QCameraInfo( ::QCameraInfo::defaultCamera());

            return sipConvertFromNewType(sipRes,sipType_QCameraInfo,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraInfo, sipName_defaultCamera, doc_QCameraInfo_defaultCamera);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraInfo_availableCameras, "availableCameras(position: QCamera.Position = QCamera.UnspecifiedPosition) -> object");

extern "C" {static PyObject *meth_QCameraInfo_availableCameras(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCameraInfo_availableCameras(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCamera::Position a0 = QCamera::UnspecifiedPosition;

        static const char *sipKwdList[] = {
            sipName_position,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "|E", sipType_QCamera_Position, &a0))
        {
            QList< ::QCameraInfo>*sipRes;

            sipRes = new QList< ::QCameraInfo>( ::QCameraInfo::availableCameras(a0));

            return sipConvertFromNewType(sipRes,sipType_QList_0100QCameraInfo,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraInfo, sipName_availableCameras, doc_QCameraInfo_availableCameras);

    return NULL;
}


extern "C" {static PyObject *slot_QCameraInfo___ne__(PyObject *,PyObject *);}
static PyObject *slot_QCameraInfo___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QCameraInfo *sipCpp = reinterpret_cast< ::QCameraInfo *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCameraInfo));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraInfo* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QCameraInfo, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QCameraInfo::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, ne_slot, sipType_QCameraInfo, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QCameraInfo___eq__(PyObject *,PyObject *);}
static PyObject *slot_QCameraInfo___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QCameraInfo *sipCpp = reinterpret_cast< ::QCameraInfo *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCameraInfo));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraInfo* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QCameraInfo, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QCameraInfo::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, eq_slot, sipType_QCameraInfo, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QCameraInfo(void *, int);}
static void release_QCameraInfo(void *sipCppV, int)
{
    delete reinterpret_cast< ::QCameraInfo *>(sipCppV);
}


extern "C" {static void assign_QCameraInfo(void *, SIP_SSIZE_T, const void *);}
static void assign_QCameraInfo(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QCameraInfo *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QCameraInfo *>(sipSrc);
}


extern "C" {static void *array_QCameraInfo(SIP_SSIZE_T);}
static void *array_QCameraInfo(SIP_SSIZE_T sipNrElem)
{
    return new  ::QCameraInfo[sipNrElem];
}


extern "C" {static void *copy_QCameraInfo(const void *, SIP_SSIZE_T);}
static void *copy_QCameraInfo(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QCameraInfo(reinterpret_cast<const  ::QCameraInfo *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QCameraInfo(sipSimpleWrapper *);}
static void dealloc_QCameraInfo(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QCameraInfo(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QCameraInfo(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QCameraInfo(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QCameraInfo *sipCpp = 0;

    {
        const  ::QByteArray& a0def = QByteArray();
        const  ::QByteArray* a0 = &a0def;
        int a0State = 0;

        static const char *sipKwdList[] = {
            sipName_name,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|J1", sipType_QByteArray, &a0, &a0State))
        {
            sipCpp = new  ::QCameraInfo(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipCpp;
        }
    }

    {
        const  ::QCamera* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QCamera, &a0))
        {
            sipCpp = new  ::QCameraInfo(*a0);

            return sipCpp;
        }
    }

    {
        const  ::QCameraInfo* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QCameraInfo, &a0))
        {
            sipCpp = new  ::QCameraInfo(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QCameraInfo[] = {
    {(void *)slot_QCameraInfo___ne__, ne_slot},
    {(void *)slot_QCameraInfo___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QCameraInfo[] = {
    {SIP_MLNAME_CAST(sipName_availableCameras), (PyCFunction)meth_QCameraInfo_availableCameras, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCameraInfo_availableCameras)},
    {SIP_MLNAME_CAST(sipName_defaultCamera), meth_QCameraInfo_defaultCamera, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraInfo_defaultCamera)},
    {SIP_MLNAME_CAST(sipName_description), meth_QCameraInfo_description, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraInfo_description)},
    {SIP_MLNAME_CAST(sipName_deviceName), meth_QCameraInfo_deviceName, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraInfo_deviceName)},
    {SIP_MLNAME_CAST(sipName_isNull), meth_QCameraInfo_isNull, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraInfo_isNull)},
    {SIP_MLNAME_CAST(sipName_orientation), meth_QCameraInfo_orientation, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraInfo_orientation)},
    {SIP_MLNAME_CAST(sipName_position), meth_QCameraInfo_position, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraInfo_position)}
};

PyDoc_STRVAR(doc_QCameraInfo, "\1QCameraInfo(name: Union[QByteArray, bytes, bytearray] = QByteArray())\n"
    "QCameraInfo(QCamera)\n"
    "QCameraInfo(QCameraInfo)");


static pyqt5ClassPluginDef plugin_QCameraInfo = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QCameraInfo = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QCameraInfo,
        {0},
        &plugin_QCameraInfo
    },
    {
        sipNameNr_QCameraInfo,
        {0, 0, 1},
        7, methods_QCameraInfo,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QCameraInfo,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QCameraInfo,
    init_type_QCameraInfo,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QCameraInfo,
    assign_QCameraInfo,
    array_QCameraInfo,
    copy_QCameraInfo,
    release_QCameraInfo,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcameraimageprocessing.sip"
#include <qcameraimageprocessing.h>
#line 25477 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcamera.sip"
#include <qcamera.h>
#line 25481 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 25484 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 25487 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 25490 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 25493 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 25496 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 25499 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 25502 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 25505 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 25508 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 25511 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 25514 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 25517 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 25520 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 25523 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 25526 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 25529 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


PyDoc_STRVAR(doc_QCameraImageProcessing_isAvailable, "isAvailable(self) -> bool");

extern "C" {static PyObject *meth_QCameraImageProcessing_isAvailable(PyObject *, PyObject *);}
static PyObject *meth_QCameraImageProcessing_isAvailable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraImageProcessing *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraImageProcessing, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isAvailable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraImageProcessing, sipName_isAvailable, doc_QCameraImageProcessing_isAvailable);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageProcessing_whiteBalanceMode, "whiteBalanceMode(self) -> QCameraImageProcessing.WhiteBalanceMode");

extern "C" {static PyObject *meth_QCameraImageProcessing_whiteBalanceMode(PyObject *, PyObject *);}
static PyObject *meth_QCameraImageProcessing_whiteBalanceMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraImageProcessing *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraImageProcessing, &sipCpp))
        {
             ::QCameraImageProcessing::WhiteBalanceMode sipRes;

            sipRes = sipCpp->whiteBalanceMode();

            return sipConvertFromEnum(sipRes,sipType_QCameraImageProcessing_WhiteBalanceMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraImageProcessing, sipName_whiteBalanceMode, doc_QCameraImageProcessing_whiteBalanceMode);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageProcessing_setWhiteBalanceMode, "setWhiteBalanceMode(self, QCameraImageProcessing.WhiteBalanceMode)");

extern "C" {static PyObject *meth_QCameraImageProcessing_setWhiteBalanceMode(PyObject *, PyObject *);}
static PyObject *meth_QCameraImageProcessing_setWhiteBalanceMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCameraImageProcessing::WhiteBalanceMode a0;
         ::QCameraImageProcessing *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QCameraImageProcessing, &sipCpp, sipType_QCameraImageProcessing_WhiteBalanceMode, &a0))
        {
            sipCpp->setWhiteBalanceMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraImageProcessing, sipName_setWhiteBalanceMode, doc_QCameraImageProcessing_setWhiteBalanceMode);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageProcessing_isWhiteBalanceModeSupported, "isWhiteBalanceModeSupported(self, QCameraImageProcessing.WhiteBalanceMode) -> bool");

extern "C" {static PyObject *meth_QCameraImageProcessing_isWhiteBalanceModeSupported(PyObject *, PyObject *);}
static PyObject *meth_QCameraImageProcessing_isWhiteBalanceModeSupported(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCameraImageProcessing::WhiteBalanceMode a0;
        const  ::QCameraImageProcessing *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QCameraImageProcessing, &sipCpp, sipType_QCameraImageProcessing_WhiteBalanceMode, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isWhiteBalanceModeSupported(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraImageProcessing, sipName_isWhiteBalanceModeSupported, doc_QCameraImageProcessing_isWhiteBalanceModeSupported);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageProcessing_manualWhiteBalance, "manualWhiteBalance(self) -> float");

extern "C" {static PyObject *meth_QCameraImageProcessing_manualWhiteBalance(PyObject *, PyObject *);}
static PyObject *meth_QCameraImageProcessing_manualWhiteBalance(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraImageProcessing *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraImageProcessing, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->manualWhiteBalance();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraImageProcessing, sipName_manualWhiteBalance, doc_QCameraImageProcessing_manualWhiteBalance);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageProcessing_setManualWhiteBalance, "setManualWhiteBalance(self, float)");

extern "C" {static PyObject *meth_QCameraImageProcessing_setManualWhiteBalance(PyObject *, PyObject *);}
static PyObject *meth_QCameraImageProcessing_setManualWhiteBalance(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QCameraImageProcessing *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QCameraImageProcessing, &sipCpp, &a0))
        {
            sipCpp->setManualWhiteBalance(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraImageProcessing, sipName_setManualWhiteBalance, doc_QCameraImageProcessing_setManualWhiteBalance);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageProcessing_contrast, "contrast(self) -> float");

extern "C" {static PyObject *meth_QCameraImageProcessing_contrast(PyObject *, PyObject *);}
static PyObject *meth_QCameraImageProcessing_contrast(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraImageProcessing *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraImageProcessing, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->contrast();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraImageProcessing, sipName_contrast, doc_QCameraImageProcessing_contrast);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageProcessing_setContrast, "setContrast(self, float)");

extern "C" {static PyObject *meth_QCameraImageProcessing_setContrast(PyObject *, PyObject *);}
static PyObject *meth_QCameraImageProcessing_setContrast(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QCameraImageProcessing *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QCameraImageProcessing, &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_QCameraImageProcessing, sipName_setContrast, doc_QCameraImageProcessing_setContrast);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageProcessing_saturation, "saturation(self) -> float");

extern "C" {static PyObject *meth_QCameraImageProcessing_saturation(PyObject *, PyObject *);}
static PyObject *meth_QCameraImageProcessing_saturation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraImageProcessing *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraImageProcessing, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->saturation();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraImageProcessing, sipName_saturation, doc_QCameraImageProcessing_saturation);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageProcessing_setSaturation, "setSaturation(self, float)");

extern "C" {static PyObject *meth_QCameraImageProcessing_setSaturation(PyObject *, PyObject *);}
static PyObject *meth_QCameraImageProcessing_setSaturation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QCameraImageProcessing *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QCameraImageProcessing, &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_QCameraImageProcessing, sipName_setSaturation, doc_QCameraImageProcessing_setSaturation);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageProcessing_sharpeningLevel, "sharpeningLevel(self) -> float");

extern "C" {static PyObject *meth_QCameraImageProcessing_sharpeningLevel(PyObject *, PyObject *);}
static PyObject *meth_QCameraImageProcessing_sharpeningLevel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraImageProcessing *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraImageProcessing, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->sharpeningLevel();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraImageProcessing, sipName_sharpeningLevel, doc_QCameraImageProcessing_sharpeningLevel);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageProcessing_setSharpeningLevel, "setSharpeningLevel(self, float)");

extern "C" {static PyObject *meth_QCameraImageProcessing_setSharpeningLevel(PyObject *, PyObject *);}
static PyObject *meth_QCameraImageProcessing_setSharpeningLevel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QCameraImageProcessing *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QCameraImageProcessing, &sipCpp, &a0))
        {
            sipCpp->setSharpeningLevel(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraImageProcessing, sipName_setSharpeningLevel, doc_QCameraImageProcessing_setSharpeningLevel);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageProcessing_denoisingLevel, "denoisingLevel(self) -> float");

extern "C" {static PyObject *meth_QCameraImageProcessing_denoisingLevel(PyObject *, PyObject *);}
static PyObject *meth_QCameraImageProcessing_denoisingLevel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraImageProcessing *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraImageProcessing, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->denoisingLevel();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraImageProcessing, sipName_denoisingLevel, doc_QCameraImageProcessing_denoisingLevel);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageProcessing_setDenoisingLevel, "setDenoisingLevel(self, float)");

extern "C" {static PyObject *meth_QCameraImageProcessing_setDenoisingLevel(PyObject *, PyObject *);}
static PyObject *meth_QCameraImageProcessing_setDenoisingLevel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QCameraImageProcessing *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QCameraImageProcessing, &sipCpp, &a0))
        {
            sipCpp->setDenoisingLevel(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraImageProcessing, sipName_setDenoisingLevel, doc_QCameraImageProcessing_setDenoisingLevel);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageProcessing_colorFilter, "colorFilter(self) -> QCameraImageProcessing.ColorFilter");

extern "C" {static PyObject *meth_QCameraImageProcessing_colorFilter(PyObject *, PyObject *);}
static PyObject *meth_QCameraImageProcessing_colorFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraImageProcessing *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraImageProcessing, &sipCpp))
        {
             ::QCameraImageProcessing::ColorFilter sipRes;

            sipRes = sipCpp->colorFilter();

            return sipConvertFromEnum(sipRes,sipType_QCameraImageProcessing_ColorFilter);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraImageProcessing, sipName_colorFilter, doc_QCameraImageProcessing_colorFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageProcessing_setColorFilter, "setColorFilter(self, QCameraImageProcessing.ColorFilter)");

extern "C" {static PyObject *meth_QCameraImageProcessing_setColorFilter(PyObject *, PyObject *);}
static PyObject *meth_QCameraImageProcessing_setColorFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCameraImageProcessing::ColorFilter a0;
         ::QCameraImageProcessing *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QCameraImageProcessing, &sipCpp, sipType_QCameraImageProcessing_ColorFilter, &a0))
        {
            sipCpp->setColorFilter(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraImageProcessing, sipName_setColorFilter, doc_QCameraImageProcessing_setColorFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageProcessing_isColorFilterSupported, "isColorFilterSupported(self, QCameraImageProcessing.ColorFilter) -> bool");

extern "C" {static PyObject *meth_QCameraImageProcessing_isColorFilterSupported(PyObject *, PyObject *);}
static PyObject *meth_QCameraImageProcessing_isColorFilterSupported(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCameraImageProcessing::ColorFilter a0;
        const  ::QCameraImageProcessing *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QCameraImageProcessing, &sipCpp, sipType_QCameraImageProcessing_ColorFilter, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isColorFilterSupported(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraImageProcessing, sipName_isColorFilterSupported, doc_QCameraImageProcessing_isColorFilterSupported);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageProcessing_brightness, "brightness(self) -> float");

extern "C" {static PyObject *meth_QCameraImageProcessing_brightness(PyObject *, PyObject *);}
static PyObject *meth_QCameraImageProcessing_brightness(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraImageProcessing *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraImageProcessing, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->brightness();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraImageProcessing, sipName_brightness, doc_QCameraImageProcessing_brightness);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageProcessing_setBrightness, "setBrightness(self, float)");

extern "C" {static PyObject *meth_QCameraImageProcessing_setBrightness(PyObject *, PyObject *);}
static PyObject *meth_QCameraImageProcessing_setBrightness(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QCameraImageProcessing *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QCameraImageProcessing, &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_QCameraImageProcessing, sipName_setBrightness, doc_QCameraImageProcessing_setBrightness);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QCameraImageProcessing(void *, const sipTypeDef *);}
static void *cast_QCameraImageProcessing(void *sipCppV, const sipTypeDef *targetType)
{
     ::QCameraImageProcessing *sipCpp = reinterpret_cast< ::QCameraImageProcessing *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QCameraImageProcessing(void *, int);}
static void release_QCameraImageProcessing(void *, int)
{
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QCameraImageProcessing[] = {{9, 0, 1}};


static PyMethodDef methods_QCameraImageProcessing[] = {
    {SIP_MLNAME_CAST(sipName_brightness), meth_QCameraImageProcessing_brightness, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraImageProcessing_brightness)},
    {SIP_MLNAME_CAST(sipName_colorFilter), meth_QCameraImageProcessing_colorFilter, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraImageProcessing_colorFilter)},
    {SIP_MLNAME_CAST(sipName_contrast), meth_QCameraImageProcessing_contrast, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraImageProcessing_contrast)},
    {SIP_MLNAME_CAST(sipName_denoisingLevel), meth_QCameraImageProcessing_denoisingLevel, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraImageProcessing_denoisingLevel)},
    {SIP_MLNAME_CAST(sipName_isAvailable), meth_QCameraImageProcessing_isAvailable, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraImageProcessing_isAvailable)},
    {SIP_MLNAME_CAST(sipName_isColorFilterSupported), meth_QCameraImageProcessing_isColorFilterSupported, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraImageProcessing_isColorFilterSupported)},
    {SIP_MLNAME_CAST(sipName_isWhiteBalanceModeSupported), meth_QCameraImageProcessing_isWhiteBalanceModeSupported, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraImageProcessing_isWhiteBalanceModeSupported)},
    {SIP_MLNAME_CAST(sipName_manualWhiteBalance), meth_QCameraImageProcessing_manualWhiteBalance, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraImageProcessing_manualWhiteBalance)},
    {SIP_MLNAME_CAST(sipName_saturation), meth_QCameraImageProcessing_saturation, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraImageProcessing_saturation)},
    {SIP_MLNAME_CAST(sipName_setBrightness), meth_QCameraImageProcessing_setBrightness, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraImageProcessing_setBrightness)},
    {SIP_MLNAME_CAST(sipName_setColorFilter), meth_QCameraImageProcessing_setColorFilter, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraImageProcessing_setColorFilter)},
    {SIP_MLNAME_CAST(sipName_setContrast), meth_QCameraImageProcessing_setContrast, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraImageProcessing_setContrast)},
    {SIP_MLNAME_CAST(sipName_setDenoisingLevel), meth_QCameraImageProcessing_setDenoisingLevel, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraImageProcessing_setDenoisingLevel)},
    {SIP_MLNAME_CAST(sipName_setManualWhiteBalance), meth_QCameraImageProcessing_setManualWhiteBalance, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraImageProcessing_setManualWhiteBalance)},
    {SIP_MLNAME_CAST(sipName_setSaturation), meth_QCameraImageProcessing_setSaturation, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraImageProcessing_setSaturation)},
    {SIP_MLNAME_CAST(sipName_setSharpeningLevel), meth_QCameraImageProcessing_setSharpeningLevel, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraImageProcessing_setSharpeningLevel)},
    {SIP_MLNAME_CAST(sipName_setWhiteBalanceMode), meth_QCameraImageProcessing_setWhiteBalanceMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraImageProcessing_setWhiteBalanceMode)},
    {SIP_MLNAME_CAST(sipName_sharpeningLevel), meth_QCameraImageProcessing_sharpeningLevel, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraImageProcessing_sharpeningLevel)},
    {SIP_MLNAME_CAST(sipName_whiteBalanceMode), meth_QCameraImageProcessing_whiteBalanceMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraImageProcessing_whiteBalanceMode)}
};

static sipEnumMemberDef enummembers_QCameraImageProcessing[] = {
    {sipName_ColorFilterAqua, static_cast<int>( ::QCameraImageProcessing::ColorFilterAqua), 54},
    {sipName_ColorFilterBlackboard, static_cast<int>( ::QCameraImageProcessing::ColorFilterBlackboard), 54},
    {sipName_ColorFilterGrayscale, static_cast<int>( ::QCameraImageProcessing::ColorFilterGrayscale), 54},
    {sipName_ColorFilterNegative, static_cast<int>( ::QCameraImageProcessing::ColorFilterNegative), 54},
    {sipName_ColorFilterNone, static_cast<int>( ::QCameraImageProcessing::ColorFilterNone), 54},
    {sipName_ColorFilterPosterize, static_cast<int>( ::QCameraImageProcessing::ColorFilterPosterize), 54},
    {sipName_ColorFilterSepia, static_cast<int>( ::QCameraImageProcessing::ColorFilterSepia), 54},
    {sipName_ColorFilterSolarize, static_cast<int>( ::QCameraImageProcessing::ColorFilterSolarize), 54},
    {sipName_ColorFilterVendor, static_cast<int>( ::QCameraImageProcessing::ColorFilterVendor), 54},
    {sipName_ColorFilterWhiteboard, static_cast<int>( ::QCameraImageProcessing::ColorFilterWhiteboard), 54},
    {sipName_WhiteBalanceAuto, static_cast<int>( ::QCameraImageProcessing::WhiteBalanceAuto), 55},
    {sipName_WhiteBalanceCloudy, static_cast<int>( ::QCameraImageProcessing::WhiteBalanceCloudy), 55},
    {sipName_WhiteBalanceFlash, static_cast<int>( ::QCameraImageProcessing::WhiteBalanceFlash), 55},
    {sipName_WhiteBalanceFluorescent, static_cast<int>( ::QCameraImageProcessing::WhiteBalanceFluorescent), 55},
    {sipName_WhiteBalanceManual, static_cast<int>( ::QCameraImageProcessing::WhiteBalanceManual), 55},
    {sipName_WhiteBalanceShade, static_cast<int>( ::QCameraImageProcessing::WhiteBalanceShade), 55},
    {sipName_WhiteBalanceSunlight, static_cast<int>( ::QCameraImageProcessing::WhiteBalanceSunlight), 55},
    {sipName_WhiteBalanceSunset, static_cast<int>( ::QCameraImageProcessing::WhiteBalanceSunset), 55},
    {sipName_WhiteBalanceTungsten, static_cast<int>( ::QCameraImageProcessing::WhiteBalanceTungsten), 55},
    {sipName_WhiteBalanceVendor, static_cast<int>( ::QCameraImageProcessing::WhiteBalanceVendor), 55},
};


static pyqt5ClassPluginDef plugin_QCameraImageProcessing = {
    & ::QCameraImageProcessing::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QCameraImageProcessing = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QCameraImageProcessing,
        {0},
        &plugin_QCameraImageProcessing
    },
    {
        sipNameNr_QCameraImageProcessing,
        {0, 0, 1},
        19, methods_QCameraImageProcessing,
        20, enummembers_QCameraImageProcessing,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_QCameraImageProcessing,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    release_QCameraImageProcessing,
    cast_QCameraImageProcessing,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcameraimagecapture.sip"
#include <qcameraimagecapture.h>
#line 26195 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcameraimagecapture.sip"
#include <qcameraimagecapture.h>
#line 26199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


extern "C" {static long slot_QCameraImageCapture_CaptureDestinations___hash__(PyObject *);}
static long slot_QCameraImageCapture_CaptureDestinations___hash__(PyObject *sipSelf)
{
     ::QCameraImageCapture::CaptureDestinations *sipCpp = reinterpret_cast< ::QCameraImageCapture::CaptureDestinations *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCameraImageCapture_CaptureDestinations));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QCameraImageCapture::CaptureDestinations::Int();
#line 26217 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QCameraImageCapture_CaptureDestinations___bool__(PyObject *);}
static int slot_QCameraImageCapture_CaptureDestinations___bool__(PyObject *sipSelf)
{
     ::QCameraImageCapture::CaptureDestinations *sipCpp = reinterpret_cast< ::QCameraImageCapture::CaptureDestinations *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCameraImageCapture_CaptureDestinations));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QCameraImageCapture::CaptureDestinations::Int() != 0);
#line 26242 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QCameraImageCapture_CaptureDestinations___ne__(PyObject *,PyObject *);}
static PyObject *slot_QCameraImageCapture_CaptureDestinations___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QCameraImageCapture::CaptureDestinations *sipCpp = reinterpret_cast< ::QCameraImageCapture::CaptureDestinations *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCameraImageCapture_CaptureDestinations));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraImageCapture::CaptureDestinations* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QCameraImageCapture_CaptureDestinations, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QCameraImageCapture::CaptureDestinations::Int() != a0->operator QCameraImageCapture::CaptureDestinations::Int());
#line 26272 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
            sipReleaseType(const_cast< ::QCameraImageCapture::CaptureDestinations *>(a0),sipType_QCameraImageCapture_CaptureDestinations,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, ne_slot, sipType_QCameraImageCapture_CaptureDestinations, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QCameraImageCapture_CaptureDestinations___eq__(PyObject *,PyObject *);}
static PyObject *slot_QCameraImageCapture_CaptureDestinations___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QCameraImageCapture::CaptureDestinations *sipCpp = reinterpret_cast< ::QCameraImageCapture::CaptureDestinations *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCameraImageCapture_CaptureDestinations));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraImageCapture::CaptureDestinations* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QCameraImageCapture_CaptureDestinations, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QCameraImageCapture::CaptureDestinations::Int() == a0->operator QCameraImageCapture::CaptureDestinations::Int());
#line 26308 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
            sipReleaseType(const_cast< ::QCameraImageCapture::CaptureDestinations *>(a0),sipType_QCameraImageCapture_CaptureDestinations,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, eq_slot, sipType_QCameraImageCapture_CaptureDestinations, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QCameraImageCapture_CaptureDestinations___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QCameraImageCapture_CaptureDestinations___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QCameraImageCapture_CaptureDestinations)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QCameraImageCapture::CaptureDestinations *sipCpp = reinterpret_cast< ::QCameraImageCapture::CaptureDestinations *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCameraImageCapture_CaptureDestinations));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QCameraImageCapture::CaptureDestinations(*sipCpp ^ a0);
#line 26347 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QCameraImageCapture_CaptureDestinations___xor__(PyObject *,PyObject *);}
static PyObject *slot_QCameraImageCapture_CaptureDestinations___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCameraImageCapture::CaptureDestinations* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QCameraImageCapture_CaptureDestinations, &a0, &a0State, &a1))
        {
             ::QCameraImageCapture::CaptureDestinations*sipRes;

            sipRes = new  ::QCameraImageCapture::CaptureDestinations((*a0 ^ a1));
            sipReleaseType(a0,sipType_QCameraImageCapture_CaptureDestinations,a0State);

            return sipConvertFromNewType(sipRes,sipType_QCameraImageCapture_CaptureDestinations,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QCameraImageCapture_CaptureDestinations___ior__(PyObject *,PyObject *);}
static PyObject *slot_QCameraImageCapture_CaptureDestinations___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QCameraImageCapture_CaptureDestinations)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QCameraImageCapture::CaptureDestinations *sipCpp = reinterpret_cast< ::QCameraImageCapture::CaptureDestinations *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCameraImageCapture_CaptureDestinations));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QCameraImageCapture::CaptureDestinations(*sipCpp | a0);
#line 26419 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QCameraImageCapture_CaptureDestinations___or__(PyObject *,PyObject *);}
static PyObject *slot_QCameraImageCapture_CaptureDestinations___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCameraImageCapture::CaptureDestinations* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QCameraImageCapture_CaptureDestinations, &a0, &a0State, &a1))
        {
             ::QCameraImageCapture::CaptureDestinations*sipRes;

            sipRes = new  ::QCameraImageCapture::CaptureDestinations((*a0 | a1));
            sipReleaseType(a0,sipType_QCameraImageCapture_CaptureDestinations,a0State);

            return sipConvertFromNewType(sipRes,sipType_QCameraImageCapture_CaptureDestinations,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QCameraImageCapture_CaptureDestinations___iand__(PyObject *,PyObject *);}
static PyObject *slot_QCameraImageCapture_CaptureDestinations___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QCameraImageCapture_CaptureDestinations)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QCameraImageCapture::CaptureDestinations *sipCpp = reinterpret_cast< ::QCameraImageCapture::CaptureDestinations *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCameraImageCapture_CaptureDestinations));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QCameraImageCapture::CaptureDestinations::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QCameraImageCapture_CaptureDestinations___and__(PyObject *,PyObject *);}
static PyObject *slot_QCameraImageCapture_CaptureDestinations___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCameraImageCapture::CaptureDestinations* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QCameraImageCapture_CaptureDestinations, &a0, &a0State, &a1))
        {
             ::QCameraImageCapture::CaptureDestinations*sipRes;

            sipRes = new  ::QCameraImageCapture::CaptureDestinations((*a0 & a1));
            sipReleaseType(a0,sipType_QCameraImageCapture_CaptureDestinations,a0State);

            return sipConvertFromNewType(sipRes,sipType_QCameraImageCapture_CaptureDestinations,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QCameraImageCapture_CaptureDestinations___invert__(PyObject *);}
static PyObject *slot_QCameraImageCapture_CaptureDestinations___invert__(PyObject *sipSelf)
{
     ::QCameraImageCapture::CaptureDestinations *sipCpp = reinterpret_cast< ::QCameraImageCapture::CaptureDestinations *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCameraImageCapture_CaptureDestinations));

    if (!sipCpp)
        return 0;


    {
        {
             ::QCameraImageCapture::CaptureDestinations*sipRes;

            sipRes = new  ::QCameraImageCapture::CaptureDestinations(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QCameraImageCapture_CaptureDestinations,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QCameraImageCapture_CaptureDestinations___int__(PyObject *);}
static PyObject *slot_QCameraImageCapture_CaptureDestinations___int__(PyObject *sipSelf)
{
     ::QCameraImageCapture::CaptureDestinations *sipCpp = reinterpret_cast< ::QCameraImageCapture::CaptureDestinations *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCameraImageCapture_CaptureDestinations));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QCameraImageCapture_CaptureDestinations(void *, int);}
static void release_QCameraImageCapture_CaptureDestinations(void *sipCppV, int)
{
    delete reinterpret_cast< ::QCameraImageCapture::CaptureDestinations *>(sipCppV);
}


extern "C" {static void assign_QCameraImageCapture_CaptureDestinations(void *, SIP_SSIZE_T, const void *);}
static void assign_QCameraImageCapture_CaptureDestinations(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QCameraImageCapture::CaptureDestinations *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QCameraImageCapture::CaptureDestinations *>(sipSrc);
}


extern "C" {static void *array_QCameraImageCapture_CaptureDestinations(SIP_SSIZE_T);}
static void *array_QCameraImageCapture_CaptureDestinations(SIP_SSIZE_T sipNrElem)
{
    return new  ::QCameraImageCapture::CaptureDestinations[sipNrElem];
}


extern "C" {static void *copy_QCameraImageCapture_CaptureDestinations(const void *, SIP_SSIZE_T);}
static void *copy_QCameraImageCapture_CaptureDestinations(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QCameraImageCapture::CaptureDestinations(reinterpret_cast<const  ::QCameraImageCapture::CaptureDestinations *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QCameraImageCapture_CaptureDestinations(sipSimpleWrapper *);}
static void dealloc_QCameraImageCapture_CaptureDestinations(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QCameraImageCapture_CaptureDestinations(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QCameraImageCapture_CaptureDestinations(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QCameraImageCapture_CaptureDestinations(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QCameraImageCapture::CaptureDestinations *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QCameraImageCapture::CaptureDestinations();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QCameraImageCapture::CaptureDestinations(a0);

            return sipCpp;
        }
    }

    {
        const  ::QCameraImageCapture::CaptureDestinations* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QCameraImageCapture_CaptureDestinations, &a0, &a0State))
        {
            sipCpp = new  ::QCameraImageCapture::CaptureDestinations(*a0);
            sipReleaseType(const_cast< ::QCameraImageCapture::CaptureDestinations *>(a0),sipType_QCameraImageCapture_CaptureDestinations,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QCameraImageCapture_CaptureDestinations(PyObject *, void **, int *, PyObject *);}
static int convertTo_QCameraImageCapture_CaptureDestinations(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QCameraImageCapture::CaptureDestinations **sipCppPtr = reinterpret_cast< ::QCameraImageCapture::CaptureDestinations **>(sipCppPtrV);

#line 121 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QCameraImageCapture::CaptureDestinations is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QCameraImageCapture_CaptureDestination)) ||
            sipCanConvertToType(sipPy, sipType_QCameraImageCapture_CaptureDestinations, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QCameraImageCapture_CaptureDestination)))
{
    *sipCppPtr = new QCameraImageCapture::CaptureDestinations(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QCameraImageCapture::CaptureDestinations *>(sipConvertToType(sipPy, sipType_QCameraImageCapture_CaptureDestinations, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 26687 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QCameraImageCapture_CaptureDestinations[] = {
    {(void *)slot_QCameraImageCapture_CaptureDestinations___hash__, hash_slot},
    {(void *)slot_QCameraImageCapture_CaptureDestinations___bool__, bool_slot},
    {(void *)slot_QCameraImageCapture_CaptureDestinations___ne__, ne_slot},
    {(void *)slot_QCameraImageCapture_CaptureDestinations___eq__, eq_slot},
    {(void *)slot_QCameraImageCapture_CaptureDestinations___ixor__, ixor_slot},
    {(void *)slot_QCameraImageCapture_CaptureDestinations___xor__, xor_slot},
    {(void *)slot_QCameraImageCapture_CaptureDestinations___ior__, ior_slot},
    {(void *)slot_QCameraImageCapture_CaptureDestinations___or__, or_slot},
    {(void *)slot_QCameraImageCapture_CaptureDestinations___iand__, iand_slot},
    {(void *)slot_QCameraImageCapture_CaptureDestinations___and__, and_slot},
    {(void *)slot_QCameraImageCapture_CaptureDestinations___invert__, invert_slot},
    {(void *)slot_QCameraImageCapture_CaptureDestinations___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QCameraImageCapture_CaptureDestinations, "\1QCameraImageCapture.CaptureDestinations()\n"
    "QCameraImageCapture.CaptureDestinations(Union[QCameraImageCapture.CaptureDestinations, QCameraImageCapture.CaptureDestination])\n"
    "QCameraImageCapture.CaptureDestinations(QCameraImageCapture.CaptureDestinations)");


static pyqt5ClassPluginDef plugin_QCameraImageCapture_CaptureDestinations = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QCameraImageCapture_CaptureDestinations = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QCameraImageCapture__CaptureDestinations,
        {0},
        &plugin_QCameraImageCapture_CaptureDestinations
    },
    {
        sipNameNr_CaptureDestinations,
        {48, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QCameraImageCapture_CaptureDestinations,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QCameraImageCapture_CaptureDestinations,
    init_type_QCameraImageCapture_CaptureDestinations,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QCameraImageCapture_CaptureDestinations,
    assign_QCameraImageCapture_CaptureDestinations,
    array_QCameraImageCapture_CaptureDestinations,
    copy_QCameraImageCapture_CaptureDestinations,
    release_QCameraImageCapture_CaptureDestinations,
    0,
    convertTo_QCameraImageCapture_CaptureDestinations,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcameraimagecapture.sip"
#include <qcameraimagecapture.h>
#line 26773 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaobject.sip"
#include <qmediaobject.h>
#line 26777 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 26780 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 26783 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qvideoframe.sip"
#include <qvideoframe.h>
#line 26786 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 26789 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtGui/qimage.sip"
#include <qimage.h>
#line 26792 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcameraimagecapture.sip"
#include <qcameraimagecapture.h>
#line 26795 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qpymultimedia_qlist.sip"
#include <qvideoframe.h>
#line 26798 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaencodersettings.sip"
#include <qmediaencodersettings.h>
#line 26801 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 26804 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 26807 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 26810 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmultimedia.sip"
#include <qmultimedia.h>
#line 26813 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 26816 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 26819 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 26822 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 26825 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 26828 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 26831 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 26834 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26837 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 26840 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26843 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 26846 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 26849 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 26852 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


class sipQCameraImageCapture : public  ::QCameraImageCapture
{
public:
    sipQCameraImageCapture( ::QMediaObject*, ::QObject*);
    virtual ~sipQCameraImageCapture();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
     ::QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool, ::QTimerEvent*);
    void sipProtectVirt_childEvent(bool, ::QChildEvent*);
    void sipProtectVirt_customEvent(bool, ::QEvent*);
    void sipProtectVirt_connectNotify(bool,const  ::QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const  ::QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const  ::QMetaMethod&) const;
    bool sipProtectVirt_setMediaObject(bool, ::QMediaObject*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
     ::QMediaObject* mediaObject() const;
    bool setMediaObject( ::QMediaObject*);
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQCameraImageCapture(const sipQCameraImageCapture &);
    sipQCameraImageCapture &operator = (const sipQCameraImageCapture &);

    char sipPyMethods[9];
};

sipQCameraImageCapture::sipQCameraImageCapture( ::QMediaObject*a0, ::QObject*a1):  ::QCameraImageCapture(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQCameraImageCapture::~sipQCameraImageCapture()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQCameraImageCapture::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf,sipType_QCameraImageCapture);

    return  ::QCameraImageCapture::metaObject();
}

int sipQCameraImageCapture::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QCameraImageCapture::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtMultimedia_qt_metacall(sipPySelf,sipType_QCameraImageCapture,_c,_id,_a);

    return _id;
}

void *sipQCameraImageCapture::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtMultimedia_qt_metacast(sipPySelf, sipType_QCameraImageCapture, _clname, &sipCpp) ? sipCpp :  ::QCameraImageCapture::qt_metacast(_clname));
}

 ::QMediaObject* sipQCameraImageCapture::mediaObject() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_mediaObject);

    if (!sipMeth)
        return  ::QCameraImageCapture::mediaObject();

    extern  ::QMediaObject* sipVH_QtMultimedia_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtMultimedia_21(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQCameraImageCapture::setMediaObject( ::QMediaObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_setMediaObject);

    if (!sipMeth)
        return  ::QCameraImageCapture::setMediaObject(a0);

    extern bool sipVH_QtMultimedia_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMediaObject*);

    return sipVH_QtMultimedia_22(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQCameraImageCapture::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QCameraImageCapture::event(a0);

    extern bool sipVH_QtMultimedia_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtMultimedia_10(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQCameraImageCapture::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QCameraImageCapture::eventFilter(a0,a1);

    extern bool sipVH_QtMultimedia_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtMultimedia_9(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQCameraImageCapture::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QCameraImageCapture::timerEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtMultimedia_8(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCameraImageCapture::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QCameraImageCapture::childEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtMultimedia_7(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCameraImageCapture::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QCameraImageCapture::customEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtMultimedia_6(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCameraImageCapture::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QCameraImageCapture::connectNotify(a0);
        return;
    }

    extern void sipVH_QtMultimedia_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCameraImageCapture::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QCameraImageCapture::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtMultimedia_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQCameraImageCapture::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQCameraImageCapture::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQCameraImageCapture::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQCameraImageCapture::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQCameraImageCapture::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQCameraImageCapture::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQCameraImageCapture::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQCameraImageCapture::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQCameraImageCapture::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

bool sipQCameraImageCapture::sipProtectVirt_setMediaObject(bool sipSelfWasArg, ::QMediaObject*a0)
{
    return (sipSelfWasArg ?  ::QCameraImageCapture::setMediaObject(a0) : setMediaObject(a0));
}


PyDoc_STRVAR(doc_QCameraImageCapture_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QCameraImageCapture_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCameraImageCapture_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQCameraImageCapture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCameraImageCapture, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 27184 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraImageCapture, sipName_sender, doc_QCameraImageCapture_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageCapture_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QCameraImageCapture_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCameraImageCapture_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQCameraImageCapture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QCameraImageCapture, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 27244 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.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_QCameraImageCapture, sipName_receivers, doc_QCameraImageCapture_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageCapture_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QCameraImageCapture_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCameraImageCapture_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQCameraImageCapture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCameraImageCapture, &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_QCameraImageCapture, sipName_timerEvent, doc_QCameraImageCapture_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageCapture_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QCameraImageCapture_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCameraImageCapture_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQCameraImageCapture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCameraImageCapture, &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_QCameraImageCapture, sipName_childEvent, doc_QCameraImageCapture_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageCapture_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QCameraImageCapture_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCameraImageCapture_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQCameraImageCapture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCameraImageCapture, &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_QCameraImageCapture, sipName_customEvent, doc_QCameraImageCapture_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageCapture_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QCameraImageCapture_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCameraImageCapture_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQCameraImageCapture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QCameraImageCapture, &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_QCameraImageCapture, sipName_connectNotify, doc_QCameraImageCapture_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageCapture_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QCameraImageCapture_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCameraImageCapture_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQCameraImageCapture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QCameraImageCapture, &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_QCameraImageCapture, sipName_disconnectNotify, doc_QCameraImageCapture_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageCapture_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QCameraImageCapture_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCameraImageCapture_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQCameraImageCapture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCameraImageCapture, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraImageCapture, sipName_senderSignalIndex, doc_QCameraImageCapture_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageCapture_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QCameraImageCapture_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCameraImageCapture_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQCameraImageCapture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QCameraImageCapture, &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_QCameraImageCapture, sipName_isSignalConnected, doc_QCameraImageCapture_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageCapture_isAvailable, "isAvailable(self) -> bool");

extern "C" {static PyObject *meth_QCameraImageCapture_isAvailable(PyObject *, PyObject *);}
static PyObject *meth_QCameraImageCapture_isAvailable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraImageCapture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraImageCapture, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isAvailable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraImageCapture, sipName_isAvailable, doc_QCameraImageCapture_isAvailable);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageCapture_availability, "availability(self) -> QMultimedia.AvailabilityStatus");

extern "C" {static PyObject *meth_QCameraImageCapture_availability(PyObject *, PyObject *);}
static PyObject *meth_QCameraImageCapture_availability(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraImageCapture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraImageCapture, &sipCpp))
        {
             ::QMultimedia::AvailabilityStatus sipRes;

            sipRes = sipCpp->availability();

            return sipConvertFromEnum(sipRes,sipType_QMultimedia_AvailabilityStatus);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraImageCapture, sipName_availability, doc_QCameraImageCapture_availability);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageCapture_mediaObject, "mediaObject(self) -> QMediaObject");

extern "C" {static PyObject *meth_QCameraImageCapture_mediaObject(PyObject *, PyObject *);}
static PyObject *meth_QCameraImageCapture_mediaObject(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QCameraImageCapture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraImageCapture, &sipCpp))
        {
             ::QMediaObject*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QCameraImageCapture::mediaObject() : sipCpp->mediaObject());

            return sipConvertFromType(sipRes,sipType_QMediaObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraImageCapture, sipName_mediaObject, doc_QCameraImageCapture_mediaObject);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageCapture_error, "error(self) -> QCameraImageCapture.Error");

extern "C" {static PyObject *meth_QCameraImageCapture_error(PyObject *, PyObject *);}
static PyObject *meth_QCameraImageCapture_error(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraImageCapture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraImageCapture, &sipCpp))
        {
             ::QCameraImageCapture::Error sipRes;

            sipRes = sipCpp->error();

            return sipConvertFromEnum(sipRes,sipType_QCameraImageCapture_Error);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraImageCapture, sipName_error, doc_QCameraImageCapture_error);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageCapture_errorString, "errorString(self) -> str");

extern "C" {static PyObject *meth_QCameraImageCapture_errorString(PyObject *, PyObject *);}
static PyObject *meth_QCameraImageCapture_errorString(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraImageCapture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraImageCapture, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->errorString());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraImageCapture, sipName_errorString, doc_QCameraImageCapture_errorString);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageCapture_isReadyForCapture, "isReadyForCapture(self) -> bool");

extern "C" {static PyObject *meth_QCameraImageCapture_isReadyForCapture(PyObject *, PyObject *);}
static PyObject *meth_QCameraImageCapture_isReadyForCapture(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraImageCapture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraImageCapture, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isReadyForCapture();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraImageCapture, sipName_isReadyForCapture, doc_QCameraImageCapture_isReadyForCapture);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageCapture_supportedImageCodecs, "supportedImageCodecs(self) -> List[str]");

extern "C" {static PyObject *meth_QCameraImageCapture_supportedImageCodecs(PyObject *, PyObject *);}
static PyObject *meth_QCameraImageCapture_supportedImageCodecs(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraImageCapture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraImageCapture, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->supportedImageCodecs());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraImageCapture, sipName_supportedImageCodecs, doc_QCameraImageCapture_supportedImageCodecs);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageCapture_imageCodecDescription, "imageCodecDescription(self, str) -> str");

extern "C" {static PyObject *meth_QCameraImageCapture_imageCodecDescription(PyObject *, PyObject *);}
static PyObject *meth_QCameraImageCapture_imageCodecDescription(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QCameraImageCapture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCameraImageCapture, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->imageCodecDescription(*a0));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraImageCapture, sipName_imageCodecDescription, doc_QCameraImageCapture_imageCodecDescription);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageCapture_supportedResolutions, "supportedResolutions(self, settings: QImageEncoderSettings = QImageEncoderSettings()) -> Tuple[List[QSize], bool]");

extern "C" {static PyObject *meth_QCameraImageCapture_supportedResolutions(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCameraImageCapture_supportedResolutions(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QImageEncoderSettings& a0def = QImageEncoderSettings();
        const  ::QImageEncoderSettings* a0 = &a0def;
        bool a1;
        const  ::QCameraImageCapture *sipCpp;

        static const char *sipKwdList[] = {
            sipName_settings,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J9", &sipSelf, sipType_QCameraImageCapture, &sipCpp, sipType_QImageEncoderSettings, &a0))
        {
            QList< ::QSize>*sipRes;

            sipRes = new QList< ::QSize>(sipCpp->supportedResolutions(*a0,&a1));

            PyObject *sipResObj = sipConvertFromNewType(sipRes,sipType_QList_0100QSize,NULL);
            return sipBuildResult(0,"(Rb)",sipResObj,a1);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraImageCapture, sipName_supportedResolutions, doc_QCameraImageCapture_supportedResolutions);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageCapture_encodingSettings, "encodingSettings(self) -> QImageEncoderSettings");

extern "C" {static PyObject *meth_QCameraImageCapture_encodingSettings(PyObject *, PyObject *);}
static PyObject *meth_QCameraImageCapture_encodingSettings(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraImageCapture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraImageCapture, &sipCpp))
        {
             ::QImageEncoderSettings*sipRes;

            sipRes = new  ::QImageEncoderSettings(sipCpp->encodingSettings());

            return sipConvertFromNewType(sipRes,sipType_QImageEncoderSettings,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraImageCapture, sipName_encodingSettings, doc_QCameraImageCapture_encodingSettings);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageCapture_setEncodingSettings, "setEncodingSettings(self, QImageEncoderSettings)");

extern "C" {static PyObject *meth_QCameraImageCapture_setEncodingSettings(PyObject *, PyObject *);}
static PyObject *meth_QCameraImageCapture_setEncodingSettings(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QImageEncoderSettings* a0;
         ::QCameraImageCapture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QCameraImageCapture, &sipCpp, sipType_QImageEncoderSettings, &a0))
        {
            sipCpp->setEncodingSettings(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraImageCapture, sipName_setEncodingSettings, doc_QCameraImageCapture_setEncodingSettings);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageCapture_supportedBufferFormats, "supportedBufferFormats(self) -> List[QVideoFrame.PixelFormat]");

extern "C" {static PyObject *meth_QCameraImageCapture_supportedBufferFormats(PyObject *, PyObject *);}
static PyObject *meth_QCameraImageCapture_supportedBufferFormats(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraImageCapture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraImageCapture, &sipCpp))
        {
             ::QList< ::QVideoFrame::PixelFormat>*sipRes;

            sipRes = new  ::QList< ::QVideoFrame::PixelFormat>(sipCpp->supportedBufferFormats());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QVideoFrame_PixelFormat,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraImageCapture, sipName_supportedBufferFormats, doc_QCameraImageCapture_supportedBufferFormats);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageCapture_bufferFormat, "bufferFormat(self) -> QVideoFrame.PixelFormat");

extern "C" {static PyObject *meth_QCameraImageCapture_bufferFormat(PyObject *, PyObject *);}
static PyObject *meth_QCameraImageCapture_bufferFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraImageCapture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraImageCapture, &sipCpp))
        {
             ::QVideoFrame::PixelFormat sipRes;

            sipRes = sipCpp->bufferFormat();

            return sipConvertFromEnum(sipRes,sipType_QVideoFrame_PixelFormat);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraImageCapture, sipName_bufferFormat, doc_QCameraImageCapture_bufferFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageCapture_setBufferFormat, "setBufferFormat(self, QVideoFrame.PixelFormat)");

extern "C" {static PyObject *meth_QCameraImageCapture_setBufferFormat(PyObject *, PyObject *);}
static PyObject *meth_QCameraImageCapture_setBufferFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QVideoFrame::PixelFormat a0;
         ::QCameraImageCapture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QCameraImageCapture, &sipCpp, sipType_QVideoFrame_PixelFormat, &a0))
        {
            sipCpp->setBufferFormat(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraImageCapture, sipName_setBufferFormat, doc_QCameraImageCapture_setBufferFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageCapture_isCaptureDestinationSupported, "isCaptureDestinationSupported(self, Union[QCameraImageCapture.CaptureDestinations, QCameraImageCapture.CaptureDestination]) -> bool");

extern "C" {static PyObject *meth_QCameraImageCapture_isCaptureDestinationSupported(PyObject *, PyObject *);}
static PyObject *meth_QCameraImageCapture_isCaptureDestinationSupported(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCameraImageCapture::CaptureDestinations* a0;
        int a0State = 0;
        const  ::QCameraImageCapture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCameraImageCapture, &sipCpp, sipType_QCameraImageCapture_CaptureDestinations, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->isCaptureDestinationSupported(*a0);
            sipReleaseType(a0,sipType_QCameraImageCapture_CaptureDestinations,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraImageCapture, sipName_isCaptureDestinationSupported, doc_QCameraImageCapture_isCaptureDestinationSupported);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageCapture_captureDestination, "captureDestination(self) -> QCameraImageCapture.CaptureDestinations");

extern "C" {static PyObject *meth_QCameraImageCapture_captureDestination(PyObject *, PyObject *);}
static PyObject *meth_QCameraImageCapture_captureDestination(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraImageCapture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraImageCapture, &sipCpp))
        {
             ::QCameraImageCapture::CaptureDestinations*sipRes;

            sipRes = new  ::QCameraImageCapture::CaptureDestinations(sipCpp->captureDestination());

            return sipConvertFromNewType(sipRes,sipType_QCameraImageCapture_CaptureDestinations,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraImageCapture, sipName_captureDestination, doc_QCameraImageCapture_captureDestination);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageCapture_setCaptureDestination, "setCaptureDestination(self, Union[QCameraImageCapture.CaptureDestinations, QCameraImageCapture.CaptureDestination])");

extern "C" {static PyObject *meth_QCameraImageCapture_setCaptureDestination(PyObject *, PyObject *);}
static PyObject *meth_QCameraImageCapture_setCaptureDestination(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCameraImageCapture::CaptureDestinations* a0;
        int a0State = 0;
         ::QCameraImageCapture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCameraImageCapture, &sipCpp, sipType_QCameraImageCapture_CaptureDestinations, &a0, &a0State))
        {
            sipCpp->setCaptureDestination(*a0);
            sipReleaseType(a0,sipType_QCameraImageCapture_CaptureDestinations,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraImageCapture, sipName_setCaptureDestination, doc_QCameraImageCapture_setCaptureDestination);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageCapture_capture, "capture(self, file: str = '') -> int");

extern "C" {static PyObject *meth_QCameraImageCapture_capture(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCameraImageCapture_capture(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString& a0def = QString();
        const  ::QString* a0 = &a0def;
        int a0State = 0;
         ::QCameraImageCapture *sipCpp;

        static const char *sipKwdList[] = {
            sipName_file,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1", &sipSelf, sipType_QCameraImageCapture, &sipCpp, sipType_QString,&a0, &a0State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->capture(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraImageCapture, sipName_capture, doc_QCameraImageCapture_capture);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageCapture_cancelCapture, "cancelCapture(self)");

extern "C" {static PyObject *meth_QCameraImageCapture_cancelCapture(PyObject *, PyObject *);}
static PyObject *meth_QCameraImageCapture_cancelCapture(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCameraImageCapture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraImageCapture, &sipCpp))
        {
            sipCpp->cancelCapture();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraImageCapture, sipName_cancelCapture, doc_QCameraImageCapture_cancelCapture);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraImageCapture_setMediaObject, "setMediaObject(self, QMediaObject) -> bool");

extern "C" {static PyObject *meth_QCameraImageCapture_setMediaObject(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCameraImageCapture_setMediaObject(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMediaObject* a0;
        sipQCameraImageCapture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCameraImageCapture, &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_QCameraImageCapture, sipName_setMediaObject, doc_QCameraImageCapture_setMediaObject);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QCameraImageCapture(void *, const sipTypeDef *);}
static void *cast_QCameraImageCapture(void *sipCppV, const sipTypeDef *targetType)
{
     ::QCameraImageCapture *sipCpp = reinterpret_cast< ::QCameraImageCapture *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QMediaBindableInterface)
        return static_cast< ::QMediaBindableInterface *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QCameraImageCapture(void *, int);}
static void release_QCameraImageCapture(void *sipCppV, int)
{
     ::QCameraImageCapture *sipCpp = reinterpret_cast< ::QCameraImageCapture *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QCameraImageCapture(sipSimpleWrapper *);}
static void dealloc_QCameraImageCapture(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQCameraImageCapture *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QCameraImageCapture(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QCameraImageCapture(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QCameraImageCapture(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQCameraImageCapture *sipCpp = 0;

    {
         ::QMediaObject* a0;
         ::QObject* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J8|JH", sipType_QMediaObject, &a0, sipType_QObject, &a1, sipOwner))
        {
            sipCpp = new sipQCameraImageCapture(a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QCameraImageCapture[] = {{9, 0, 0}, {72, 255, 1}};


static PyMethodDef methods_QCameraImageCapture[] = {
    {SIP_MLNAME_CAST(sipName_availability), meth_QCameraImageCapture_availability, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraImageCapture_availability)},
    {SIP_MLNAME_CAST(sipName_bufferFormat), meth_QCameraImageCapture_bufferFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraImageCapture_bufferFormat)},
    {SIP_MLNAME_CAST(sipName_cancelCapture), meth_QCameraImageCapture_cancelCapture, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraImageCapture_cancelCapture)},
    {SIP_MLNAME_CAST(sipName_capture), (PyCFunction)meth_QCameraImageCapture_capture, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCameraImageCapture_capture)},
    {SIP_MLNAME_CAST(sipName_captureDestination), meth_QCameraImageCapture_captureDestination, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraImageCapture_captureDestination)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QCameraImageCapture_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QCameraImageCapture_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QCameraImageCapture_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QCameraImageCapture_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_encodingSettings), meth_QCameraImageCapture_encodingSettings, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraImageCapture_encodingSettings)},
    {SIP_MLNAME_CAST(sipName_error), meth_QCameraImageCapture_error, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraImageCapture_error)},
    {SIP_MLNAME_CAST(sipName_errorString), meth_QCameraImageCapture_errorString, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraImageCapture_errorString)},
    {SIP_MLNAME_CAST(sipName_imageCodecDescription), meth_QCameraImageCapture_imageCodecDescription, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraImageCapture_imageCodecDescription)},
    {SIP_MLNAME_CAST(sipName_isAvailable), meth_QCameraImageCapture_isAvailable, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraImageCapture_isAvailable)},
    {SIP_MLNAME_CAST(sipName_isCaptureDestinationSupported), meth_QCameraImageCapture_isCaptureDestinationSupported, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraImageCapture_isCaptureDestinationSupported)},
    {SIP_MLNAME_CAST(sipName_isReadyForCapture), meth_QCameraImageCapture_isReadyForCapture, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraImageCapture_isReadyForCapture)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QCameraImageCapture_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mediaObject), meth_QCameraImageCapture_mediaObject, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraImageCapture_mediaObject)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QCameraImageCapture_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QCameraImageCapture_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QCameraImageCapture_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setBufferFormat), meth_QCameraImageCapture_setBufferFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraImageCapture_setBufferFormat)},
    {SIP_MLNAME_CAST(sipName_setCaptureDestination), meth_QCameraImageCapture_setCaptureDestination, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraImageCapture_setCaptureDestination)},
    {SIP_MLNAME_CAST(sipName_setEncodingSettings), meth_QCameraImageCapture_setEncodingSettings, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraImageCapture_setEncodingSettings)},
    {SIP_MLNAME_CAST(sipName_setMediaObject), (PyCFunction)meth_QCameraImageCapture_setMediaObject, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCameraImageCapture_setMediaObject)},
    {SIP_MLNAME_CAST(sipName_supportedBufferFormats), meth_QCameraImageCapture_supportedBufferFormats, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraImageCapture_supportedBufferFormats)},
    {SIP_MLNAME_CAST(sipName_supportedImageCodecs), meth_QCameraImageCapture_supportedImageCodecs, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraImageCapture_supportedImageCodecs)},
    {SIP_MLNAME_CAST(sipName_supportedResolutions), (PyCFunction)meth_QCameraImageCapture_supportedResolutions, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCameraImageCapture_supportedResolutions)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QCameraImageCapture_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QCameraImageCapture[] = {
    {sipName_CaptureToBuffer, static_cast<int>( ::QCameraImageCapture::CaptureToBuffer), 49},
    {sipName_CaptureToFile, static_cast<int>( ::QCameraImageCapture::CaptureToFile), 49},
    {sipName_FormatError, static_cast<int>( ::QCameraImageCapture::FormatError), 52},
    {sipName_NoError, static_cast<int>( ::QCameraImageCapture::NoError), 52},
    {sipName_NotReadyError, static_cast<int>( ::QCameraImageCapture::NotReadyError), 52},
    {sipName_NotSupportedFeatureError, static_cast<int>( ::QCameraImageCapture::NotSupportedFeatureError), 52},
    {sipName_OutOfSpaceError, static_cast<int>( ::QCameraImageCapture::OutOfSpaceError), 52},
    {sipName_ResourceError, static_cast<int>( ::QCameraImageCapture::ResourceError), 52},
    {sipName_SingleImageCapture, static_cast<int>( ::QCameraImageCapture::SingleImageCapture), 51},
};

PyDoc_STRVAR(doc_QCameraImageCapture, "\1QCameraImageCapture(QMediaObject, parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QCameraImageCapture[] = {
    {"imageSaved(int,QString)", "\1imageSaved(self, int, str)", 0, 0},
    {"imageAvailable(int,QVideoFrame)", "\1imageAvailable(self, int, QVideoFrame)", 0, 0},
    {"imageMetadataAvailable(int,QString,QVariant)", "\1imageMetadataAvailable(self, int, str, Any)", 0, 0},
    {"imageCaptured(int,QImage)", "\1imageCaptured(self, int, QImage)", 0, 0},
    {"imageExposed(int)", "\1imageExposed(self, int)", 0, 0},
    {"captureDestinationChanged(QCameraImageCapture::CaptureDestinations)", "\1captureDestinationChanged(self, Union[QCameraImageCapture.CaptureDestinations, QCameraImageCapture.CaptureDestination])", 0, 0},
    {"bufferFormatChanged(QVideoFrame::PixelFormat)", "\1bufferFormatChanged(self, QVideoFrame.PixelFormat)", 0, 0},
    {"readyForCaptureChanged(bool)", "\1readyForCaptureChanged(self, bool)", 0, 0},
    {"error(int,QCameraImageCapture::Error,QString)", "\1error(self, int, QCameraImageCapture.Error, str)", &methods_QCameraImageCapture[10], 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QCameraImageCapture = {
    & ::QCameraImageCapture::staticMetaObject,
    0,
    signals_QCameraImageCapture,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QCameraImageCapture = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QCameraImageCapture,
        {0},
        &plugin_QCameraImageCapture
    },
    {
        sipNameNr_QCameraImageCapture,
        {0, 0, 1},
        29, methods_QCameraImageCapture,
        9, enummembers_QCameraImageCapture,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QCameraImageCapture,
    -1,
    -1,
    supers_QCameraImageCapture,
    0,
    init_type_QCameraImageCapture,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QCameraImageCapture,
    0,
    0,
    0,
    release_QCameraImageCapture,
    cast_QCameraImageCapture,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediabindableinterface.sip"
#include <qmediabindableinterface.h>
#line 28251 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaobject.sip"
#include <qmediaobject.h>
#line 28255 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


class sipQMediaBindableInterface : public  ::QMediaBindableInterface
{
public:
    sipQMediaBindableInterface();
    sipQMediaBindableInterface(const  ::QMediaBindableInterface&);
    virtual ~sipQMediaBindableInterface();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    bool sipProtect_setMediaObject( ::QMediaObject*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool setMediaObject( ::QMediaObject*);
     ::QMediaObject* mediaObject() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQMediaBindableInterface(const sipQMediaBindableInterface &);
    sipQMediaBindableInterface &operator = (const sipQMediaBindableInterface &);

    char sipPyMethods[2];
};

sipQMediaBindableInterface::sipQMediaBindableInterface():  ::QMediaBindableInterface(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQMediaBindableInterface::sipQMediaBindableInterface(const  ::QMediaBindableInterface& a0):  ::QMediaBindableInterface(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQMediaBindableInterface::~sipQMediaBindableInterface()
{
    sipInstanceDestroyed(sipPySelf);
}

bool sipQMediaBindableInterface::setMediaObject( ::QMediaObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_QMediaBindableInterface,sipName_setMediaObject);

    if (!sipMeth)
        return 0;

    extern bool sipVH_QtMultimedia_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMediaObject*);

    return sipVH_QtMultimedia_22(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QMediaObject* sipQMediaBindableInterface::mediaObject() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,sipName_QMediaBindableInterface,sipName_mediaObject);

    if (!sipMeth)
        return 0;

    extern  ::QMediaObject* sipVH_QtMultimedia_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtMultimedia_21(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQMediaBindableInterface::sipProtect_setMediaObject( ::QMediaObject*a0)
{
    return setMediaObject(a0);
}


PyDoc_STRVAR(doc_QMediaBindableInterface_mediaObject, "mediaObject(self) -> QMediaObject");

extern "C" {static PyObject *meth_QMediaBindableInterface_mediaObject(PyObject *, PyObject *);}
static PyObject *meth_QMediaBindableInterface_mediaObject(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const  ::QMediaBindableInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaBindableInterface, &sipCpp))
        {
             ::QMediaObject*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QMediaBindableInterface, sipName_mediaObject);
                return NULL;
            }

            sipRes = sipCpp->mediaObject();

            return sipConvertFromType(sipRes,sipType_QMediaObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaBindableInterface, sipName_mediaObject, doc_QMediaBindableInterface_mediaObject);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaBindableInterface_setMediaObject, "setMediaObject(self, QMediaObject) -> bool");

extern "C" {static PyObject *meth_QMediaBindableInterface_setMediaObject(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaBindableInterface_setMediaObject(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::QMediaObject* a0;
        sipQMediaBindableInterface *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMediaBindableInterface, &sipCpp, sipType_QMediaObject, &a0))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QMediaBindableInterface, sipName_setMediaObject);
                return NULL;
            }

            sipRes = sipCpp->sipProtect_setMediaObject(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaBindableInterface, sipName_setMediaObject, doc_QMediaBindableInterface_setMediaObject);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QMediaBindableInterface(void *, int);}
static void release_QMediaBindableInterface(void *sipCppV, int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQMediaBindableInterface *>(sipCppV);
    else
        delete reinterpret_cast< ::QMediaBindableInterface *>(sipCppV);
}


extern "C" {static void dealloc_QMediaBindableInterface(sipSimpleWrapper *);}
static void dealloc_QMediaBindableInterface(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQMediaBindableInterface *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QMediaBindableInterface(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QMediaBindableInterface(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMediaBindableInterface(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQMediaBindableInterface *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new sipQMediaBindableInterface();

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QMediaBindableInterface* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QMediaBindableInterface, &a0))
        {
            sipCpp = new sipQMediaBindableInterface(*a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QMediaBindableInterface[] = {
    {SIP_MLNAME_CAST(sipName_mediaObject), meth_QMediaBindableInterface_mediaObject, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaBindableInterface_mediaObject)},
    {SIP_MLNAME_CAST(sipName_setMediaObject), (PyCFunction)meth_QMediaBindableInterface_setMediaObject, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMediaBindableInterface_setMediaObject)}
};

PyDoc_STRVAR(doc_QMediaBindableInterface, "\1QMediaBindableInterface()\n"
    "QMediaBindableInterface(QMediaBindableInterface)");


static pyqt5ClassPluginDef plugin_QMediaBindableInterface = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QMediaBindableInterface = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMediaBindableInterface,
        {0},
        &plugin_QMediaBindableInterface
    },
    {
        sipNameNr_QMediaBindableInterface,
        {0, 0, 1},
        2, methods_QMediaBindableInterface,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMediaBindableInterface,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QMediaBindableInterface,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMediaBindableInterface,
    0,
    0,
    0,
    release_QMediaBindableInterface,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 52 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcamerafocus.sip"
#include <qcamerafocus.h>
#line 28537 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 52 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcamerafocus.sip"
#include <qcamerafocus.h>
#line 28541 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


extern "C" {static long slot_QCameraFocus_FocusModes___hash__(PyObject *);}
static long slot_QCameraFocus_FocusModes___hash__(PyObject *sipSelf)
{
     ::QCameraFocus::FocusModes *sipCpp = reinterpret_cast< ::QCameraFocus::FocusModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCameraFocus_FocusModes));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QCameraFocus::FocusModes::Int();
#line 28559 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QCameraFocus_FocusModes___bool__(PyObject *);}
static int slot_QCameraFocus_FocusModes___bool__(PyObject *sipSelf)
{
     ::QCameraFocus::FocusModes *sipCpp = reinterpret_cast< ::QCameraFocus::FocusModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCameraFocus_FocusModes));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QCameraFocus::FocusModes::Int() != 0);
#line 28584 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QCameraFocus_FocusModes___ne__(PyObject *,PyObject *);}
static PyObject *slot_QCameraFocus_FocusModes___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QCameraFocus::FocusModes *sipCpp = reinterpret_cast< ::QCameraFocus::FocusModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCameraFocus_FocusModes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraFocus::FocusModes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QCameraFocus_FocusModes, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QCameraFocus::FocusModes::Int() != a0->operator QCameraFocus::FocusModes::Int());
#line 28614 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
            sipReleaseType(const_cast< ::QCameraFocus::FocusModes *>(a0),sipType_QCameraFocus_FocusModes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, ne_slot, sipType_QCameraFocus_FocusModes, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QCameraFocus_FocusModes___eq__(PyObject *,PyObject *);}
static PyObject *slot_QCameraFocus_FocusModes___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QCameraFocus::FocusModes *sipCpp = reinterpret_cast< ::QCameraFocus::FocusModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCameraFocus_FocusModes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraFocus::FocusModes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QCameraFocus_FocusModes, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QCameraFocus::FocusModes::Int() == a0->operator QCameraFocus::FocusModes::Int());
#line 28650 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
            sipReleaseType(const_cast< ::QCameraFocus::FocusModes *>(a0),sipType_QCameraFocus_FocusModes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, eq_slot, sipType_QCameraFocus_FocusModes, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QCameraFocus_FocusModes___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QCameraFocus_FocusModes___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QCameraFocus_FocusModes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QCameraFocus::FocusModes *sipCpp = reinterpret_cast< ::QCameraFocus::FocusModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCameraFocus_FocusModes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QCameraFocus::FocusModes(*sipCpp ^ a0);
#line 28689 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QCameraFocus_FocusModes___xor__(PyObject *,PyObject *);}
static PyObject *slot_QCameraFocus_FocusModes___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCameraFocus::FocusModes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QCameraFocus_FocusModes, &a0, &a0State, &a1))
        {
             ::QCameraFocus::FocusModes*sipRes;

            sipRes = new  ::QCameraFocus::FocusModes((*a0 ^ a1));
            sipReleaseType(a0,sipType_QCameraFocus_FocusModes,a0State);

            return sipConvertFromNewType(sipRes,sipType_QCameraFocus_FocusModes,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QCameraFocus_FocusModes___ior__(PyObject *,PyObject *);}
static PyObject *slot_QCameraFocus_FocusModes___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QCameraFocus_FocusModes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QCameraFocus::FocusModes *sipCpp = reinterpret_cast< ::QCameraFocus::FocusModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCameraFocus_FocusModes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QCameraFocus::FocusModes(*sipCpp | a0);
#line 28761 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QCameraFocus_FocusModes___or__(PyObject *,PyObject *);}
static PyObject *slot_QCameraFocus_FocusModes___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCameraFocus::FocusModes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QCameraFocus_FocusModes, &a0, &a0State, &a1))
        {
             ::QCameraFocus::FocusModes*sipRes;

            sipRes = new  ::QCameraFocus::FocusModes((*a0 | a1));
            sipReleaseType(a0,sipType_QCameraFocus_FocusModes,a0State);

            return sipConvertFromNewType(sipRes,sipType_QCameraFocus_FocusModes,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QCameraFocus_FocusModes___iand__(PyObject *,PyObject *);}
static PyObject *slot_QCameraFocus_FocusModes___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QCameraFocus_FocusModes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QCameraFocus::FocusModes *sipCpp = reinterpret_cast< ::QCameraFocus::FocusModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCameraFocus_FocusModes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QCameraFocus::FocusModes::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QCameraFocus_FocusModes___and__(PyObject *,PyObject *);}
static PyObject *slot_QCameraFocus_FocusModes___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCameraFocus::FocusModes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QCameraFocus_FocusModes, &a0, &a0State, &a1))
        {
             ::QCameraFocus::FocusModes*sipRes;

            sipRes = new  ::QCameraFocus::FocusModes((*a0 & a1));
            sipReleaseType(a0,sipType_QCameraFocus_FocusModes,a0State);

            return sipConvertFromNewType(sipRes,sipType_QCameraFocus_FocusModes,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QCameraFocus_FocusModes___invert__(PyObject *);}
static PyObject *slot_QCameraFocus_FocusModes___invert__(PyObject *sipSelf)
{
     ::QCameraFocus::FocusModes *sipCpp = reinterpret_cast< ::QCameraFocus::FocusModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCameraFocus_FocusModes));

    if (!sipCpp)
        return 0;


    {
        {
             ::QCameraFocus::FocusModes*sipRes;

            sipRes = new  ::QCameraFocus::FocusModes(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QCameraFocus_FocusModes,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QCameraFocus_FocusModes___int__(PyObject *);}
static PyObject *slot_QCameraFocus_FocusModes___int__(PyObject *sipSelf)
{
     ::QCameraFocus::FocusModes *sipCpp = reinterpret_cast< ::QCameraFocus::FocusModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCameraFocus_FocusModes));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QCameraFocus_FocusModes(void *, int);}
static void release_QCameraFocus_FocusModes(void *sipCppV, int)
{
    delete reinterpret_cast< ::QCameraFocus::FocusModes *>(sipCppV);
}


extern "C" {static void assign_QCameraFocus_FocusModes(void *, SIP_SSIZE_T, const void *);}
static void assign_QCameraFocus_FocusModes(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QCameraFocus::FocusModes *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QCameraFocus::FocusModes *>(sipSrc);
}


extern "C" {static void *array_QCameraFocus_FocusModes(SIP_SSIZE_T);}
static void *array_QCameraFocus_FocusModes(SIP_SSIZE_T sipNrElem)
{
    return new  ::QCameraFocus::FocusModes[sipNrElem];
}


extern "C" {static void *copy_QCameraFocus_FocusModes(const void *, SIP_SSIZE_T);}
static void *copy_QCameraFocus_FocusModes(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QCameraFocus::FocusModes(reinterpret_cast<const  ::QCameraFocus::FocusModes *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QCameraFocus_FocusModes(sipSimpleWrapper *);}
static void dealloc_QCameraFocus_FocusModes(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QCameraFocus_FocusModes(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QCameraFocus_FocusModes(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QCameraFocus_FocusModes(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QCameraFocus::FocusModes *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QCameraFocus::FocusModes();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QCameraFocus::FocusModes(a0);

            return sipCpp;
        }
    }

    {
        const  ::QCameraFocus::FocusModes* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QCameraFocus_FocusModes, &a0, &a0State))
        {
            sipCpp = new  ::QCameraFocus::FocusModes(*a0);
            sipReleaseType(const_cast< ::QCameraFocus::FocusModes *>(a0),sipType_QCameraFocus_FocusModes,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QCameraFocus_FocusModes(PyObject *, void **, int *, PyObject *);}
static int convertTo_QCameraFocus_FocusModes(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QCameraFocus::FocusModes **sipCppPtr = reinterpret_cast< ::QCameraFocus::FocusModes **>(sipCppPtrV);

#line 121 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QCameraFocus::FocusModes is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QCameraFocus_FocusMode)) ||
            sipCanConvertToType(sipPy, sipType_QCameraFocus_FocusModes, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QCameraFocus_FocusMode)))
{
    *sipCppPtr = new QCameraFocus::FocusModes(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QCameraFocus::FocusModes *>(sipConvertToType(sipPy, sipType_QCameraFocus_FocusModes, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 29029 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QCameraFocus_FocusModes[] = {
    {(void *)slot_QCameraFocus_FocusModes___hash__, hash_slot},
    {(void *)slot_QCameraFocus_FocusModes___bool__, bool_slot},
    {(void *)slot_QCameraFocus_FocusModes___ne__, ne_slot},
    {(void *)slot_QCameraFocus_FocusModes___eq__, eq_slot},
    {(void *)slot_QCameraFocus_FocusModes___ixor__, ixor_slot},
    {(void *)slot_QCameraFocus_FocusModes___xor__, xor_slot},
    {(void *)slot_QCameraFocus_FocusModes___ior__, ior_slot},
    {(void *)slot_QCameraFocus_FocusModes___or__, or_slot},
    {(void *)slot_QCameraFocus_FocusModes___iand__, iand_slot},
    {(void *)slot_QCameraFocus_FocusModes___and__, and_slot},
    {(void *)slot_QCameraFocus_FocusModes___invert__, invert_slot},
    {(void *)slot_QCameraFocus_FocusModes___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QCameraFocus_FocusModes, "\1QCameraFocus.FocusModes()\n"
    "QCameraFocus.FocusModes(Union[QCameraFocus.FocusModes, QCameraFocus.FocusMode])\n"
    "QCameraFocus.FocusModes(QCameraFocus.FocusModes)");


static pyqt5ClassPluginDef plugin_QCameraFocus_FocusModes = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QCameraFocus_FocusModes = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QCameraFocus__FocusModes,
        {0},
        &plugin_QCameraFocus_FocusModes
    },
    {
        sipNameNr_FocusModes,
        {42, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QCameraFocus_FocusModes,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QCameraFocus_FocusModes,
    init_type_QCameraFocus_FocusModes,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QCameraFocus_FocusModes,
    assign_QCameraFocus_FocusModes,
    array_QCameraFocus_FocusModes,
    copy_QCameraFocus_FocusModes,
    release_QCameraFocus_FocusModes,
    0,
    convertTo_QCameraFocus_FocusModes,
    0,
    0,
    0,
    0,
    0
};

#line 52 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcamerafocus.sip"
#include <qcamerafocus.h>
#line 29115 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcamera.sip"
#include <qcamera.h>
#line 29119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 29122 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcamerafocus.sip"
#include <qcamerafocus.h>
#line 29125 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 29128 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 52 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcamerafocus.sip"
#include <qcamerafocus.h>
#line 29131 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 29134 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 29137 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 29140 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 29143 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 29146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 29149 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 29152 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 29155 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 29158 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 29161 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 29164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 29167 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 29170 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 29173 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 29176 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 29179 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


PyDoc_STRVAR(doc_QCameraFocus_isAvailable, "isAvailable(self) -> bool");

extern "C" {static PyObject *meth_QCameraFocus_isAvailable(PyObject *, PyObject *);}
static PyObject *meth_QCameraFocus_isAvailable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraFocus *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraFocus, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isAvailable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraFocus, sipName_isAvailable, doc_QCameraFocus_isAvailable);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraFocus_focusMode, "focusMode(self) -> QCameraFocus.FocusModes");

extern "C" {static PyObject *meth_QCameraFocus_focusMode(PyObject *, PyObject *);}
static PyObject *meth_QCameraFocus_focusMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraFocus *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraFocus, &sipCpp))
        {
             ::QCameraFocus::FocusModes*sipRes;

            sipRes = new  ::QCameraFocus::FocusModes(sipCpp->focusMode());

            return sipConvertFromNewType(sipRes,sipType_QCameraFocus_FocusModes,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraFocus, sipName_focusMode, doc_QCameraFocus_focusMode);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraFocus_setFocusMode, "setFocusMode(self, QCameraFocus.FocusModes)");

extern "C" {static PyObject *meth_QCameraFocus_setFocusMode(PyObject *, PyObject *);}
static PyObject *meth_QCameraFocus_setFocusMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCameraFocus::FocusModes* a0;
        int a0State = 0;
         ::QCameraFocus *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCameraFocus, &sipCpp, sipType_QCameraFocus_FocusModes, &a0, &a0State))
        {
            sipCpp->setFocusMode(*a0);
            sipReleaseType(a0,sipType_QCameraFocus_FocusModes,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraFocus, sipName_setFocusMode, doc_QCameraFocus_setFocusMode);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraFocus_isFocusModeSupported, "isFocusModeSupported(self, QCameraFocus.FocusModes) -> bool");

extern "C" {static PyObject *meth_QCameraFocus_isFocusModeSupported(PyObject *, PyObject *);}
static PyObject *meth_QCameraFocus_isFocusModeSupported(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCameraFocus::FocusModes* a0;
        int a0State = 0;
        const  ::QCameraFocus *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCameraFocus, &sipCpp, sipType_QCameraFocus_FocusModes, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->isFocusModeSupported(*a0);
            sipReleaseType(a0,sipType_QCameraFocus_FocusModes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraFocus, sipName_isFocusModeSupported, doc_QCameraFocus_isFocusModeSupported);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraFocus_focusPointMode, "focusPointMode(self) -> QCameraFocus.FocusPointMode");

extern "C" {static PyObject *meth_QCameraFocus_focusPointMode(PyObject *, PyObject *);}
static PyObject *meth_QCameraFocus_focusPointMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraFocus *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraFocus, &sipCpp))
        {
             ::QCameraFocus::FocusPointMode sipRes;

            sipRes = sipCpp->focusPointMode();

            return sipConvertFromEnum(sipRes,sipType_QCameraFocus_FocusPointMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraFocus, sipName_focusPointMode, doc_QCameraFocus_focusPointMode);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraFocus_setFocusPointMode, "setFocusPointMode(self, QCameraFocus.FocusPointMode)");

extern "C" {static PyObject *meth_QCameraFocus_setFocusPointMode(PyObject *, PyObject *);}
static PyObject *meth_QCameraFocus_setFocusPointMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCameraFocus::FocusPointMode a0;
         ::QCameraFocus *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QCameraFocus, &sipCpp, sipType_QCameraFocus_FocusPointMode, &a0))
        {
            sipCpp->setFocusPointMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraFocus, sipName_setFocusPointMode, doc_QCameraFocus_setFocusPointMode);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraFocus_isFocusPointModeSupported, "isFocusPointModeSupported(self, QCameraFocus.FocusPointMode) -> bool");

extern "C" {static PyObject *meth_QCameraFocus_isFocusPointModeSupported(PyObject *, PyObject *);}
static PyObject *meth_QCameraFocus_isFocusPointModeSupported(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCameraFocus::FocusPointMode a0;
        const  ::QCameraFocus *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QCameraFocus, &sipCpp, sipType_QCameraFocus_FocusPointMode, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isFocusPointModeSupported(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraFocus, sipName_isFocusPointModeSupported, doc_QCameraFocus_isFocusPointModeSupported);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraFocus_customFocusPoint, "customFocusPoint(self) -> QPointF");

extern "C" {static PyObject *meth_QCameraFocus_customFocusPoint(PyObject *, PyObject *);}
static PyObject *meth_QCameraFocus_customFocusPoint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraFocus *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraFocus, &sipCpp))
        {
             ::QPointF*sipRes;

            sipRes = new  ::QPointF(sipCpp->customFocusPoint());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraFocus, sipName_customFocusPoint, doc_QCameraFocus_customFocusPoint);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraFocus_setCustomFocusPoint, "setCustomFocusPoint(self, Union[QPointF, QPoint])");

extern "C" {static PyObject *meth_QCameraFocus_setCustomFocusPoint(PyObject *, PyObject *);}
static PyObject *meth_QCameraFocus_setCustomFocusPoint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPointF* a0;
        int a0State = 0;
         ::QCameraFocus *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCameraFocus, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            sipCpp->setCustomFocusPoint(*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_QCameraFocus, sipName_setCustomFocusPoint, doc_QCameraFocus_setCustomFocusPoint);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraFocus_focusZones, "focusZones(self) -> object");

extern "C" {static PyObject *meth_QCameraFocus_focusZones(PyObject *, PyObject *);}
static PyObject *meth_QCameraFocus_focusZones(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraFocus *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraFocus, &sipCpp))
        {
             ::QCameraFocusZoneList*sipRes;

            sipRes = new  ::QCameraFocusZoneList(sipCpp->focusZones());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QCameraFocusZone,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraFocus, sipName_focusZones, doc_QCameraFocus_focusZones);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraFocus_maximumOpticalZoom, "maximumOpticalZoom(self) -> float");

extern "C" {static PyObject *meth_QCameraFocus_maximumOpticalZoom(PyObject *, PyObject *);}
static PyObject *meth_QCameraFocus_maximumOpticalZoom(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraFocus *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraFocus, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->maximumOpticalZoom();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraFocus, sipName_maximumOpticalZoom, doc_QCameraFocus_maximumOpticalZoom);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraFocus_maximumDigitalZoom, "maximumDigitalZoom(self) -> float");

extern "C" {static PyObject *meth_QCameraFocus_maximumDigitalZoom(PyObject *, PyObject *);}
static PyObject *meth_QCameraFocus_maximumDigitalZoom(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraFocus *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraFocus, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->maximumDigitalZoom();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraFocus, sipName_maximumDigitalZoom, doc_QCameraFocus_maximumDigitalZoom);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraFocus_opticalZoom, "opticalZoom(self) -> float");

extern "C" {static PyObject *meth_QCameraFocus_opticalZoom(PyObject *, PyObject *);}
static PyObject *meth_QCameraFocus_opticalZoom(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraFocus *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraFocus, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->opticalZoom();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraFocus, sipName_opticalZoom, doc_QCameraFocus_opticalZoom);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraFocus_digitalZoom, "digitalZoom(self) -> float");

extern "C" {static PyObject *meth_QCameraFocus_digitalZoom(PyObject *, PyObject *);}
static PyObject *meth_QCameraFocus_digitalZoom(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraFocus *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraFocus, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->digitalZoom();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraFocus, sipName_digitalZoom, doc_QCameraFocus_digitalZoom);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraFocus_zoomTo, "zoomTo(self, float, float)");

extern "C" {static PyObject *meth_QCameraFocus_zoomTo(PyObject *, PyObject *);}
static PyObject *meth_QCameraFocus_zoomTo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::qreal a1;
         ::QCameraFocus *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdd", &sipSelf, sipType_QCameraFocus, &sipCpp, &a0, &a1))
        {
            sipCpp->zoomTo(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraFocus, sipName_zoomTo, doc_QCameraFocus_zoomTo);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QCameraFocus(void *, const sipTypeDef *);}
static void *cast_QCameraFocus(void *sipCppV, const sipTypeDef *targetType)
{
     ::QCameraFocus *sipCpp = reinterpret_cast< ::QCameraFocus *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QCameraFocus(void *, int);}
static void release_QCameraFocus(void *, int)
{
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QCameraFocus[] = {{9, 0, 1}};


static PyMethodDef methods_QCameraFocus[] = {
    {SIP_MLNAME_CAST(sipName_customFocusPoint), meth_QCameraFocus_customFocusPoint, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraFocus_customFocusPoint)},
    {SIP_MLNAME_CAST(sipName_digitalZoom), meth_QCameraFocus_digitalZoom, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraFocus_digitalZoom)},
    {SIP_MLNAME_CAST(sipName_focusMode), meth_QCameraFocus_focusMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraFocus_focusMode)},
    {SIP_MLNAME_CAST(sipName_focusPointMode), meth_QCameraFocus_focusPointMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraFocus_focusPointMode)},
    {SIP_MLNAME_CAST(sipName_focusZones), meth_QCameraFocus_focusZones, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraFocus_focusZones)},
    {SIP_MLNAME_CAST(sipName_isAvailable), meth_QCameraFocus_isAvailable, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraFocus_isAvailable)},
    {SIP_MLNAME_CAST(sipName_isFocusModeSupported), meth_QCameraFocus_isFocusModeSupported, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraFocus_isFocusModeSupported)},
    {SIP_MLNAME_CAST(sipName_isFocusPointModeSupported), meth_QCameraFocus_isFocusPointModeSupported, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraFocus_isFocusPointModeSupported)},
    {SIP_MLNAME_CAST(sipName_maximumDigitalZoom), meth_QCameraFocus_maximumDigitalZoom, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraFocus_maximumDigitalZoom)},
    {SIP_MLNAME_CAST(sipName_maximumOpticalZoom), meth_QCameraFocus_maximumOpticalZoom, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraFocus_maximumOpticalZoom)},
    {SIP_MLNAME_CAST(sipName_opticalZoom), meth_QCameraFocus_opticalZoom, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraFocus_opticalZoom)},
    {SIP_MLNAME_CAST(sipName_setCustomFocusPoint), meth_QCameraFocus_setCustomFocusPoint, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraFocus_setCustomFocusPoint)},
    {SIP_MLNAME_CAST(sipName_setFocusMode), meth_QCameraFocus_setFocusMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraFocus_setFocusMode)},
    {SIP_MLNAME_CAST(sipName_setFocusPointMode), meth_QCameraFocus_setFocusPointMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraFocus_setFocusPointMode)},
    {SIP_MLNAME_CAST(sipName_zoomTo), meth_QCameraFocus_zoomTo, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraFocus_zoomTo)}
};

static sipEnumMemberDef enummembers_QCameraFocus[] = {
    {sipName_AutoFocus, static_cast<int>( ::QCameraFocus::AutoFocus), 43},
    {sipName_ContinuousFocus, static_cast<int>( ::QCameraFocus::ContinuousFocus), 43},
    {sipName_FocusPointAuto, static_cast<int>( ::QCameraFocus::FocusPointAuto), 45},
    {sipName_FocusPointCenter, static_cast<int>( ::QCameraFocus::FocusPointCenter), 45},
    {sipName_FocusPointCustom, static_cast<int>( ::QCameraFocus::FocusPointCustom), 45},
    {sipName_FocusPointFaceDetection, static_cast<int>( ::QCameraFocus::FocusPointFaceDetection), 45},
    {sipName_HyperfocalFocus, static_cast<int>( ::QCameraFocus::HyperfocalFocus), 43},
    {sipName_InfinityFocus, static_cast<int>( ::QCameraFocus::InfinityFocus), 43},
    {sipName_MacroFocus, static_cast<int>( ::QCameraFocus::MacroFocus), 43},
    {sipName_ManualFocus, static_cast<int>( ::QCameraFocus::ManualFocus), 43},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QCameraFocus[] = {
    {"maximumDigitalZoomChanged(qreal)", "\1maximumDigitalZoomChanged(self, float)", 0, 0},
    {"maximumOpticalZoomChanged(qreal)", "\1maximumOpticalZoomChanged(self, float)", 0, 0},
    {"focusZonesChanged()", "\1focusZonesChanged(self)", 0, 0},
    {"digitalZoomChanged(qreal)", "\1digitalZoomChanged(self, float)", 0, 0},
    {"opticalZoomChanged(qreal)", "\1opticalZoomChanged(self, float)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QCameraFocus = {
    & ::QCameraFocus::staticMetaObject,
    0,
    signals_QCameraFocus,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QCameraFocus = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QCameraFocus,
        {0},
        &plugin_QCameraFocus
    },
    {
        sipNameNr_QCameraFocus,
        {0, 0, 1},
        15, methods_QCameraFocus,
        10, enummembers_QCameraFocus,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_QCameraFocus,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    release_QCameraFocus,
    cast_QCameraFocus,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcamerafocus.sip"
#include <qcamerafocus.h>
#line 29737 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 164 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 29741 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


PyDoc_STRVAR(doc_QCameraFocusZone_isValid, "isValid(self) -> bool");

extern "C" {static PyObject *meth_QCameraFocusZone_isValid(PyObject *, PyObject *);}
static PyObject *meth_QCameraFocusZone_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraFocusZone *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraFocusZone, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isValid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraFocusZone, sipName_isValid, doc_QCameraFocusZone_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraFocusZone_area, "area(self) -> QRectF");

extern "C" {static PyObject *meth_QCameraFocusZone_area(PyObject *, PyObject *);}
static PyObject *meth_QCameraFocusZone_area(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraFocusZone *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraFocusZone, &sipCpp))
        {
             ::QRectF*sipRes;

            sipRes = new  ::QRectF(sipCpp->area());

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraFocusZone, sipName_area, doc_QCameraFocusZone_area);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraFocusZone_status, "status(self) -> QCameraFocusZone.FocusZoneStatus");

extern "C" {static PyObject *meth_QCameraFocusZone_status(PyObject *, PyObject *);}
static PyObject *meth_QCameraFocusZone_status(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraFocusZone *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraFocusZone, &sipCpp))
        {
             ::QCameraFocusZone::FocusZoneStatus sipRes;

            sipRes = sipCpp->status();

            return sipConvertFromEnum(sipRes,sipType_QCameraFocusZone_FocusZoneStatus);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraFocusZone, sipName_status, doc_QCameraFocusZone_status);

    return NULL;
}


extern "C" {static PyObject *slot_QCameraFocusZone___ne__(PyObject *,PyObject *);}
static PyObject *slot_QCameraFocusZone___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QCameraFocusZone *sipCpp = reinterpret_cast< ::QCameraFocusZone *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCameraFocusZone));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraFocusZone* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QCameraFocusZone, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QCameraFocusZone::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, ne_slot, sipType_QCameraFocusZone, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QCameraFocusZone___eq__(PyObject *,PyObject *);}
static PyObject *slot_QCameraFocusZone___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QCameraFocusZone *sipCpp = reinterpret_cast< ::QCameraFocusZone *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCameraFocusZone));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraFocusZone* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QCameraFocusZone, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QCameraFocusZone::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, eq_slot, sipType_QCameraFocusZone, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QCameraFocusZone(void *, int);}
static void release_QCameraFocusZone(void *sipCppV, int)
{
    delete reinterpret_cast< ::QCameraFocusZone *>(sipCppV);
}


extern "C" {static void dealloc_QCameraFocusZone(sipSimpleWrapper *);}
static void dealloc_QCameraFocusZone(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QCameraFocusZone(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QCameraFocusZone(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QCameraFocusZone(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QCameraFocusZone *sipCpp = 0;

    {
        const  ::QCameraFocusZone* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QCameraFocusZone, &a0))
        {
            sipCpp = new  ::QCameraFocusZone(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QCameraFocusZone[] = {
    {(void *)slot_QCameraFocusZone___ne__, ne_slot},
    {(void *)slot_QCameraFocusZone___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QCameraFocusZone[] = {
    {SIP_MLNAME_CAST(sipName_area), meth_QCameraFocusZone_area, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraFocusZone_area)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QCameraFocusZone_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraFocusZone_isValid)},
    {SIP_MLNAME_CAST(sipName_status), meth_QCameraFocusZone_status, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraFocusZone_status)}
};

static sipEnumMemberDef enummembers_QCameraFocusZone[] = {
    {sipName_Focused, static_cast<int>( ::QCameraFocusZone::Focused), 47},
    {sipName_Invalid, static_cast<int>( ::QCameraFocusZone::Invalid), 47},
    {sipName_Selected, static_cast<int>( ::QCameraFocusZone::Selected), 47},
    {sipName_Unused, static_cast<int>( ::QCameraFocusZone::Unused), 47},
};

PyDoc_STRVAR(doc_QCameraFocusZone, "\1QCameraFocusZone(QCameraFocusZone)");


static pyqt5ClassPluginDef plugin_QCameraFocusZone = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QCameraFocusZone = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QCameraFocusZone,
        {0},
        &plugin_QCameraFocusZone
    },
    {
        sipNameNr_QCameraFocusZone,
        {0, 0, 1},
        3, methods_QCameraFocusZone,
        4, enummembers_QCameraFocusZone,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QCameraFocusZone,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QCameraFocusZone,
    init_type_QCameraFocusZone,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QCameraFocusZone,
    0,
    0,
    0,
    release_QCameraFocusZone,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcameraexposure.sip"
#include <qcameraexposure.h>
#line 30014 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcameraexposure.sip"
#include <qcameraexposure.h>
#line 30018 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


extern "C" {static long slot_QCameraExposure_FlashModes___hash__(PyObject *);}
static long slot_QCameraExposure_FlashModes___hash__(PyObject *sipSelf)
{
     ::QCameraExposure::FlashModes *sipCpp = reinterpret_cast< ::QCameraExposure::FlashModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCameraExposure_FlashModes));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QCameraExposure::FlashModes::Int();
#line 30036 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QCameraExposure_FlashModes___bool__(PyObject *);}
static int slot_QCameraExposure_FlashModes___bool__(PyObject *sipSelf)
{
     ::QCameraExposure::FlashModes *sipCpp = reinterpret_cast< ::QCameraExposure::FlashModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCameraExposure_FlashModes));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QCameraExposure::FlashModes::Int() != 0);
#line 30061 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QCameraExposure_FlashModes___ne__(PyObject *,PyObject *);}
static PyObject *slot_QCameraExposure_FlashModes___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QCameraExposure::FlashModes *sipCpp = reinterpret_cast< ::QCameraExposure::FlashModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCameraExposure_FlashModes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraExposure::FlashModes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QCameraExposure_FlashModes, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QCameraExposure::FlashModes::Int() != a0->operator QCameraExposure::FlashModes::Int());
#line 30091 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
            sipReleaseType(const_cast< ::QCameraExposure::FlashModes *>(a0),sipType_QCameraExposure_FlashModes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, ne_slot, sipType_QCameraExposure_FlashModes, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QCameraExposure_FlashModes___eq__(PyObject *,PyObject *);}
static PyObject *slot_QCameraExposure_FlashModes___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QCameraExposure::FlashModes *sipCpp = reinterpret_cast< ::QCameraExposure::FlashModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCameraExposure_FlashModes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraExposure::FlashModes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QCameraExposure_FlashModes, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QCameraExposure::FlashModes::Int() == a0->operator QCameraExposure::FlashModes::Int());
#line 30127 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
            sipReleaseType(const_cast< ::QCameraExposure::FlashModes *>(a0),sipType_QCameraExposure_FlashModes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, eq_slot, sipType_QCameraExposure_FlashModes, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QCameraExposure_FlashModes___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QCameraExposure_FlashModes___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QCameraExposure_FlashModes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QCameraExposure::FlashModes *sipCpp = reinterpret_cast< ::QCameraExposure::FlashModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCameraExposure_FlashModes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QCameraExposure::FlashModes(*sipCpp ^ a0);
#line 30166 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QCameraExposure_FlashModes___xor__(PyObject *,PyObject *);}
static PyObject *slot_QCameraExposure_FlashModes___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCameraExposure::FlashModes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QCameraExposure_FlashModes, &a0, &a0State, &a1))
        {
             ::QCameraExposure::FlashModes*sipRes;

            sipRes = new  ::QCameraExposure::FlashModes((*a0 ^ a1));
            sipReleaseType(a0,sipType_QCameraExposure_FlashModes,a0State);

            return sipConvertFromNewType(sipRes,sipType_QCameraExposure_FlashModes,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QCameraExposure_FlashModes___ior__(PyObject *,PyObject *);}
static PyObject *slot_QCameraExposure_FlashModes___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QCameraExposure_FlashModes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QCameraExposure::FlashModes *sipCpp = reinterpret_cast< ::QCameraExposure::FlashModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCameraExposure_FlashModes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QCameraExposure::FlashModes(*sipCpp | a0);
#line 30238 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QCameraExposure_FlashModes___or__(PyObject *,PyObject *);}
static PyObject *slot_QCameraExposure_FlashModes___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCameraExposure::FlashModes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QCameraExposure_FlashModes, &a0, &a0State, &a1))
        {
             ::QCameraExposure::FlashModes*sipRes;

            sipRes = new  ::QCameraExposure::FlashModes((*a0 | a1));
            sipReleaseType(a0,sipType_QCameraExposure_FlashModes,a0State);

            return sipConvertFromNewType(sipRes,sipType_QCameraExposure_FlashModes,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QCameraExposure_FlashModes___iand__(PyObject *,PyObject *);}
static PyObject *slot_QCameraExposure_FlashModes___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QCameraExposure_FlashModes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QCameraExposure::FlashModes *sipCpp = reinterpret_cast< ::QCameraExposure::FlashModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCameraExposure_FlashModes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QCameraExposure::FlashModes::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QCameraExposure_FlashModes___and__(PyObject *,PyObject *);}
static PyObject *slot_QCameraExposure_FlashModes___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCameraExposure::FlashModes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QCameraExposure_FlashModes, &a0, &a0State, &a1))
        {
             ::QCameraExposure::FlashModes*sipRes;

            sipRes = new  ::QCameraExposure::FlashModes((*a0 & a1));
            sipReleaseType(a0,sipType_QCameraExposure_FlashModes,a0State);

            return sipConvertFromNewType(sipRes,sipType_QCameraExposure_FlashModes,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QCameraExposure_FlashModes___invert__(PyObject *);}
static PyObject *slot_QCameraExposure_FlashModes___invert__(PyObject *sipSelf)
{
     ::QCameraExposure::FlashModes *sipCpp = reinterpret_cast< ::QCameraExposure::FlashModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCameraExposure_FlashModes));

    if (!sipCpp)
        return 0;


    {
        {
             ::QCameraExposure::FlashModes*sipRes;

            sipRes = new  ::QCameraExposure::FlashModes(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QCameraExposure_FlashModes,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QCameraExposure_FlashModes___int__(PyObject *);}
static PyObject *slot_QCameraExposure_FlashModes___int__(PyObject *sipSelf)
{
     ::QCameraExposure::FlashModes *sipCpp = reinterpret_cast< ::QCameraExposure::FlashModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCameraExposure_FlashModes));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QCameraExposure_FlashModes(void *, int);}
static void release_QCameraExposure_FlashModes(void *sipCppV, int)
{
    delete reinterpret_cast< ::QCameraExposure::FlashModes *>(sipCppV);
}


extern "C" {static void assign_QCameraExposure_FlashModes(void *, SIP_SSIZE_T, const void *);}
static void assign_QCameraExposure_FlashModes(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QCameraExposure::FlashModes *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QCameraExposure::FlashModes *>(sipSrc);
}


extern "C" {static void *array_QCameraExposure_FlashModes(SIP_SSIZE_T);}
static void *array_QCameraExposure_FlashModes(SIP_SSIZE_T sipNrElem)
{
    return new  ::QCameraExposure::FlashModes[sipNrElem];
}


extern "C" {static void *copy_QCameraExposure_FlashModes(const void *, SIP_SSIZE_T);}
static void *copy_QCameraExposure_FlashModes(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QCameraExposure::FlashModes(reinterpret_cast<const  ::QCameraExposure::FlashModes *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QCameraExposure_FlashModes(sipSimpleWrapper *);}
static void dealloc_QCameraExposure_FlashModes(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QCameraExposure_FlashModes(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QCameraExposure_FlashModes(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QCameraExposure_FlashModes(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QCameraExposure::FlashModes *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QCameraExposure::FlashModes();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QCameraExposure::FlashModes(a0);

            return sipCpp;
        }
    }

    {
        const  ::QCameraExposure::FlashModes* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QCameraExposure_FlashModes, &a0, &a0State))
        {
            sipCpp = new  ::QCameraExposure::FlashModes(*a0);
            sipReleaseType(const_cast< ::QCameraExposure::FlashModes *>(a0),sipType_QCameraExposure_FlashModes,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QCameraExposure_FlashModes(PyObject *, void **, int *, PyObject *);}
static int convertTo_QCameraExposure_FlashModes(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QCameraExposure::FlashModes **sipCppPtr = reinterpret_cast< ::QCameraExposure::FlashModes **>(sipCppPtrV);

#line 121 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QCameraExposure::FlashModes is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QCameraExposure_FlashMode)) ||
            sipCanConvertToType(sipPy, sipType_QCameraExposure_FlashModes, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QCameraExposure_FlashMode)))
{
    *sipCppPtr = new QCameraExposure::FlashModes(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QCameraExposure::FlashModes *>(sipConvertToType(sipPy, sipType_QCameraExposure_FlashModes, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 30506 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QCameraExposure_FlashModes[] = {
    {(void *)slot_QCameraExposure_FlashModes___hash__, hash_slot},
    {(void *)slot_QCameraExposure_FlashModes___bool__, bool_slot},
    {(void *)slot_QCameraExposure_FlashModes___ne__, ne_slot},
    {(void *)slot_QCameraExposure_FlashModes___eq__, eq_slot},
    {(void *)slot_QCameraExposure_FlashModes___ixor__, ixor_slot},
    {(void *)slot_QCameraExposure_FlashModes___xor__, xor_slot},
    {(void *)slot_QCameraExposure_FlashModes___ior__, ior_slot},
    {(void *)slot_QCameraExposure_FlashModes___or__, or_slot},
    {(void *)slot_QCameraExposure_FlashModes___iand__, iand_slot},
    {(void *)slot_QCameraExposure_FlashModes___and__, and_slot},
    {(void *)slot_QCameraExposure_FlashModes___invert__, invert_slot},
    {(void *)slot_QCameraExposure_FlashModes___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QCameraExposure_FlashModes, "\1QCameraExposure.FlashModes()\n"
    "QCameraExposure.FlashModes(Union[QCameraExposure.FlashModes, QCameraExposure.FlashMode])\n"
    "QCameraExposure.FlashModes(QCameraExposure.FlashModes)");


static pyqt5ClassPluginDef plugin_QCameraExposure_FlashModes = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QCameraExposure_FlashModes = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QCameraExposure__FlashModes,
        {0},
        &plugin_QCameraExposure_FlashModes
    },
    {
        sipNameNr_FlashModes,
        {37, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QCameraExposure_FlashModes,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QCameraExposure_FlashModes,
    init_type_QCameraExposure_FlashModes,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QCameraExposure_FlashModes,
    assign_QCameraExposure_FlashModes,
    array_QCameraExposure_FlashModes,
    copy_QCameraExposure_FlashModes,
    release_QCameraExposure_FlashModes,
    0,
    convertTo_QCameraExposure_FlashModes,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcameraexposure.sip"
#include <qcameraexposure.h>
#line 30592 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcamera.sip"
#include <qcamera.h>
#line 30596 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcameraexposure.sip"
#include <qcameraexposure.h>
#line 30599 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 746 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 30602 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 642 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 30605 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 95 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 30608 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 30611 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 30614 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 30617 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 30620 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 30623 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 30626 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 30629 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 30632 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 30635 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 30638 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 30641 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 30644 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 30647 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 30650 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 30653 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 30656 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


PyDoc_STRVAR(doc_QCameraExposure_isAvailable, "isAvailable(self) -> bool");

extern "C" {static PyObject *meth_QCameraExposure_isAvailable(PyObject *, PyObject *);}
static PyObject *meth_QCameraExposure_isAvailable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraExposure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraExposure, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isAvailable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraExposure, sipName_isAvailable, doc_QCameraExposure_isAvailable);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraExposure_flashMode, "flashMode(self) -> QCameraExposure.FlashModes");

extern "C" {static PyObject *meth_QCameraExposure_flashMode(PyObject *, PyObject *);}
static PyObject *meth_QCameraExposure_flashMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraExposure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraExposure, &sipCpp))
        {
             ::QCameraExposure::FlashModes*sipRes;

            sipRes = new  ::QCameraExposure::FlashModes(sipCpp->flashMode());

            return sipConvertFromNewType(sipRes,sipType_QCameraExposure_FlashModes,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraExposure, sipName_flashMode, doc_QCameraExposure_flashMode);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraExposure_isFlashModeSupported, "isFlashModeSupported(self, Union[QCameraExposure.FlashModes, QCameraExposure.FlashMode]) -> bool");

extern "C" {static PyObject *meth_QCameraExposure_isFlashModeSupported(PyObject *, PyObject *);}
static PyObject *meth_QCameraExposure_isFlashModeSupported(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCameraExposure::FlashModes* a0;
        int a0State = 0;
        const  ::QCameraExposure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCameraExposure, &sipCpp, sipType_QCameraExposure_FlashModes, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->isFlashModeSupported(*a0);
            sipReleaseType(a0,sipType_QCameraExposure_FlashModes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraExposure, sipName_isFlashModeSupported, doc_QCameraExposure_isFlashModeSupported);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraExposure_isFlashReady, "isFlashReady(self) -> bool");

extern "C" {static PyObject *meth_QCameraExposure_isFlashReady(PyObject *, PyObject *);}
static PyObject *meth_QCameraExposure_isFlashReady(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraExposure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraExposure, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isFlashReady();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraExposure, sipName_isFlashReady, doc_QCameraExposure_isFlashReady);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraExposure_exposureMode, "exposureMode(self) -> QCameraExposure.ExposureMode");

extern "C" {static PyObject *meth_QCameraExposure_exposureMode(PyObject *, PyObject *);}
static PyObject *meth_QCameraExposure_exposureMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraExposure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraExposure, &sipCpp))
        {
             ::QCameraExposure::ExposureMode sipRes;

            sipRes = sipCpp->exposureMode();

            return sipConvertFromEnum(sipRes,sipType_QCameraExposure_ExposureMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraExposure, sipName_exposureMode, doc_QCameraExposure_exposureMode);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraExposure_isExposureModeSupported, "isExposureModeSupported(self, QCameraExposure.ExposureMode) -> bool");

extern "C" {static PyObject *meth_QCameraExposure_isExposureModeSupported(PyObject *, PyObject *);}
static PyObject *meth_QCameraExposure_isExposureModeSupported(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCameraExposure::ExposureMode a0;
        const  ::QCameraExposure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QCameraExposure, &sipCpp, sipType_QCameraExposure_ExposureMode, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isExposureModeSupported(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraExposure, sipName_isExposureModeSupported, doc_QCameraExposure_isExposureModeSupported);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraExposure_exposureCompensation, "exposureCompensation(self) -> float");

extern "C" {static PyObject *meth_QCameraExposure_exposureCompensation(PyObject *, PyObject *);}
static PyObject *meth_QCameraExposure_exposureCompensation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraExposure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraExposure, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->exposureCompensation();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraExposure, sipName_exposureCompensation, doc_QCameraExposure_exposureCompensation);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraExposure_meteringMode, "meteringMode(self) -> QCameraExposure.MeteringMode");

extern "C" {static PyObject *meth_QCameraExposure_meteringMode(PyObject *, PyObject *);}
static PyObject *meth_QCameraExposure_meteringMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraExposure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraExposure, &sipCpp))
        {
             ::QCameraExposure::MeteringMode sipRes;

            sipRes = sipCpp->meteringMode();

            return sipConvertFromEnum(sipRes,sipType_QCameraExposure_MeteringMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraExposure, sipName_meteringMode, doc_QCameraExposure_meteringMode);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraExposure_isMeteringModeSupported, "isMeteringModeSupported(self, QCameraExposure.MeteringMode) -> bool");

extern "C" {static PyObject *meth_QCameraExposure_isMeteringModeSupported(PyObject *, PyObject *);}
static PyObject *meth_QCameraExposure_isMeteringModeSupported(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCameraExposure::MeteringMode a0;
        const  ::QCameraExposure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QCameraExposure, &sipCpp, sipType_QCameraExposure_MeteringMode, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isMeteringModeSupported(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraExposure, sipName_isMeteringModeSupported, doc_QCameraExposure_isMeteringModeSupported);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraExposure_spotMeteringPoint, "spotMeteringPoint(self) -> QPointF");

extern "C" {static PyObject *meth_QCameraExposure_spotMeteringPoint(PyObject *, PyObject *);}
static PyObject *meth_QCameraExposure_spotMeteringPoint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraExposure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraExposure, &sipCpp))
        {
             ::QPointF*sipRes;

            sipRes = new  ::QPointF(sipCpp->spotMeteringPoint());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraExposure, sipName_spotMeteringPoint, doc_QCameraExposure_spotMeteringPoint);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraExposure_setSpotMeteringPoint, "setSpotMeteringPoint(self, Union[QPointF, QPoint])");

extern "C" {static PyObject *meth_QCameraExposure_setSpotMeteringPoint(PyObject *, PyObject *);}
static PyObject *meth_QCameraExposure_setSpotMeteringPoint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPointF* a0;
        int a0State = 0;
         ::QCameraExposure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCameraExposure, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            sipCpp->setSpotMeteringPoint(*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_QCameraExposure, sipName_setSpotMeteringPoint, doc_QCameraExposure_setSpotMeteringPoint);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraExposure_isoSensitivity, "isoSensitivity(self) -> int");

extern "C" {static PyObject *meth_QCameraExposure_isoSensitivity(PyObject *, PyObject *);}
static PyObject *meth_QCameraExposure_isoSensitivity(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraExposure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraExposure, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->isoSensitivity();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraExposure, sipName_isoSensitivity, doc_QCameraExposure_isoSensitivity);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraExposure_aperture, "aperture(self) -> float");

extern "C" {static PyObject *meth_QCameraExposure_aperture(PyObject *, PyObject *);}
static PyObject *meth_QCameraExposure_aperture(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraExposure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraExposure, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->aperture();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraExposure, sipName_aperture, doc_QCameraExposure_aperture);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraExposure_shutterSpeed, "shutterSpeed(self) -> float");

extern "C" {static PyObject *meth_QCameraExposure_shutterSpeed(PyObject *, PyObject *);}
static PyObject *meth_QCameraExposure_shutterSpeed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraExposure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraExposure, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->shutterSpeed();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraExposure, sipName_shutterSpeed, doc_QCameraExposure_shutterSpeed);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraExposure_requestedIsoSensitivity, "requestedIsoSensitivity(self) -> int");

extern "C" {static PyObject *meth_QCameraExposure_requestedIsoSensitivity(PyObject *, PyObject *);}
static PyObject *meth_QCameraExposure_requestedIsoSensitivity(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraExposure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraExposure, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->requestedIsoSensitivity();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraExposure, sipName_requestedIsoSensitivity, doc_QCameraExposure_requestedIsoSensitivity);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraExposure_requestedAperture, "requestedAperture(self) -> float");

extern "C" {static PyObject *meth_QCameraExposure_requestedAperture(PyObject *, PyObject *);}
static PyObject *meth_QCameraExposure_requestedAperture(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraExposure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraExposure, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->requestedAperture();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraExposure, sipName_requestedAperture, doc_QCameraExposure_requestedAperture);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraExposure_requestedShutterSpeed, "requestedShutterSpeed(self) -> float");

extern "C" {static PyObject *meth_QCameraExposure_requestedShutterSpeed(PyObject *, PyObject *);}
static PyObject *meth_QCameraExposure_requestedShutterSpeed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraExposure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraExposure, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->requestedShutterSpeed();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraExposure, sipName_requestedShutterSpeed, doc_QCameraExposure_requestedShutterSpeed);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraExposure_supportedIsoSensitivities, "supportedIsoSensitivities(self) -> Tuple[List[int], bool]");

extern "C" {static PyObject *meth_QCameraExposure_supportedIsoSensitivities(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCameraExposure_supportedIsoSensitivities(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        const  ::QCameraExposure *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCameraExposure, &sipCpp))
        {
             ::QList<int>*sipRes;

            sipRes = new  ::QList<int>(sipCpp->supportedIsoSensitivities(&a0));

            PyObject *sipResObj = sipConvertFromNewType(sipRes,sipType_QList_1800,NULL);
            return sipBuildResult(0,"(Rb)",sipResObj,a0);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraExposure, sipName_supportedIsoSensitivities, doc_QCameraExposure_supportedIsoSensitivities);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraExposure_supportedApertures, "supportedApertures(self) -> Tuple[List[float], bool]");

extern "C" {static PyObject *meth_QCameraExposure_supportedApertures(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCameraExposure_supportedApertures(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        const  ::QCameraExposure *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCameraExposure, &sipCpp))
        {
             ::QList< ::qreal>*sipRes;

            sipRes = new  ::QList< ::qreal>(sipCpp->supportedApertures(&a0));

            PyObject *sipResObj = sipConvertFromNewType(sipRes,sipType_QList_2400,NULL);
            return sipBuildResult(0,"(Rb)",sipResObj,a0);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraExposure, sipName_supportedApertures, doc_QCameraExposure_supportedApertures);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraExposure_supportedShutterSpeeds, "supportedShutterSpeeds(self) -> Tuple[List[float], bool]");

extern "C" {static PyObject *meth_QCameraExposure_supportedShutterSpeeds(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCameraExposure_supportedShutterSpeeds(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        const  ::QCameraExposure *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCameraExposure, &sipCpp))
        {
             ::QList< ::qreal>*sipRes;

            sipRes = new  ::QList< ::qreal>(sipCpp->supportedShutterSpeeds(&a0));

            PyObject *sipResObj = sipConvertFromNewType(sipRes,sipType_QList_2400,NULL);
            return sipBuildResult(0,"(Rb)",sipResObj,a0);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraExposure, sipName_supportedShutterSpeeds, doc_QCameraExposure_supportedShutterSpeeds);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraExposure_setFlashMode, "setFlashMode(self, Union[QCameraExposure.FlashModes, QCameraExposure.FlashMode])");

extern "C" {static PyObject *meth_QCameraExposure_setFlashMode(PyObject *, PyObject *);}
static PyObject *meth_QCameraExposure_setFlashMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCameraExposure::FlashModes* a0;
        int a0State = 0;
         ::QCameraExposure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCameraExposure, &sipCpp, sipType_QCameraExposure_FlashModes, &a0, &a0State))
        {
            sipCpp->setFlashMode(*a0);
            sipReleaseType(a0,sipType_QCameraExposure_FlashModes,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraExposure, sipName_setFlashMode, doc_QCameraExposure_setFlashMode);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraExposure_setExposureMode, "setExposureMode(self, QCameraExposure.ExposureMode)");

extern "C" {static PyObject *meth_QCameraExposure_setExposureMode(PyObject *, PyObject *);}
static PyObject *meth_QCameraExposure_setExposureMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCameraExposure::ExposureMode a0;
         ::QCameraExposure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QCameraExposure, &sipCpp, sipType_QCameraExposure_ExposureMode, &a0))
        {
            sipCpp->setExposureMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraExposure, sipName_setExposureMode, doc_QCameraExposure_setExposureMode);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraExposure_setMeteringMode, "setMeteringMode(self, QCameraExposure.MeteringMode)");

extern "C" {static PyObject *meth_QCameraExposure_setMeteringMode(PyObject *, PyObject *);}
static PyObject *meth_QCameraExposure_setMeteringMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCameraExposure::MeteringMode a0;
         ::QCameraExposure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QCameraExposure, &sipCpp, sipType_QCameraExposure_MeteringMode, &a0))
        {
            sipCpp->setMeteringMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraExposure, sipName_setMeteringMode, doc_QCameraExposure_setMeteringMode);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraExposure_setExposureCompensation, "setExposureCompensation(self, float)");

extern "C" {static PyObject *meth_QCameraExposure_setExposureCompensation(PyObject *, PyObject *);}
static PyObject *meth_QCameraExposure_setExposureCompensation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QCameraExposure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QCameraExposure, &sipCpp, &a0))
        {
            sipCpp->setExposureCompensation(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraExposure, sipName_setExposureCompensation, doc_QCameraExposure_setExposureCompensation);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraExposure_setManualIsoSensitivity, "setManualIsoSensitivity(self, int)");

extern "C" {static PyObject *meth_QCameraExposure_setManualIsoSensitivity(PyObject *, PyObject *);}
static PyObject *meth_QCameraExposure_setManualIsoSensitivity(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QCameraExposure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QCameraExposure, &sipCpp, &a0))
        {
            sipCpp->setManualIsoSensitivity(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraExposure, sipName_setManualIsoSensitivity, doc_QCameraExposure_setManualIsoSensitivity);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraExposure_setAutoIsoSensitivity, "setAutoIsoSensitivity(self)");

extern "C" {static PyObject *meth_QCameraExposure_setAutoIsoSensitivity(PyObject *, PyObject *);}
static PyObject *meth_QCameraExposure_setAutoIsoSensitivity(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCameraExposure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraExposure, &sipCpp))
        {
            sipCpp->setAutoIsoSensitivity();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraExposure, sipName_setAutoIsoSensitivity, doc_QCameraExposure_setAutoIsoSensitivity);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraExposure_setManualAperture, "setManualAperture(self, float)");

extern "C" {static PyObject *meth_QCameraExposure_setManualAperture(PyObject *, PyObject *);}
static PyObject *meth_QCameraExposure_setManualAperture(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QCameraExposure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QCameraExposure, &sipCpp, &a0))
        {
            sipCpp->setManualAperture(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraExposure, sipName_setManualAperture, doc_QCameraExposure_setManualAperture);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraExposure_setAutoAperture, "setAutoAperture(self)");

extern "C" {static PyObject *meth_QCameraExposure_setAutoAperture(PyObject *, PyObject *);}
static PyObject *meth_QCameraExposure_setAutoAperture(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCameraExposure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraExposure, &sipCpp))
        {
            sipCpp->setAutoAperture();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraExposure, sipName_setAutoAperture, doc_QCameraExposure_setAutoAperture);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraExposure_setManualShutterSpeed, "setManualShutterSpeed(self, float)");

extern "C" {static PyObject *meth_QCameraExposure_setManualShutterSpeed(PyObject *, PyObject *);}
static PyObject *meth_QCameraExposure_setManualShutterSpeed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QCameraExposure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QCameraExposure, &sipCpp, &a0))
        {
            sipCpp->setManualShutterSpeed(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraExposure, sipName_setManualShutterSpeed, doc_QCameraExposure_setManualShutterSpeed);

    return NULL;
}


PyDoc_STRVAR(doc_QCameraExposure_setAutoShutterSpeed, "setAutoShutterSpeed(self)");

extern "C" {static PyObject *meth_QCameraExposure_setAutoShutterSpeed(PyObject *, PyObject *);}
static PyObject *meth_QCameraExposure_setAutoShutterSpeed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCameraExposure *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCameraExposure, &sipCpp))
        {
            sipCpp->setAutoShutterSpeed();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCameraExposure, sipName_setAutoShutterSpeed, doc_QCameraExposure_setAutoShutterSpeed);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QCameraExposure(void *, const sipTypeDef *);}
static void *cast_QCameraExposure(void *sipCppV, const sipTypeDef *targetType)
{
     ::QCameraExposure *sipCpp = reinterpret_cast< ::QCameraExposure *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QCameraExposure(void *, int);}
static void release_QCameraExposure(void *, int)
{
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QCameraExposure[] = {{9, 0, 1}};


static PyMethodDef methods_QCameraExposure[] = {
    {SIP_MLNAME_CAST(sipName_aperture), meth_QCameraExposure_aperture, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraExposure_aperture)},
    {SIP_MLNAME_CAST(sipName_exposureCompensation), meth_QCameraExposure_exposureCompensation, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraExposure_exposureCompensation)},
    {SIP_MLNAME_CAST(sipName_exposureMode), meth_QCameraExposure_exposureMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraExposure_exposureMode)},
    {SIP_MLNAME_CAST(sipName_flashMode), meth_QCameraExposure_flashMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraExposure_flashMode)},
    {SIP_MLNAME_CAST(sipName_isAvailable), meth_QCameraExposure_isAvailable, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraExposure_isAvailable)},
    {SIP_MLNAME_CAST(sipName_isExposureModeSupported), meth_QCameraExposure_isExposureModeSupported, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraExposure_isExposureModeSupported)},
    {SIP_MLNAME_CAST(sipName_isFlashModeSupported), meth_QCameraExposure_isFlashModeSupported, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraExposure_isFlashModeSupported)},
    {SIP_MLNAME_CAST(sipName_isFlashReady), meth_QCameraExposure_isFlashReady, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraExposure_isFlashReady)},
    {SIP_MLNAME_CAST(sipName_isMeteringModeSupported), meth_QCameraExposure_isMeteringModeSupported, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraExposure_isMeteringModeSupported)},
    {SIP_MLNAME_CAST(sipName_isoSensitivity), meth_QCameraExposure_isoSensitivity, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraExposure_isoSensitivity)},
    {SIP_MLNAME_CAST(sipName_meteringMode), meth_QCameraExposure_meteringMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraExposure_meteringMode)},
    {SIP_MLNAME_CAST(sipName_requestedAperture), meth_QCameraExposure_requestedAperture, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraExposure_requestedAperture)},
    {SIP_MLNAME_CAST(sipName_requestedIsoSensitivity), meth_QCameraExposure_requestedIsoSensitivity, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraExposure_requestedIsoSensitivity)},
    {SIP_MLNAME_CAST(sipName_requestedShutterSpeed), meth_QCameraExposure_requestedShutterSpeed, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraExposure_requestedShutterSpeed)},
    {SIP_MLNAME_CAST(sipName_setAutoAperture), meth_QCameraExposure_setAutoAperture, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraExposure_setAutoAperture)},
    {SIP_MLNAME_CAST(sipName_setAutoIsoSensitivity), meth_QCameraExposure_setAutoIsoSensitivity, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraExposure_setAutoIsoSensitivity)},
    {SIP_MLNAME_CAST(sipName_setAutoShutterSpeed), meth_QCameraExposure_setAutoShutterSpeed, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraExposure_setAutoShutterSpeed)},
    {SIP_MLNAME_CAST(sipName_setExposureCompensation), meth_QCameraExposure_setExposureCompensation, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraExposure_setExposureCompensation)},
    {SIP_MLNAME_CAST(sipName_setExposureMode), meth_QCameraExposure_setExposureMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraExposure_setExposureMode)},
    {SIP_MLNAME_CAST(sipName_setFlashMode), meth_QCameraExposure_setFlashMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraExposure_setFlashMode)},
    {SIP_MLNAME_CAST(sipName_setManualAperture), meth_QCameraExposure_setManualAperture, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraExposure_setManualAperture)},
    {SIP_MLNAME_CAST(sipName_setManualIsoSensitivity), meth_QCameraExposure_setManualIsoSensitivity, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraExposure_setManualIsoSensitivity)},
    {SIP_MLNAME_CAST(sipName_setManualShutterSpeed), meth_QCameraExposure_setManualShutterSpeed, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraExposure_setManualShutterSpeed)},
    {SIP_MLNAME_CAST(sipName_setMeteringMode), meth_QCameraExposure_setMeteringMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraExposure_setMeteringMode)},
    {SIP_MLNAME_CAST(sipName_setSpotMeteringPoint), meth_QCameraExposure_setSpotMeteringPoint, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraExposure_setSpotMeteringPoint)},
    {SIP_MLNAME_CAST(sipName_shutterSpeed), meth_QCameraExposure_shutterSpeed, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraExposure_shutterSpeed)},
    {SIP_MLNAME_CAST(sipName_spotMeteringPoint), meth_QCameraExposure_spotMeteringPoint, METH_VARARGS, SIP_MLDOC_CAST(doc_QCameraExposure_spotMeteringPoint)},
    {SIP_MLNAME_CAST(sipName_supportedApertures), (PyCFunction)meth_QCameraExposure_supportedApertures, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCameraExposure_supportedApertures)},
    {SIP_MLNAME_CAST(sipName_supportedIsoSensitivities), (PyCFunction)meth_QCameraExposure_supportedIsoSensitivities, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCameraExposure_supportedIsoSensitivities)},
    {SIP_MLNAME_CAST(sipName_supportedShutterSpeeds), (PyCFunction)meth_QCameraExposure_supportedShutterSpeeds, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCameraExposure_supportedShutterSpeeds)}
};

static sipEnumMemberDef enummembers_QCameraExposure[] = {
    {sipName_ExposureAction, static_cast<int>( ::QCameraExposure::ExposureAction), 38},
    {sipName_ExposureAuto, static_cast<int>( ::QCameraExposure::ExposureAuto), 38},
    {sipName_ExposureBacklight, static_cast<int>( ::QCameraExposure::ExposureBacklight), 38},
    {sipName_ExposureBarcode, static_cast<int>( ::QCameraExposure::ExposureBarcode), 38},
    {sipName_ExposureBeach, static_cast<int>( ::QCameraExposure::ExposureBeach), 38},
    {sipName_ExposureCandlelight, static_cast<int>( ::QCameraExposure::ExposureCandlelight), 38},
    {sipName_ExposureFireworks, static_cast<int>( ::QCameraExposure::ExposureFireworks), 38},
    {sipName_ExposureLandscape, static_cast<int>( ::QCameraExposure::ExposureLandscape), 38},
    {sipName_ExposureLargeAperture, static_cast<int>( ::QCameraExposure::ExposureLargeAperture), 38},
    {sipName_ExposureManual, static_cast<int>( ::QCameraExposure::ExposureManual), 38},
    {sipName_ExposureModeVendor, static_cast<int>( ::QCameraExposure::ExposureModeVendor), 38},
    {sipName_ExposureNight, static_cast<int>( ::QCameraExposure::ExposureNight), 38},
    {sipName_ExposureNightPortrait, static_cast<int>( ::QCameraExposure::ExposureNightPortrait), 38},
    {sipName_ExposureParty, static_cast<int>( ::QCameraExposure::ExposureParty), 38},
    {sipName_ExposurePortrait, static_cast<int>( ::QCameraExposure::ExposurePortrait), 38},
    {sipName_ExposureSmallAperture, static_cast<int>( ::QCameraExposure::ExposureSmallAperture), 38},
    {sipName_ExposureSnow, static_cast<int>( ::QCameraExposure::ExposureSnow), 38},
    {sipName_ExposureSports, static_cast<int>( ::QCameraExposure::ExposureSports), 38},
    {sipName_ExposureSpotlight, static_cast<int>( ::QCameraExposure::ExposureSpotlight), 38},
    {sipName_ExposureSteadyPhoto, static_cast<int>( ::QCameraExposure::ExposureSteadyPhoto), 38},
    {sipName_ExposureSunset, static_cast<int>( ::QCameraExposure::ExposureSunset), 38},
    {sipName_ExposureTheatre, static_cast<int>( ::QCameraExposure::ExposureTheatre), 38},
    {sipName_FlashAuto, static_cast<int>( ::QCameraExposure::FlashAuto), 39},
    {sipName_FlashFill, static_cast<int>( ::QCameraExposure::FlashFill), 39},
    {sipName_FlashManual, static_cast<int>( ::QCameraExposure::FlashManual), 39},
    {sipName_FlashOff, static_cast<int>( ::QCameraExposure::FlashOff), 39},
    {sipName_FlashOn, static_cast<int>( ::QCameraExposure::FlashOn), 39},
    {sipName_FlashRedEyeReduction, static_cast<int>( ::QCameraExposure::FlashRedEyeReduction), 39},
    {sipName_FlashSlowSyncFrontCurtain, static_cast<int>( ::QCameraExposure::FlashSlowSyncFrontCurtain), 39},
    {sipName_FlashSlowSyncRearCurtain, static_cast<int>( ::QCameraExposure::FlashSlowSyncRearCurtain), 39},
    {sipName_FlashTorch, static_cast<int>( ::QCameraExposure::FlashTorch), 39},
    {sipName_FlashVideoLight, static_cast<int>( ::QCameraExposure::FlashVideoLight), 39},
    {sipName_MeteringAverage, static_cast<int>( ::QCameraExposure::MeteringAverage), 41},
    {sipName_MeteringMatrix, static_cast<int>( ::QCameraExposure::MeteringMatrix), 41},
    {sipName_MeteringSpot, static_cast<int>( ::QCameraExposure::MeteringSpot), 41},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QCameraExposure[] = {
    {"exposureCompensationChanged(qreal)", "\1exposureCompensationChanged(self, float)", 0, 0},
    {"isoSensitivityChanged(int)", "\1isoSensitivityChanged(self, int)", 0, 0},
    {"shutterSpeedRangeChanged()", "\1shutterSpeedRangeChanged(self)", 0, 0},
    {"shutterSpeedChanged(qreal)", "\1shutterSpeedChanged(self, float)", 0, 0},
    {"apertureRangeChanged()", "\1apertureRangeChanged(self)", 0, 0},
    {"apertureChanged(qreal)", "\1apertureChanged(self, float)", 0, 0},
    {"flashReady(bool)", "\1flashReady(self, bool)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QCameraExposure = {
    & ::QCameraExposure::staticMetaObject,
    0,
    signals_QCameraExposure,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QCameraExposure = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QCameraExposure,
        {0},
        &plugin_QCameraExposure
    },
    {
        sipNameNr_QCameraExposure,
        {0, 0, 1},
        30, methods_QCameraExposure,
        35, enummembers_QCameraExposure,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_QCameraExposure,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    release_QCameraExposure,
    cast_QCameraExposure,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcamera.sip"
#include <qcamera.h>
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcamera.sip"
#include <qcamera.h>
#line 31681 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"



extern "C" {static PyObject *slot_QCamera_FrameRateRange___eq__(PyObject *,PyObject *);}
static PyObject *slot_QCamera_FrameRateRange___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QCamera::FrameRateRange *sipCpp = reinterpret_cast< ::QCamera::FrameRateRange *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCamera_FrameRateRange));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QCamera::FrameRateRange* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QCamera_FrameRateRange, &a0))
        {
            bool sipRes;

            sipRes = operator==((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, eq_slot, sipType_QCamera_FrameRateRange, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QCamera_FrameRateRange___ne__(PyObject *,PyObject *);}
static PyObject *slot_QCamera_FrameRateRange___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QCamera::FrameRateRange *sipCpp = reinterpret_cast< ::QCamera::FrameRateRange *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCamera_FrameRateRange));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QCamera::FrameRateRange* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QCamera_FrameRateRange, &a0))
        {
            bool sipRes;

            sipRes = operator!=((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, ne_slot, sipType_QCamera_FrameRateRange, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QCamera_FrameRateRange(void *, int);}
static void release_QCamera_FrameRateRange(void *sipCppV, int)
{
    delete reinterpret_cast< ::QCamera::FrameRateRange *>(sipCppV);
}


extern "C" {static void assign_QCamera_FrameRateRange(void *, SIP_SSIZE_T, const void *);}
static void assign_QCamera_FrameRateRange(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QCamera::FrameRateRange *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QCamera::FrameRateRange *>(sipSrc);
}


extern "C" {static void *array_QCamera_FrameRateRange(SIP_SSIZE_T);}
static void *array_QCamera_FrameRateRange(SIP_SSIZE_T sipNrElem)
{
    return new  ::QCamera::FrameRateRange[sipNrElem];
}


extern "C" {static void *copy_QCamera_FrameRateRange(const void *, SIP_SSIZE_T);}
static void *copy_QCamera_FrameRateRange(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QCamera::FrameRateRange(reinterpret_cast<const  ::QCamera::FrameRateRange *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QCamera_FrameRateRange(sipSimpleWrapper *);}
static void dealloc_QCamera_FrameRateRange(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QCamera_FrameRateRange(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QCamera_FrameRateRange(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QCamera_FrameRateRange(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QCamera::FrameRateRange *sipCpp = 0;

    {
         ::qreal a0;
         ::qreal a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "dd", &a0, &a1))
        {
            sipCpp = new  ::QCamera::FrameRateRange(a0,a1);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QCamera::FrameRateRange();

            return sipCpp;
        }
    }

    {
        const  ::QCamera::FrameRateRange* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QCamera_FrameRateRange, &a0))
        {
            sipCpp = new  ::QCamera::FrameRateRange(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QCamera_FrameRateRange[] = {
    {(void *)slot_QCamera_FrameRateRange___eq__, eq_slot},
    {(void *)slot_QCamera_FrameRateRange___ne__, ne_slot},
    {0, (sipPySlotType)0}
};


extern "C" {static PyObject *varget_QCamera_FrameRateRange_maximumFrameRate(void *, PyObject *, PyObject *);}
static PyObject *varget_QCamera_FrameRateRange_maximumFrameRate(void *sipSelf, PyObject *, PyObject *)
{
     ::qreal sipVal;
     ::QCamera::FrameRateRange *sipCpp = reinterpret_cast< ::QCamera::FrameRateRange *>(sipSelf);

    sipVal = sipCpp->maximumFrameRate;

    return PyFloat_FromDouble(sipVal);
}


extern "C" {static int varset_QCamera_FrameRateRange_maximumFrameRate(void *, PyObject *, PyObject *);}
static int varset_QCamera_FrameRateRange_maximumFrameRate(void *sipSelf, PyObject *sipPy, PyObject *)
{
     ::qreal sipVal;
     ::QCamera::FrameRateRange *sipCpp = reinterpret_cast< ::QCamera::FrameRateRange *>(sipSelf);

    sipVal = PyFloat_AsDouble(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->maximumFrameRate = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QCamera_FrameRateRange_minimumFrameRate(void *, PyObject *, PyObject *);}
static PyObject *varget_QCamera_FrameRateRange_minimumFrameRate(void *sipSelf, PyObject *, PyObject *)
{
     ::qreal sipVal;
     ::QCamera::FrameRateRange *sipCpp = reinterpret_cast< ::QCamera::FrameRateRange *>(sipSelf);

    sipVal = sipCpp->minimumFrameRate;

    return PyFloat_FromDouble(sipVal);
}


extern "C" {static int varset_QCamera_FrameRateRange_minimumFrameRate(void *, PyObject *, PyObject *);}
static int varset_QCamera_FrameRateRange_minimumFrameRate(void *sipSelf, PyObject *sipPy, PyObject *)
{
     ::qreal sipVal;
     ::QCamera::FrameRateRange *sipCpp = reinterpret_cast< ::QCamera::FrameRateRange *>(sipSelf);

    sipVal = PyFloat_AsDouble(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->minimumFrameRate = sipVal;

    return 0;
}

sipVariableDef variables_QCamera_FrameRateRange[] = {
    {InstanceVariable, sipName_maximumFrameRate, (PyMethodDef *)varget_QCamera_FrameRateRange_maximumFrameRate, (PyMethodDef *)varset_QCamera_FrameRateRange_maximumFrameRate, NULL, NULL},
    {InstanceVariable, sipName_minimumFrameRate, (PyMethodDef *)varget_QCamera_FrameRateRange_minimumFrameRate, (PyMethodDef *)varset_QCamera_FrameRateRange_minimumFrameRate, NULL, NULL},
};

PyDoc_STRVAR(doc_QCamera_FrameRateRange, "\1QCamera.FrameRateRange(float, float)\n"
    "QCamera.FrameRateRange()\n"
    "QCamera.FrameRateRange(QCamera.FrameRateRange)");


static pyqt5ClassPluginDef plugin_QCamera_FrameRateRange = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QCamera_FrameRateRange = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QCamera__FrameRateRange,
        {0},
        &plugin_QCamera_FrameRateRange
    },
    {
        sipNameNr_FrameRateRange,
        {25, 255, 0},
        0, 0,
        0, 0,
        2, variables_QCamera_FrameRateRange,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QCamera_FrameRateRange,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QCamera_FrameRateRange,
    init_type_QCamera_FrameRateRange,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QCamera_FrameRateRange,
    assign_QCamera_FrameRateRange,
    array_QCamera_FrameRateRange,
    copy_QCamera_FrameRateRange,
    release_QCamera_FrameRateRange,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcamera.sip"
#include <qcamera.h>
#line 31964 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcamera.sip"
#include <qcamera.h>
#line 31968 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


extern "C" {static long slot_QCamera_LockTypes___hash__(PyObject *);}
static long slot_QCamera_LockTypes___hash__(PyObject *sipSelf)
{
     ::QCamera::LockTypes *sipCpp = reinterpret_cast< ::QCamera::LockTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCamera_LockTypes));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QCamera::LockTypes::Int();
#line 31986 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QCamera_LockTypes___bool__(PyObject *);}
static int slot_QCamera_LockTypes___bool__(PyObject *sipSelf)
{
     ::QCamera::LockTypes *sipCpp = reinterpret_cast< ::QCamera::LockTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCamera_LockTypes));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QCamera::LockTypes::Int() != 0);
#line 32011 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QCamera_LockTypes___ne__(PyObject *,PyObject *);}
static PyObject *slot_QCamera_LockTypes___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QCamera::LockTypes *sipCpp = reinterpret_cast< ::QCamera::LockTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCamera_LockTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QCamera::LockTypes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QCamera_LockTypes, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QCamera::LockTypes::Int() != a0->operator QCamera::LockTypes::Int());
#line 32041 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
            sipReleaseType(const_cast< ::QCamera::LockTypes *>(a0),sipType_QCamera_LockTypes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, ne_slot, sipType_QCamera_LockTypes, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QCamera_LockTypes___eq__(PyObject *,PyObject *);}
static PyObject *slot_QCamera_LockTypes___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QCamera::LockTypes *sipCpp = reinterpret_cast< ::QCamera::LockTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCamera_LockTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QCamera::LockTypes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QCamera_LockTypes, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QCamera::LockTypes::Int() == a0->operator QCamera::LockTypes::Int());
#line 32077 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
            sipReleaseType(const_cast< ::QCamera::LockTypes *>(a0),sipType_QCamera_LockTypes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, eq_slot, sipType_QCamera_LockTypes, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QCamera_LockTypes___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QCamera_LockTypes___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QCamera_LockTypes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QCamera::LockTypes *sipCpp = reinterpret_cast< ::QCamera::LockTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCamera_LockTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QCamera::LockTypes(*sipCpp ^ a0);
#line 32116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QCamera_LockTypes___xor__(PyObject *,PyObject *);}
static PyObject *slot_QCamera_LockTypes___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCamera::LockTypes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QCamera_LockTypes, &a0, &a0State, &a1))
        {
             ::QCamera::LockTypes*sipRes;

            sipRes = new  ::QCamera::LockTypes((*a0 ^ a1));
            sipReleaseType(a0,sipType_QCamera_LockTypes,a0State);

            return sipConvertFromNewType(sipRes,sipType_QCamera_LockTypes,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QCamera_LockTypes___ior__(PyObject *,PyObject *);}
static PyObject *slot_QCamera_LockTypes___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QCamera_LockTypes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QCamera::LockTypes *sipCpp = reinterpret_cast< ::QCamera::LockTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCamera_LockTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QCamera::LockTypes(*sipCpp | a0);
#line 32188 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QCamera_LockTypes___or__(PyObject *,PyObject *);}
static PyObject *slot_QCamera_LockTypes___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCamera::LockTypes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QCamera_LockTypes, &a0, &a0State, &a1))
        {
             ::QCamera::LockTypes*sipRes;

            sipRes = new  ::QCamera::LockTypes((*a0 | a1));
            sipReleaseType(a0,sipType_QCamera_LockTypes,a0State);

            return sipConvertFromNewType(sipRes,sipType_QCamera_LockTypes,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QCamera_LockTypes___iand__(PyObject *,PyObject *);}
static PyObject *slot_QCamera_LockTypes___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QCamera_LockTypes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QCamera::LockTypes *sipCpp = reinterpret_cast< ::QCamera::LockTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCamera_LockTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QCamera::LockTypes::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QCamera_LockTypes___and__(PyObject *,PyObject *);}
static PyObject *slot_QCamera_LockTypes___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCamera::LockTypes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QCamera_LockTypes, &a0, &a0State, &a1))
        {
             ::QCamera::LockTypes*sipRes;

            sipRes = new  ::QCamera::LockTypes((*a0 & a1));
            sipReleaseType(a0,sipType_QCamera_LockTypes,a0State);

            return sipConvertFromNewType(sipRes,sipType_QCamera_LockTypes,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QCamera_LockTypes___invert__(PyObject *);}
static PyObject *slot_QCamera_LockTypes___invert__(PyObject *sipSelf)
{
     ::QCamera::LockTypes *sipCpp = reinterpret_cast< ::QCamera::LockTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCamera_LockTypes));

    if (!sipCpp)
        return 0;


    {
        {
             ::QCamera::LockTypes*sipRes;

            sipRes = new  ::QCamera::LockTypes(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QCamera_LockTypes,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QCamera_LockTypes___int__(PyObject *);}
static PyObject *slot_QCamera_LockTypes___int__(PyObject *sipSelf)
{
     ::QCamera::LockTypes *sipCpp = reinterpret_cast< ::QCamera::LockTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCamera_LockTypes));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QCamera_LockTypes(void *, int);}
static void release_QCamera_LockTypes(void *sipCppV, int)
{
    delete reinterpret_cast< ::QCamera::LockTypes *>(sipCppV);
}


extern "C" {static void assign_QCamera_LockTypes(void *, SIP_SSIZE_T, const void *);}
static void assign_QCamera_LockTypes(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QCamera::LockTypes *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QCamera::LockTypes *>(sipSrc);
}


extern "C" {static void *array_QCamera_LockTypes(SIP_SSIZE_T);}
static void *array_QCamera_LockTypes(SIP_SSIZE_T sipNrElem)
{
    return new  ::QCamera::LockTypes[sipNrElem];
}


extern "C" {static void *copy_QCamera_LockTypes(const void *, SIP_SSIZE_T);}
static void *copy_QCamera_LockTypes(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QCamera::LockTypes(reinterpret_cast<const  ::QCamera::LockTypes *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QCamera_LockTypes(sipSimpleWrapper *);}
static void dealloc_QCamera_LockTypes(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QCamera_LockTypes(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QCamera_LockTypes(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QCamera_LockTypes(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QCamera::LockTypes *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QCamera::LockTypes();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QCamera::LockTypes(a0);

            return sipCpp;
        }
    }

    {
        const  ::QCamera::LockTypes* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QCamera_LockTypes, &a0, &a0State))
        {
            sipCpp = new  ::QCamera::LockTypes(*a0);
            sipReleaseType(const_cast< ::QCamera::LockTypes *>(a0),sipType_QCamera_LockTypes,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QCamera_LockTypes(PyObject *, void **, int *, PyObject *);}
static int convertTo_QCamera_LockTypes(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QCamera::LockTypes **sipCppPtr = reinterpret_cast< ::QCamera::LockTypes **>(sipCppPtrV);

#line 121 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QCamera::LockTypes is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QCamera_LockType)) ||
            sipCanConvertToType(sipPy, sipType_QCamera_LockTypes, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QCamera_LockType)))
{
    *sipCppPtr = new QCamera::LockTypes(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QCamera::LockTypes *>(sipConvertToType(sipPy, sipType_QCamera_LockTypes, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 32456 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QCamera_LockTypes[] = {
    {(void *)slot_QCamera_LockTypes___hash__, hash_slot},
    {(void *)slot_QCamera_LockTypes___bool__, bool_slot},
    {(void *)slot_QCamera_LockTypes___ne__, ne_slot},
    {(void *)slot_QCamera_LockTypes___eq__, eq_slot},
    {(void *)slot_QCamera_LockTypes___ixor__, ixor_slot},
    {(void *)slot_QCamera_LockTypes___xor__, xor_slot},
    {(void *)slot_QCamera_LockTypes___ior__, ior_slot},
    {(void *)slot_QCamera_LockTypes___or__, or_slot},
    {(void *)slot_QCamera_LockTypes___iand__, iand_slot},
    {(void *)slot_QCamera_LockTypes___and__, and_slot},
    {(void *)slot_QCamera_LockTypes___invert__, invert_slot},
    {(void *)slot_QCamera_LockTypes___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QCamera_LockTypes, "\1QCamera.LockTypes()\n"
    "QCamera.LockTypes(Union[QCamera.LockTypes, QCamera.LockType])\n"
    "QCamera.LockTypes(QCamera.LockTypes)");


static pyqt5ClassPluginDef plugin_QCamera_LockTypes = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QCamera_LockTypes = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QCamera__LockTypes,
        {0},
        &plugin_QCamera_LockTypes
    },
    {
        sipNameNr_LockTypes,
        {25, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QCamera_LockTypes,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QCamera_LockTypes,
    init_type_QCamera_LockTypes,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QCamera_LockTypes,
    assign_QCamera_LockTypes,
    array_QCamera_LockTypes,
    copy_QCamera_LockTypes,
    release_QCamera_LockTypes,
    0,
    convertTo_QCamera_LockTypes,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcamera.sip"
#include <qcamera.h>
#line 32542 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcamera.sip"
#include <qcamera.h>
#line 32546 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


extern "C" {static long slot_QCamera_CaptureModes___hash__(PyObject *);}
static long slot_QCamera_CaptureModes___hash__(PyObject *sipSelf)
{
     ::QCamera::CaptureModes *sipCpp = reinterpret_cast< ::QCamera::CaptureModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCamera_CaptureModes));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QCamera::CaptureModes::Int();
#line 32564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QCamera_CaptureModes___bool__(PyObject *);}
static int slot_QCamera_CaptureModes___bool__(PyObject *sipSelf)
{
     ::QCamera::CaptureModes *sipCpp = reinterpret_cast< ::QCamera::CaptureModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCamera_CaptureModes));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QCamera::CaptureModes::Int() != 0);
#line 32589 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QCamera_CaptureModes___ne__(PyObject *,PyObject *);}
static PyObject *slot_QCamera_CaptureModes___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QCamera::CaptureModes *sipCpp = reinterpret_cast< ::QCamera::CaptureModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCamera_CaptureModes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QCamera::CaptureModes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QCamera_CaptureModes, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QCamera::CaptureModes::Int() != a0->operator QCamera::CaptureModes::Int());
#line 32619 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
            sipReleaseType(const_cast< ::QCamera::CaptureModes *>(a0),sipType_QCamera_CaptureModes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, ne_slot, sipType_QCamera_CaptureModes, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QCamera_CaptureModes___eq__(PyObject *,PyObject *);}
static PyObject *slot_QCamera_CaptureModes___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QCamera::CaptureModes *sipCpp = reinterpret_cast< ::QCamera::CaptureModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCamera_CaptureModes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QCamera::CaptureModes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QCamera_CaptureModes, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QCamera::CaptureModes::Int() == a0->operator QCamera::CaptureModes::Int());
#line 32655 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
            sipReleaseType(const_cast< ::QCamera::CaptureModes *>(a0),sipType_QCamera_CaptureModes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, eq_slot, sipType_QCamera_CaptureModes, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QCamera_CaptureModes___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QCamera_CaptureModes___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QCamera_CaptureModes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QCamera::CaptureModes *sipCpp = reinterpret_cast< ::QCamera::CaptureModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCamera_CaptureModes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QCamera::CaptureModes(*sipCpp ^ a0);
#line 32694 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QCamera_CaptureModes___xor__(PyObject *,PyObject *);}
static PyObject *slot_QCamera_CaptureModes___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCamera::CaptureModes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QCamera_CaptureModes, &a0, &a0State, &a1))
        {
             ::QCamera::CaptureModes*sipRes;

            sipRes = new  ::QCamera::CaptureModes((*a0 ^ a1));
            sipReleaseType(a0,sipType_QCamera_CaptureModes,a0State);

            return sipConvertFromNewType(sipRes,sipType_QCamera_CaptureModes,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QCamera_CaptureModes___ior__(PyObject *,PyObject *);}
static PyObject *slot_QCamera_CaptureModes___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QCamera_CaptureModes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QCamera::CaptureModes *sipCpp = reinterpret_cast< ::QCamera::CaptureModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCamera_CaptureModes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QCamera::CaptureModes(*sipCpp | a0);
#line 32766 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QCamera_CaptureModes___or__(PyObject *,PyObject *);}
static PyObject *slot_QCamera_CaptureModes___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCamera::CaptureModes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QCamera_CaptureModes, &a0, &a0State, &a1))
        {
             ::QCamera::CaptureModes*sipRes;

            sipRes = new  ::QCamera::CaptureModes((*a0 | a1));
            sipReleaseType(a0,sipType_QCamera_CaptureModes,a0State);

            return sipConvertFromNewType(sipRes,sipType_QCamera_CaptureModes,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QCamera_CaptureModes___iand__(PyObject *,PyObject *);}
static PyObject *slot_QCamera_CaptureModes___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QCamera_CaptureModes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QCamera::CaptureModes *sipCpp = reinterpret_cast< ::QCamera::CaptureModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCamera_CaptureModes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QCamera::CaptureModes::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QCamera_CaptureModes___and__(PyObject *,PyObject *);}
static PyObject *slot_QCamera_CaptureModes___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCamera::CaptureModes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QCamera_CaptureModes, &a0, &a0State, &a1))
        {
             ::QCamera::CaptureModes*sipRes;

            sipRes = new  ::QCamera::CaptureModes((*a0 & a1));
            sipReleaseType(a0,sipType_QCamera_CaptureModes,a0State);

            return sipConvertFromNewType(sipRes,sipType_QCamera_CaptureModes,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QCamera_CaptureModes___invert__(PyObject *);}
static PyObject *slot_QCamera_CaptureModes___invert__(PyObject *sipSelf)
{
     ::QCamera::CaptureModes *sipCpp = reinterpret_cast< ::QCamera::CaptureModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCamera_CaptureModes));

    if (!sipCpp)
        return 0;


    {
        {
             ::QCamera::CaptureModes*sipRes;

            sipRes = new  ::QCamera::CaptureModes(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QCamera_CaptureModes,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QCamera_CaptureModes___int__(PyObject *);}
static PyObject *slot_QCamera_CaptureModes___int__(PyObject *sipSelf)
{
     ::QCamera::CaptureModes *sipCpp = reinterpret_cast< ::QCamera::CaptureModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCamera_CaptureModes));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QCamera_CaptureModes(void *, int);}
static void release_QCamera_CaptureModes(void *sipCppV, int)
{
    delete reinterpret_cast< ::QCamera::CaptureModes *>(sipCppV);
}


extern "C" {static void assign_QCamera_CaptureModes(void *, SIP_SSIZE_T, const void *);}
static void assign_QCamera_CaptureModes(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QCamera::CaptureModes *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QCamera::CaptureModes *>(sipSrc);
}


extern "C" {static void *array_QCamera_CaptureModes(SIP_SSIZE_T);}
static void *array_QCamera_CaptureModes(SIP_SSIZE_T sipNrElem)
{
    return new  ::QCamera::CaptureModes[sipNrElem];
}


extern "C" {static void *copy_QCamera_CaptureModes(const void *, SIP_SSIZE_T);}
static void *copy_QCamera_CaptureModes(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QCamera::CaptureModes(reinterpret_cast<const  ::QCamera::CaptureModes *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QCamera_CaptureModes(sipSimpleWrapper *);}
static void dealloc_QCamera_CaptureModes(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QCamera_CaptureModes(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QCamera_CaptureModes(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QCamera_CaptureModes(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QCamera::CaptureModes *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QCamera::CaptureModes();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QCamera::CaptureModes(a0);

            return sipCpp;
        }
    }

    {
        const  ::QCamera::CaptureModes* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QCamera_CaptureModes, &a0, &a0State))
        {
            sipCpp = new  ::QCamera::CaptureModes(*a0);
            sipReleaseType(const_cast< ::QCamera::CaptureModes *>(a0),sipType_QCamera_CaptureModes,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QCamera_CaptureModes(PyObject *, void **, int *, PyObject *);}
static int convertTo_QCamera_CaptureModes(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QCamera::CaptureModes **sipCppPtr = reinterpret_cast< ::QCamera::CaptureModes **>(sipCppPtrV);

#line 121 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QCamera::CaptureModes is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QCamera_CaptureMode)) ||
            sipCanConvertToType(sipPy, sipType_QCamera_CaptureModes, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QCamera_CaptureMode)))
{
    *sipCppPtr = new QCamera::CaptureModes(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QCamera::CaptureModes *>(sipConvertToType(sipPy, sipType_QCamera_CaptureModes, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 33034 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QCamera_CaptureModes[] = {
    {(void *)slot_QCamera_CaptureModes___hash__, hash_slot},
    {(void *)slot_QCamera_CaptureModes___bool__, bool_slot},
    {(void *)slot_QCamera_CaptureModes___ne__, ne_slot},
    {(void *)slot_QCamera_CaptureModes___eq__, eq_slot},
    {(void *)slot_QCamera_CaptureModes___ixor__, ixor_slot},
    {(void *)slot_QCamera_CaptureModes___xor__, xor_slot},
    {(void *)slot_QCamera_CaptureModes___ior__, ior_slot},
    {(void *)slot_QCamera_CaptureModes___or__, or_slot},
    {(void *)slot_QCamera_CaptureModes___iand__, iand_slot},
    {(void *)slot_QCamera_CaptureModes___and__, and_slot},
    {(void *)slot_QCamera_CaptureModes___invert__, invert_slot},
    {(void *)slot_QCamera_CaptureModes___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QCamera_CaptureModes, "\1QCamera.CaptureModes()\n"
    "QCamera.CaptureModes(Union[QCamera.CaptureModes, QCamera.CaptureMode])\n"
    "QCamera.CaptureModes(QCamera.CaptureModes)");


static pyqt5ClassPluginDef plugin_QCamera_CaptureModes = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QCamera_CaptureModes = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QCamera__CaptureModes,
        {0},
        &plugin_QCamera_CaptureModes
    },
    {
        sipNameNr_CaptureModes,
        {25, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QCamera_CaptureModes,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QCamera_CaptureModes,
    init_type_QCamera_CaptureModes,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QCamera_CaptureModes,
    assign_QCamera_CaptureModes,
    array_QCamera_CaptureModes,
    copy_QCamera_CaptureModes,
    release_QCamera_CaptureModes,
    0,
    convertTo_QCamera_CaptureModes,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcamera.sip"
#include <qcamera.h>
#line 33120 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 33124 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 33127 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcamerainfo.sip"
#include <qcamerainfo.h>
#line 33130 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qpymultimedia_qlist.sip"
#include <qvideoframe.h>
#line 33133 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qvideoframe.sip"
#include <qvideoframe.h>
#line 33136 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcameraviewfindersettings.sip"
#include <qcameraviewfindersettings.h>
#line 33139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 33142 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcamera.sip"
#include <qcamera.h>
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcamera.sip"
#include <qcamera.h>
#line 33147 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 33150 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 33153 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 33156 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcamera.sip"
#include <qcamera.h>
#line 33159 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcamera.sip"
#include <qcamera.h>
#line 33162 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 33165 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qabstractvideosurface.sip"
#include <qabstractvideosurface.h>
#line 33168 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcameraimageprocessing.sip"
#include <qcameraimageprocessing.h>
#line 33171 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 52 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcamerafocus.sip"
#include <qcamerafocus.h>
#line 33174 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qcameraexposure.sip"
#include <qcameraexposure.h>
#line 33177 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmultimedia.sip"
#include <qmultimedia.h>
#line 33180 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 33183 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 33186 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 33189 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaservice.sip"
#include <qmediaservice.h>
#line 33192 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 33195 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33198 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33201 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33204 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 33207 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33210 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 33213 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33216 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 33219 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 33222 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 33225 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


class sipQCamera : public  ::QCamera
{
public:
    sipQCamera( ::QObject*);
    sipQCamera(const  ::QByteArray&, ::QObject*);
    sipQCamera(const  ::QCameraInfo&, ::QObject*);
    sipQCamera( ::QCamera::Position, ::QObject*);
    virtual ~sipQCamera();

    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 sipProtect_addPropertyWatch(const  ::QByteArray&);
    void sipProtect_removePropertyWatch(const  ::QByteArray&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    bool isAvailable() const;
     ::QMultimedia::AvailabilityStatus availability() const;
     ::QMediaService* service() const;
    bool bind( ::QObject*);
    void unbind( ::QObject*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQCamera(const sipQCamera &);
    sipQCamera &operator = (const sipQCamera &);

    char sipPyMethods[12];
};

sipQCamera::sipQCamera( ::QObject*a0):  ::QCamera(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQCamera::sipQCamera(const  ::QByteArray& a0, ::QObject*a1):  ::QCamera(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQCamera::sipQCamera(const  ::QCameraInfo& a0, ::QObject*a1):  ::QCamera(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQCamera::sipQCamera( ::QCamera::Position a0, ::QObject*a1):  ::QCamera(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQCamera::~sipQCamera()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQCamera::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf,sipType_QCamera);

    return  ::QCamera::metaObject();
}

int sipQCamera::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QCamera::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtMultimedia_qt_metacall(sipPySelf,sipType_QCamera,_c,_id,_a);

    return _id;
}

void *sipQCamera::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtMultimedia_qt_metacast(sipPySelf, sipType_QCamera, _clname, &sipCpp) ? sipCpp :  ::QCamera::qt_metacast(_clname));
}

void sipQCamera::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QCamera::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtMultimedia_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCamera::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QCamera::connectNotify(a0);
        return;
    }

    extern void sipVH_QtMultimedia_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCamera::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QCamera::customEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtMultimedia_6(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCamera::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QCamera::childEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtMultimedia_7(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCamera::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QCamera::timerEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtMultimedia_8(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQCamera::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QCamera::eventFilter(a0,a1);

    extern bool sipVH_QtMultimedia_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtMultimedia_9(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQCamera::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QCamera::event(a0);

    extern bool sipVH_QtMultimedia_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtMultimedia_10(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQCamera::isAvailable() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_isAvailable);

    if (!sipMeth)
        return  ::QCamera::isAvailable();

    extern bool sipVH_QtMultimedia_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtMultimedia_16(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QMultimedia::AvailabilityStatus sipQCamera::availability() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_availability);

    if (!sipMeth)
        return  ::QCamera::availability();

    extern  ::QMultimedia::AvailabilityStatus sipVH_QtMultimedia_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtMultimedia_17(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QMediaService* sipQCamera::service() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_service);

    if (!sipMeth)
        return  ::QCamera::service();

    extern  ::QMediaService* sipVH_QtMultimedia_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtMultimedia_18(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQCamera::bind( ::QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_bind);

    if (!sipMeth)
        return  ::QCamera::bind(a0);

    extern bool sipVH_QtMultimedia_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*);

    return sipVH_QtMultimedia_19(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQCamera::unbind( ::QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_unbind);

    if (!sipMeth)
    {
         ::QCamera::unbind(a0);
        return;
    }

    extern void sipVH_QtMultimedia_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*);

    sipVH_QtMultimedia_20(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQCamera::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQCamera::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQCamera::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQCamera::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQCamera::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQCamera::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQCamera::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQCamera::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQCamera::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

void sipQCamera::sipProtect_addPropertyWatch(const  ::QByteArray& a0)
{
     ::QMediaObject::addPropertyWatch(a0);
}

void sipQCamera::sipProtect_removePropertyWatch(const  ::QByteArray& a0)
{
     ::QMediaObject::removePropertyWatch(a0);
}


PyDoc_STRVAR(doc_QCamera_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QCamera_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCamera_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQCamera *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCamera, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 33632 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCamera, sipName_sender, doc_QCamera_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QCamera_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCamera_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQCamera *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QCamera, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 33692 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.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_QCamera, sipName_receivers, doc_QCamera_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QCamera_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCamera_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQCamera *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCamera, &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_QCamera, sipName_timerEvent, doc_QCamera_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QCamera_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCamera_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQCamera *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCamera, &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_QCamera, sipName_childEvent, doc_QCamera_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QCamera_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCamera_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQCamera *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCamera, &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_QCamera, sipName_customEvent, doc_QCamera_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QCamera_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCamera_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQCamera *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QCamera, &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_QCamera, sipName_connectNotify, doc_QCamera_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QCamera_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCamera_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQCamera *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QCamera, &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_QCamera, sipName_disconnectNotify, doc_QCamera_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QCamera_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCamera_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQCamera *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCamera, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCamera, sipName_senderSignalIndex, doc_QCamera_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QCamera_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCamera_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQCamera *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QCamera, &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_QCamera, sipName_isSignalConnected, doc_QCamera_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_addPropertyWatch, "addPropertyWatch(self, Union[QByteArray, bytes, bytearray])");

extern "C" {static PyObject *meth_QCamera_addPropertyWatch(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCamera_addPropertyWatch(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
        sipQCamera *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QCamera, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            sipCpp->sipProtect_addPropertyWatch(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCamera, sipName_addPropertyWatch, doc_QCamera_addPropertyWatch);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_removePropertyWatch, "removePropertyWatch(self, Union[QByteArray, bytes, bytearray])");

extern "C" {static PyObject *meth_QCamera_removePropertyWatch(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCamera_removePropertyWatch(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
        sipQCamera *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QCamera, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            sipCpp->sipProtect_removePropertyWatch(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCamera, sipName_removePropertyWatch, doc_QCamera_removePropertyWatch);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_availableDevices, "availableDevices() -> List[QByteArray]");

extern "C" {static PyObject *meth_QCamera_availableDevices(PyObject *, PyObject *);}
static PyObject *meth_QCamera_availableDevices(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QList< ::QByteArray>*sipRes;

            sipRes = new QList< ::QByteArray>( ::QCamera::availableDevices());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCamera, sipName_availableDevices, doc_QCamera_availableDevices);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_deviceDescription, "deviceDescription(Union[QByteArray, bytes, bytearray]) -> str");

extern "C" {static PyObject *meth_QCamera_deviceDescription(PyObject *, PyObject *);}
static PyObject *meth_QCamera_deviceDescription(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QByteArray, &a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString( ::QCamera::deviceDescription(*a0));
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCamera, sipName_deviceDescription, doc_QCamera_deviceDescription);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_availability, "availability(self) -> QMultimedia.AvailabilityStatus");

extern "C" {static PyObject *meth_QCamera_availability(PyObject *, PyObject *);}
static PyObject *meth_QCamera_availability(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QCamera *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCamera, &sipCpp))
        {
             ::QMultimedia::AvailabilityStatus sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QCamera::availability() : sipCpp->availability());

            return sipConvertFromEnum(sipRes,sipType_QMultimedia_AvailabilityStatus);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCamera, sipName_availability, doc_QCamera_availability);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_state, "state(self) -> QCamera.State");

extern "C" {static PyObject *meth_QCamera_state(PyObject *, PyObject *);}
static PyObject *meth_QCamera_state(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCamera *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCamera, &sipCpp))
        {
             ::QCamera::State sipRes;

            sipRes = sipCpp->state();

            return sipConvertFromEnum(sipRes,sipType_QCamera_State);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCamera, sipName_state, doc_QCamera_state);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_status, "status(self) -> QCamera.Status");

extern "C" {static PyObject *meth_QCamera_status(PyObject *, PyObject *);}
static PyObject *meth_QCamera_status(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCamera *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCamera, &sipCpp))
        {
             ::QCamera::Status sipRes;

            sipRes = sipCpp->status();

            return sipConvertFromEnum(sipRes,sipType_QCamera_Status);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCamera, sipName_status, doc_QCamera_status);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_captureMode, "captureMode(self) -> QCamera.CaptureModes");

extern "C" {static PyObject *meth_QCamera_captureMode(PyObject *, PyObject *);}
static PyObject *meth_QCamera_captureMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCamera *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCamera, &sipCpp))
        {
             ::QCamera::CaptureModes*sipRes;

            sipRes = new  ::QCamera::CaptureModes(sipCpp->captureMode());

            return sipConvertFromNewType(sipRes,sipType_QCamera_CaptureModes,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCamera, sipName_captureMode, doc_QCamera_captureMode);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_isCaptureModeSupported, "isCaptureModeSupported(self, Union[QCamera.CaptureModes, QCamera.CaptureMode]) -> bool");

extern "C" {static PyObject *meth_QCamera_isCaptureModeSupported(PyObject *, PyObject *);}
static PyObject *meth_QCamera_isCaptureModeSupported(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCamera::CaptureModes* a0;
        int a0State = 0;
        const  ::QCamera *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCamera, &sipCpp, sipType_QCamera_CaptureModes, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->isCaptureModeSupported(*a0);
            sipReleaseType(a0,sipType_QCamera_CaptureModes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCamera, sipName_isCaptureModeSupported, doc_QCamera_isCaptureModeSupported);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_exposure, "exposure(self) -> QCameraExposure");

extern "C" {static PyObject *meth_QCamera_exposure(PyObject *, PyObject *);}
static PyObject *meth_QCamera_exposure(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCamera *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCamera, &sipCpp))
        {
             ::QCameraExposure*sipRes;

            sipRes = sipCpp->exposure();

            return sipConvertFromType(sipRes,sipType_QCameraExposure,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCamera, sipName_exposure, doc_QCamera_exposure);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_focus, "focus(self) -> QCameraFocus");

extern "C" {static PyObject *meth_QCamera_focus(PyObject *, PyObject *);}
static PyObject *meth_QCamera_focus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCamera *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCamera, &sipCpp))
        {
             ::QCameraFocus*sipRes;

            sipRes = sipCpp->focus();

            return sipConvertFromType(sipRes,sipType_QCameraFocus,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCamera, sipName_focus, doc_QCamera_focus);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_imageProcessing, "imageProcessing(self) -> QCameraImageProcessing");

extern "C" {static PyObject *meth_QCamera_imageProcessing(PyObject *, PyObject *);}
static PyObject *meth_QCamera_imageProcessing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCamera *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCamera, &sipCpp))
        {
             ::QCameraImageProcessing*sipRes;

            sipRes = sipCpp->imageProcessing();

            return sipConvertFromType(sipRes,sipType_QCameraImageProcessing,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCamera, sipName_imageProcessing, doc_QCamera_imageProcessing);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_setViewfinder, "setViewfinder(self, QVideoWidget)\n"
    "setViewfinder(self, QGraphicsVideoItem)\n"
    "setViewfinder(self, QAbstractVideoSurface)");

extern "C" {static PyObject *meth_QCamera_setViewfinder(PyObject *, PyObject *);}
static PyObject *meth_QCamera_setViewfinder(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QVideoWidget* a0;
         ::QCamera *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QCamera, &sipCpp, sipType_QVideoWidget, &a0))
        {
            sipCpp->setViewfinder(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::QGraphicsVideoItem* a0;
         ::QCamera *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QCamera, &sipCpp, sipType_QGraphicsVideoItem, &a0))
        {
            sipCpp->setViewfinder(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::QAbstractVideoSurface* a0;
         ::QCamera *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QCamera, &sipCpp, sipType_QAbstractVideoSurface, &a0))
        {
            sipCpp->setViewfinder(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCamera, sipName_setViewfinder, doc_QCamera_setViewfinder);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_error, "error(self) -> QCamera.Error");

extern "C" {static PyObject *meth_QCamera_error(PyObject *, PyObject *);}
static PyObject *meth_QCamera_error(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCamera *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCamera, &sipCpp))
        {
             ::QCamera::Error sipRes;

            sipRes = sipCpp->error();

            return sipConvertFromEnum(sipRes,sipType_QCamera_Error);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCamera, sipName_error, doc_QCamera_error);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_errorString, "errorString(self) -> str");

extern "C" {static PyObject *meth_QCamera_errorString(PyObject *, PyObject *);}
static PyObject *meth_QCamera_errorString(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCamera *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCamera, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->errorString());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCamera, sipName_errorString, doc_QCamera_errorString);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_supportedLocks, "supportedLocks(self) -> QCamera.LockTypes");

extern "C" {static PyObject *meth_QCamera_supportedLocks(PyObject *, PyObject *);}
static PyObject *meth_QCamera_supportedLocks(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCamera *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCamera, &sipCpp))
        {
             ::QCamera::LockTypes*sipRes;

            sipRes = new  ::QCamera::LockTypes(sipCpp->supportedLocks());

            return sipConvertFromNewType(sipRes,sipType_QCamera_LockTypes,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCamera, sipName_supportedLocks, doc_QCamera_supportedLocks);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_requestedLocks, "requestedLocks(self) -> QCamera.LockTypes");

extern "C" {static PyObject *meth_QCamera_requestedLocks(PyObject *, PyObject *);}
static PyObject *meth_QCamera_requestedLocks(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCamera *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCamera, &sipCpp))
        {
             ::QCamera::LockTypes*sipRes;

            sipRes = new  ::QCamera::LockTypes(sipCpp->requestedLocks());

            return sipConvertFromNewType(sipRes,sipType_QCamera_LockTypes,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCamera, sipName_requestedLocks, doc_QCamera_requestedLocks);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_lockStatus, "lockStatus(self) -> QCamera.LockStatus\n"
    "lockStatus(self, QCamera.LockType) -> QCamera.LockStatus");

extern "C" {static PyObject *meth_QCamera_lockStatus(PyObject *, PyObject *);}
static PyObject *meth_QCamera_lockStatus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCamera *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCamera, &sipCpp))
        {
             ::QCamera::LockStatus sipRes;

            sipRes = sipCpp->lockStatus();

            return sipConvertFromEnum(sipRes,sipType_QCamera_LockStatus);
        }
    }

    {
         ::QCamera::LockType a0;
        const  ::QCamera *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QCamera, &sipCpp, sipType_QCamera_LockType, &a0))
        {
             ::QCamera::LockStatus sipRes;

            sipRes = sipCpp->lockStatus(a0);

            return sipConvertFromEnum(sipRes,sipType_QCamera_LockStatus);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCamera, sipName_lockStatus, doc_QCamera_lockStatus);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_setCaptureMode, "setCaptureMode(self, Union[QCamera.CaptureModes, QCamera.CaptureMode])");

extern "C" {static PyObject *meth_QCamera_setCaptureMode(PyObject *, PyObject *);}
static PyObject *meth_QCamera_setCaptureMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCamera::CaptureModes* a0;
        int a0State = 0;
         ::QCamera *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCamera, &sipCpp, sipType_QCamera_CaptureModes, &a0, &a0State))
        {
            sipCpp->setCaptureMode(*a0);
            sipReleaseType(a0,sipType_QCamera_CaptureModes,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCamera, sipName_setCaptureMode, doc_QCamera_setCaptureMode);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_load, "load(self)");

extern "C" {static PyObject *meth_QCamera_load(PyObject *, PyObject *);}
static PyObject *meth_QCamera_load(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCamera *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCamera, &sipCpp))
        {
            sipCpp->load();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCamera, sipName_load, doc_QCamera_load);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_unload, "unload(self)");

extern "C" {static PyObject *meth_QCamera_unload(PyObject *, PyObject *);}
static PyObject *meth_QCamera_unload(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCamera *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCamera, &sipCpp))
        {
            sipCpp->unload();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCamera, sipName_unload, doc_QCamera_unload);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_start, "start(self)");

extern "C" {static PyObject *meth_QCamera_start(PyObject *, PyObject *);}
static PyObject *meth_QCamera_start(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCamera *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCamera, &sipCpp))
        {
            sipCpp->start();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCamera, sipName_start, doc_QCamera_start);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_stop, "stop(self)");

extern "C" {static PyObject *meth_QCamera_stop(PyObject *, PyObject *);}
static PyObject *meth_QCamera_stop(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCamera *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCamera, &sipCpp))
        {
            sipCpp->stop();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCamera, sipName_stop, doc_QCamera_stop);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_searchAndLock, "searchAndLock(self)\n"
    "searchAndLock(self, Union[QCamera.LockTypes, QCamera.LockType])");

extern "C" {static PyObject *meth_QCamera_searchAndLock(PyObject *, PyObject *);}
static PyObject *meth_QCamera_searchAndLock(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCamera *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCamera, &sipCpp))
        {
            sipCpp->searchAndLock();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::QCamera::LockTypes* a0;
        int a0State = 0;
         ::QCamera *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCamera, &sipCpp, sipType_QCamera_LockTypes, &a0, &a0State))
        {
            sipCpp->searchAndLock(*a0);
            sipReleaseType(a0,sipType_QCamera_LockTypes,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCamera, sipName_searchAndLock, doc_QCamera_searchAndLock);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_unlock, "unlock(self)\n"
    "unlock(self, Union[QCamera.LockTypes, QCamera.LockType])");

extern "C" {static PyObject *meth_QCamera_unlock(PyObject *, PyObject *);}
static PyObject *meth_QCamera_unlock(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCamera *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCamera, &sipCpp))
        {
            sipCpp->unlock();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::QCamera::LockTypes* a0;
        int a0State = 0;
         ::QCamera *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCamera, &sipCpp, sipType_QCamera_LockTypes, &a0, &a0State))
        {
            sipCpp->unlock(*a0);
            sipReleaseType(a0,sipType_QCamera_LockTypes,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCamera, sipName_unlock, doc_QCamera_unlock);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_viewfinderSettings, "viewfinderSettings(self) -> QCameraViewfinderSettings");

extern "C" {static PyObject *meth_QCamera_viewfinderSettings(PyObject *, PyObject *);}
static PyObject *meth_QCamera_viewfinderSettings(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCamera *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCamera, &sipCpp))
        {
             ::QCameraViewfinderSettings*sipRes;

            sipRes = new  ::QCameraViewfinderSettings(sipCpp->viewfinderSettings());

            return sipConvertFromNewType(sipRes,sipType_QCameraViewfinderSettings,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCamera, sipName_viewfinderSettings, doc_QCamera_viewfinderSettings);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_setViewfinderSettings, "setViewfinderSettings(self, QCameraViewfinderSettings)");

extern "C" {static PyObject *meth_QCamera_setViewfinderSettings(PyObject *, PyObject *);}
static PyObject *meth_QCamera_setViewfinderSettings(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraViewfinderSettings* a0;
         ::QCamera *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QCamera, &sipCpp, sipType_QCameraViewfinderSettings, &a0))
        {
            sipCpp->setViewfinderSettings(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCamera, sipName_setViewfinderSettings, doc_QCamera_setViewfinderSettings);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_supportedViewfinderSettings, "supportedViewfinderSettings(self, settings: QCameraViewfinderSettings = QCameraViewfinderSettings()) -> object");

extern "C" {static PyObject *meth_QCamera_supportedViewfinderSettings(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCamera_supportedViewfinderSettings(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraViewfinderSettings& a0def = QCameraViewfinderSettings();
        const  ::QCameraViewfinderSettings* a0 = &a0def;
        const  ::QCamera *sipCpp;

        static const char *sipKwdList[] = {
            sipName_settings,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J9", &sipSelf, sipType_QCamera, &sipCpp, sipType_QCameraViewfinderSettings, &a0))
        {
            QList< ::QCameraViewfinderSettings>*sipRes;

            sipRes = new QList< ::QCameraViewfinderSettings>(sipCpp->supportedViewfinderSettings(*a0));

            return sipConvertFromNewType(sipRes,sipType_QList_0100QCameraViewfinderSettings,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCamera, sipName_supportedViewfinderSettings, doc_QCamera_supportedViewfinderSettings);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_supportedViewfinderResolutions, "supportedViewfinderResolutions(self, settings: QCameraViewfinderSettings = QCameraViewfinderSettings()) -> List[QSize]");

extern "C" {static PyObject *meth_QCamera_supportedViewfinderResolutions(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCamera_supportedViewfinderResolutions(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraViewfinderSettings& a0def = QCameraViewfinderSettings();
        const  ::QCameraViewfinderSettings* a0 = &a0def;
        const  ::QCamera *sipCpp;

        static const char *sipKwdList[] = {
            sipName_settings,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J9", &sipSelf, sipType_QCamera, &sipCpp, sipType_QCameraViewfinderSettings, &a0))
        {
            QList< ::QSize>*sipRes;

            sipRes = new QList< ::QSize>(sipCpp->supportedViewfinderResolutions(*a0));

            return sipConvertFromNewType(sipRes,sipType_QList_0100QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCamera, sipName_supportedViewfinderResolutions, doc_QCamera_supportedViewfinderResolutions);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_supportedViewfinderFrameRateRanges, "supportedViewfinderFrameRateRanges(self, settings: QCameraViewfinderSettings = QCameraViewfinderSettings()) -> object");

extern "C" {static PyObject *meth_QCamera_supportedViewfinderFrameRateRanges(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCamera_supportedViewfinderFrameRateRanges(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraViewfinderSettings& a0def = QCameraViewfinderSettings();
        const  ::QCameraViewfinderSettings* a0 = &a0def;
        const  ::QCamera *sipCpp;

        static const char *sipKwdList[] = {
            sipName_settings,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J9", &sipSelf, sipType_QCamera, &sipCpp, sipType_QCameraViewfinderSettings, &a0))
        {
            QList< ::QCamera::FrameRateRange>*sipRes;

            sipRes = new QList< ::QCamera::FrameRateRange>(sipCpp->supportedViewfinderFrameRateRanges(*a0));

            return sipConvertFromNewType(sipRes,sipType_QList_0100QCamera_FrameRateRange,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCamera, sipName_supportedViewfinderFrameRateRanges, doc_QCamera_supportedViewfinderFrameRateRanges);

    return NULL;
}


PyDoc_STRVAR(doc_QCamera_supportedViewfinderPixelFormats, "supportedViewfinderPixelFormats(self, settings: QCameraViewfinderSettings = QCameraViewfinderSettings()) -> List[QVideoFrame.PixelFormat]");

extern "C" {static PyObject *meth_QCamera_supportedViewfinderPixelFormats(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCamera_supportedViewfinderPixelFormats(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCameraViewfinderSettings& a0def = QCameraViewfinderSettings();
        const  ::QCameraViewfinderSettings* a0 = &a0def;
        const  ::QCamera *sipCpp;

        static const char *sipKwdList[] = {
            sipName_settings,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J9", &sipSelf, sipType_QCamera, &sipCpp, sipType_QCameraViewfinderSettings, &a0))
        {
             ::QList< ::QVideoFrame::PixelFormat>*sipRes;

            sipRes = new  ::QList< ::QVideoFrame::PixelFormat>(sipCpp->supportedViewfinderPixelFormats(*a0));

            return sipConvertFromNewType(sipRes,sipType_QList_0100QVideoFrame_PixelFormat,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCamera, sipName_supportedViewfinderPixelFormats, doc_QCamera_supportedViewfinderPixelFormats);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QCamera(void *, const sipTypeDef *);}
static void *cast_QCamera(void *sipCppV, const sipTypeDef *targetType)
{
     ::QCamera *sipCpp = reinterpret_cast< ::QCamera *>(sipCppV);

    if (targetType == sipType_QMediaObject)
        return static_cast< ::QMediaObject *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QCamera(void *, int);}
static void release_QCamera(void *sipCppV, int)
{
     ::QCamera *sipCpp = reinterpret_cast< ::QCamera *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QCamera(sipSimpleWrapper *);}
static void dealloc_QCamera(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQCamera *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QCamera(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QCamera(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QCamera(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQCamera *sipCpp = 0;

    {
         ::QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQCamera(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QByteArray* a0;
        int a0State = 0;
         ::QObject* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|JH", sipType_QByteArray, &a0, &a0State, sipType_QObject, &a1, sipOwner))
        {
            sipCpp = new sipQCamera(*a0,a1);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QCameraInfo* a0;
         ::QObject* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J9|JH", sipType_QCameraInfo, &a0, sipType_QObject, &a1, sipOwner))
        {
            sipCpp = new sipQCamera(*a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
         ::QCamera::Position a0;
         ::QObject* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "E|JH", sipType_QCamera_Position, &a0, sipType_QObject, &a1, sipOwner))
        {
            sipCpp = new sipQCamera(a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QCamera[] = {{76, 255, 1}};


static PyMethodDef methods_QCamera[] = {
    {SIP_MLNAME_CAST(sipName_addPropertyWatch), (PyCFunction)meth_QCamera_addPropertyWatch, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_availability), meth_QCamera_availability, METH_VARARGS, SIP_MLDOC_CAST(doc_QCamera_availability)},
    {SIP_MLNAME_CAST(sipName_availableDevices), meth_QCamera_availableDevices, METH_VARARGS, SIP_MLDOC_CAST(doc_QCamera_availableDevices)},
    {SIP_MLNAME_CAST(sipName_captureMode), meth_QCamera_captureMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QCamera_captureMode)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QCamera_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QCamera_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QCamera_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_deviceDescription), meth_QCamera_deviceDescription, METH_VARARGS, SIP_MLDOC_CAST(doc_QCamera_deviceDescription)},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QCamera_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_error), meth_QCamera_error, METH_VARARGS, SIP_MLDOC_CAST(doc_QCamera_error)},
    {SIP_MLNAME_CAST(sipName_errorString), meth_QCamera_errorString, METH_VARARGS, SIP_MLDOC_CAST(doc_QCamera_errorString)},
    {SIP_MLNAME_CAST(sipName_exposure), meth_QCamera_exposure, METH_VARARGS, SIP_MLDOC_CAST(doc_QCamera_exposure)},
    {SIP_MLNAME_CAST(sipName_focus), meth_QCamera_focus, METH_VARARGS, SIP_MLDOC_CAST(doc_QCamera_focus)},
    {SIP_MLNAME_CAST(sipName_imageProcessing), meth_QCamera_imageProcessing, METH_VARARGS, SIP_MLDOC_CAST(doc_QCamera_imageProcessing)},
    {SIP_MLNAME_CAST(sipName_isCaptureModeSupported), meth_QCamera_isCaptureModeSupported, METH_VARARGS, SIP_MLDOC_CAST(doc_QCamera_isCaptureModeSupported)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QCamera_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_load), meth_QCamera_load, METH_VARARGS, SIP_MLDOC_CAST(doc_QCamera_load)},
    {SIP_MLNAME_CAST(sipName_lockStatus), meth_QCamera_lockStatus, METH_VARARGS, SIP_MLDOC_CAST(doc_QCamera_lockStatus)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QCamera_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removePropertyWatch), (PyCFunction)meth_QCamera_removePropertyWatch, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_requestedLocks), meth_QCamera_requestedLocks, METH_VARARGS, SIP_MLDOC_CAST(doc_QCamera_requestedLocks)},
    {SIP_MLNAME_CAST(sipName_searchAndLock), meth_QCamera_searchAndLock, METH_VARARGS, SIP_MLDOC_CAST(doc_QCamera_searchAndLock)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QCamera_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QCamera_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setCaptureMode), meth_QCamera_setCaptureMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QCamera_setCaptureMode)},
    {SIP_MLNAME_CAST(sipName_setViewfinder), meth_QCamera_setViewfinder, METH_VARARGS, SIP_MLDOC_CAST(doc_QCamera_setViewfinder)},
    {SIP_MLNAME_CAST(sipName_setViewfinderSettings), meth_QCamera_setViewfinderSettings, METH_VARARGS, SIP_MLDOC_CAST(doc_QCamera_setViewfinderSettings)},
    {SIP_MLNAME_CAST(sipName_start), meth_QCamera_start, METH_VARARGS, SIP_MLDOC_CAST(doc_QCamera_start)},
    {SIP_MLNAME_CAST(sipName_state), meth_QCamera_state, METH_VARARGS, SIP_MLDOC_CAST(doc_QCamera_state)},
    {SIP_MLNAME_CAST(sipName_status), meth_QCamera_status, METH_VARARGS, SIP_MLDOC_CAST(doc_QCamera_status)},
    {SIP_MLNAME_CAST(sipName_stop), meth_QCamera_stop, METH_VARARGS, SIP_MLDOC_CAST(doc_QCamera_stop)},
    {SIP_MLNAME_CAST(sipName_supportedLocks), meth_QCamera_supportedLocks, METH_VARARGS, SIP_MLDOC_CAST(doc_QCamera_supportedLocks)},
    {SIP_MLNAME_CAST(sipName_supportedViewfinderFrameRateRanges), (PyCFunction)meth_QCamera_supportedViewfinderFrameRateRanges, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCamera_supportedViewfinderFrameRateRanges)},
    {SIP_MLNAME_CAST(sipName_supportedViewfinderPixelFormats), (PyCFunction)meth_QCamera_supportedViewfinderPixelFormats, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCamera_supportedViewfinderPixelFormats)},
    {SIP_MLNAME_CAST(sipName_supportedViewfinderResolutions), (PyCFunction)meth_QCamera_supportedViewfinderResolutions, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCamera_supportedViewfinderResolutions)},
    {SIP_MLNAME_CAST(sipName_supportedViewfinderSettings), (PyCFunction)meth_QCamera_supportedViewfinderSettings, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCamera_supportedViewfinderSettings)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QCamera_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_unload), meth_QCamera_unload, METH_VARARGS, SIP_MLDOC_CAST(doc_QCamera_unload)},
    {SIP_MLNAME_CAST(sipName_unlock), meth_QCamera_unlock, METH_VARARGS, SIP_MLDOC_CAST(doc_QCamera_unlock)},
    {SIP_MLNAME_CAST(sipName_viewfinderSettings), meth_QCamera_viewfinderSettings, METH_VARARGS, SIP_MLDOC_CAST(doc_QCamera_viewfinderSettings)}
};

static sipEnumMemberDef enummembers_QCamera[] = {
    {sipName_ActiveState, static_cast<int>( ::QCamera::ActiveState), 35},
    {sipName_ActiveStatus, static_cast<int>( ::QCamera::ActiveStatus), 36},
    {sipName_BackFace, static_cast<int>( ::QCamera::BackFace), 34},
    {sipName_CameraError, static_cast<int>( ::QCamera::CameraError), 28},
    {sipName_CaptureStillImage, static_cast<int>( ::QCamera::CaptureStillImage), 26},
    {sipName_CaptureVideo, static_cast<int>( ::QCamera::CaptureVideo), 26},
    {sipName_CaptureViewfinder, static_cast<int>( ::QCamera::CaptureViewfinder), 26},
    {sipName_FrontFace, static_cast<int>( ::QCamera::FrontFace), 34},
    {sipName_InvalidRequestError, static_cast<int>( ::QCamera::InvalidRequestError), 28},
    {sipName_LoadedState, static_cast<int>( ::QCamera::LoadedState), 35},
    {sipName_LoadedStatus, static_cast<int>( ::QCamera::LoadedStatus), 36},
    {sipName_LoadingStatus, static_cast<int>( ::QCamera::LoadingStatus), 36},
    {sipName_LockAcquired, static_cast<int>( ::QCamera::LockAcquired), 30},
    {sipName_LockExposure, static_cast<int>( ::QCamera::LockExposure), 32},
    {sipName_LockFailed, static_cast<int>( ::QCamera::LockFailed), 30},
    {sipName_LockFocus, static_cast<int>( ::QCamera::LockFocus), 32},
    {sipName_LockLost, static_cast<int>( ::QCamera::LockLost), 30},
    {sipName_LockTemporaryLost, static_cast<int>( ::QCamera::LockTemporaryLost), 30},
    {sipName_LockWhiteBalance, static_cast<int>( ::QCamera::LockWhiteBalance), 32},
    {sipName_Locked, static_cast<int>( ::QCamera::Locked), 31},
    {sipName_NoError, static_cast<int>( ::QCamera::NoError), 28},
    {sipName_NoLock, static_cast<int>( ::QCamera::NoLock), 32},
    {sipName_NotSupportedFeatureError, static_cast<int>( ::QCamera::NotSupportedFeatureError), 28},
    {sipName_Searching, static_cast<int>( ::QCamera::Searching), 31},
    {sipName_ServiceMissingError, static_cast<int>( ::QCamera::ServiceMissingError), 28},
    {sipName_StandbyStatus, static_cast<int>( ::QCamera::StandbyStatus), 36},
    {sipName_StartingStatus, static_cast<int>( ::QCamera::StartingStatus), 36},
    {sipName_StoppingStatus, static_cast<int>( ::QCamera::StoppingStatus), 36},
    {sipName_UnavailableStatus, static_cast<int>( ::QCamera::UnavailableStatus), 36},
    {sipName_UnloadedState, static_cast<int>( ::QCamera::UnloadedState), 35},
    {sipName_UnloadedStatus, static_cast<int>( ::QCamera::UnloadedStatus), 36},
    {sipName_UnloadingStatus, static_cast<int>( ::QCamera::UnloadingStatus), 36},
    {sipName_Unlocked, static_cast<int>( ::QCamera::Unlocked), 31},
    {sipName_UnspecifiedPosition, static_cast<int>( ::QCamera::UnspecifiedPosition), 34},
    {sipName_UserRequest, static_cast<int>( ::QCamera::UserRequest), 30},
};

PyDoc_STRVAR(doc_QCamera, "\1QCamera(parent: QObject = None)\n"
    "QCamera(Union[QByteArray, bytes, bytearray], parent: QObject = None)\n"
    "QCamera(QCameraInfo, parent: QObject = None)\n"
    "QCamera(QCamera.Position, parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QCamera[] = {
    {"lockStatusChanged(QCamera::LockStatus,QCamera::LockChangeReason)", "\1lockStatusChanged(self, QCamera.LockStatus, QCamera.LockChangeReason)", 0, 0},
    {"lockStatusChanged(QCamera::LockType,QCamera::LockStatus,QCamera::LockChangeReason)", "\1lockStatusChanged(self, QCamera.LockType, QCamera.LockStatus, QCamera.LockChangeReason)", 0, 0},
    {"lockFailed()", "\1lockFailed(self)", 0, 0},
    {"locked()", "\1locked(self)", 0, 0},
    {"statusChanged(QCamera::Status)", "\1statusChanged(self, QCamera.Status)", 0, 0},
    {"captureModeChanged(QCamera::CaptureModes)", "\1captureModeChanged(self, Union[QCamera.CaptureModes, QCamera.CaptureMode])", 0, 0},
    {"stateChanged(QCamera::State)", "\1stateChanged(self, QCamera.State)", 0, 0},
    {"error(QCamera::Error)", "\1error(self, QCamera.Error)", &methods_QCamera[9], 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QCamera = {
    & ::QCamera::staticMetaObject,
    0,
    signals_QCamera,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QCamera = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QCamera,
        {0},
        &plugin_QCamera
    },
    {
        sipNameNr_QCamera,
        {0, 0, 1},
        40, methods_QCamera,
        35, enummembers_QCamera,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QCamera,
    -1,
    -1,
    supers_QCamera,
    0,
    init_type_QCamera,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QCamera,
    0,
    0,
    0,
    release_QCamera,
    cast_QCamera,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qaudiorecorder.sip"
#include <qaudiorecorder.h>
#line 35183 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 35187 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 35190 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 35193 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaobject.sip"
#include <qmediaobject.h>
#line 35196 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmultimedia.sip"
#include <qmultimedia.h>
#line 35199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 35202 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 96 "sip/QtCore/qurl.sip"
#include <qurl.h>
#line 35205 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediarecorder.sip"
#include <qmediarecorder.h>
#line 35208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaencodersettings.sip"
#include <qmediaencodersettings.h>
#line 35211 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 57 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaencodersettings.sip"
#include <qmediaencodersettings.h>
#line 35214 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 746 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 35217 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 35220 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 35223 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 642 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 35226 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 35229 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 35232 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 35235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 35238 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 35241 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 35244 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 35247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 35250 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 35253 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 35256 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 35259 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 35262 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 35265 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


class sipQAudioRecorder : public  ::QAudioRecorder
{
public:
    sipQAudioRecorder( ::QObject*);
    virtual ~sipQAudioRecorder();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
     ::QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool, ::QTimerEvent*);
    void sipProtectVirt_childEvent(bool, ::QChildEvent*);
    void sipProtectVirt_customEvent(bool, ::QEvent*);
    void sipProtectVirt_connectNotify(bool,const  ::QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const  ::QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const  ::QMetaMethod&) const;
    bool sipProtectVirt_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*);
    bool event( ::QEvent*);
    bool setMediaObject( ::QMediaObject*);
     ::QMediaObject* mediaObject() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQAudioRecorder(const sipQAudioRecorder &);
    sipQAudioRecorder &operator = (const sipQAudioRecorder &);

    char sipPyMethods[9];
};

sipQAudioRecorder::sipQAudioRecorder( ::QObject*a0):  ::QAudioRecorder(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAudioRecorder::~sipQAudioRecorder()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQAudioRecorder::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf,sipType_QAudioRecorder);

    return  ::QAudioRecorder::metaObject();
}

int sipQAudioRecorder::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QAudioRecorder::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtMultimedia_qt_metacall(sipPySelf,sipType_QAudioRecorder,_c,_id,_a);

    return _id;
}

void *sipQAudioRecorder::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtMultimedia_qt_metacast(sipPySelf, sipType_QAudioRecorder, _clname, &sipCpp) ? sipCpp :  ::QAudioRecorder::qt_metacast(_clname));
}

void sipQAudioRecorder::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QAudioRecorder::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtMultimedia_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAudioRecorder::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QAudioRecorder::connectNotify(a0);
        return;
    }

    extern void sipVH_QtMultimedia_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAudioRecorder::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QAudioRecorder::customEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtMultimedia_6(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAudioRecorder::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QAudioRecorder::childEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtMultimedia_7(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAudioRecorder::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QAudioRecorder::timerEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtMultimedia_8(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQAudioRecorder::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QAudioRecorder::eventFilter(a0,a1);

    extern bool sipVH_QtMultimedia_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtMultimedia_9(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQAudioRecorder::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QAudioRecorder::event(a0);

    extern bool sipVH_QtMultimedia_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtMultimedia_10(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQAudioRecorder::setMediaObject( ::QMediaObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_setMediaObject);

    if (!sipMeth)
        return  ::QAudioRecorder::setMediaObject(a0);

    extern bool sipVH_QtMultimedia_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMediaObject*);

    return sipVH_QtMultimedia_22(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QMediaObject* sipQAudioRecorder::mediaObject() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_mediaObject);

    if (!sipMeth)
        return  ::QAudioRecorder::mediaObject();

    extern  ::QMediaObject* sipVH_QtMultimedia_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtMultimedia_21(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QObject* sipQAudioRecorder::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQAudioRecorder::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQAudioRecorder::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQAudioRecorder::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQAudioRecorder::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQAudioRecorder::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQAudioRecorder::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQAudioRecorder::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQAudioRecorder::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

bool sipQAudioRecorder::sipProtectVirt_setMediaObject(bool sipSelfWasArg, ::QMediaObject*a0)
{
    return (sipSelfWasArg ?  ::QMediaRecorder::setMediaObject(a0) : setMediaObject(a0));
}


PyDoc_STRVAR(doc_QAudioRecorder_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QAudioRecorder_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioRecorder_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAudioRecorder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAudioRecorder, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 35597 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioRecorder, sipName_sender, doc_QAudioRecorder_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioRecorder_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QAudioRecorder_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioRecorder_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQAudioRecorder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QAudioRecorder, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 35657 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.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_QAudioRecorder, sipName_receivers, doc_QAudioRecorder_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioRecorder_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QAudioRecorder_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioRecorder_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQAudioRecorder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAudioRecorder, &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_QAudioRecorder, sipName_timerEvent, doc_QAudioRecorder_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioRecorder_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QAudioRecorder_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioRecorder_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQAudioRecorder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAudioRecorder, &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_QAudioRecorder, sipName_childEvent, doc_QAudioRecorder_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioRecorder_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QAudioRecorder_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioRecorder_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQAudioRecorder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAudioRecorder, &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_QAudioRecorder, sipName_customEvent, doc_QAudioRecorder_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioRecorder_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QAudioRecorder_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioRecorder_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQAudioRecorder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAudioRecorder, &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_QAudioRecorder, sipName_connectNotify, doc_QAudioRecorder_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioRecorder_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QAudioRecorder_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioRecorder_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQAudioRecorder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAudioRecorder, &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_QAudioRecorder, sipName_disconnectNotify, doc_QAudioRecorder_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioRecorder_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QAudioRecorder_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioRecorder_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAudioRecorder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAudioRecorder, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioRecorder, sipName_senderSignalIndex, doc_QAudioRecorder_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioRecorder_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QAudioRecorder_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioRecorder_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQAudioRecorder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAudioRecorder, &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_QAudioRecorder, sipName_isSignalConnected, doc_QAudioRecorder_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioRecorder_setMediaObject, "setMediaObject(self, QMediaObject) -> bool");

extern "C" {static PyObject *meth_QAudioRecorder_setMediaObject(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioRecorder_setMediaObject(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMediaObject* a0;
        sipQAudioRecorder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAudioRecorder, &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_QAudioRecorder, sipName_setMediaObject, doc_QAudioRecorder_setMediaObject);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioRecorder_audioInputs, "audioInputs(self) -> List[str]");

extern "C" {static PyObject *meth_QAudioRecorder_audioInputs(PyObject *, PyObject *);}
static PyObject *meth_QAudioRecorder_audioInputs(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioRecorder, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->audioInputs());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioRecorder, sipName_audioInputs, doc_QAudioRecorder_audioInputs);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioRecorder_defaultAudioInput, "defaultAudioInput(self) -> str");

extern "C" {static PyObject *meth_QAudioRecorder_defaultAudioInput(PyObject *, PyObject *);}
static PyObject *meth_QAudioRecorder_defaultAudioInput(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioRecorder, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->defaultAudioInput());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioRecorder, sipName_defaultAudioInput, doc_QAudioRecorder_defaultAudioInput);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioRecorder_audioInputDescription, "audioInputDescription(self, str) -> str");

extern "C" {static PyObject *meth_QAudioRecorder_audioInputDescription(PyObject *, PyObject *);}
static PyObject *meth_QAudioRecorder_audioInputDescription(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QAudioRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QAudioRecorder, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->audioInputDescription(*a0));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioRecorder, sipName_audioInputDescription, doc_QAudioRecorder_audioInputDescription);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioRecorder_audioInput, "audioInput(self) -> str");

extern "C" {static PyObject *meth_QAudioRecorder_audioInput(PyObject *, PyObject *);}
static PyObject *meth_QAudioRecorder_audioInput(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioRecorder, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->audioInput());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioRecorder, sipName_audioInput, doc_QAudioRecorder_audioInput);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioRecorder_setAudioInput, "setAudioInput(self, str)");

extern "C" {static PyObject *meth_QAudioRecorder_setAudioInput(PyObject *, PyObject *);}
static PyObject *meth_QAudioRecorder_setAudioInput(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QAudioRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QAudioRecorder, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setAudioInput(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioRecorder, sipName_setAudioInput, doc_QAudioRecorder_setAudioInput);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QAudioRecorder(void *, const sipTypeDef *);}
static void *cast_QAudioRecorder(void *sipCppV, const sipTypeDef *targetType)
{
     ::QAudioRecorder *sipCpp = reinterpret_cast< ::QAudioRecorder *>(sipCppV);

    if (targetType == sipType_QMediaRecorder)
        return static_cast< ::QMediaRecorder *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QMediaBindableInterface)
        return static_cast< ::QMediaBindableInterface *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QAudioRecorder(void *, int);}
static void release_QAudioRecorder(void *sipCppV, int)
{
     ::QAudioRecorder *sipCpp = reinterpret_cast< ::QAudioRecorder *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QAudioRecorder(sipSimpleWrapper *);}
static void dealloc_QAudioRecorder(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQAudioRecorder *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QAudioRecorder(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QAudioRecorder(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QAudioRecorder(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQAudioRecorder *sipCpp = 0;

    {
         ::QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQAudioRecorder(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QAudioRecorder[] = {{86, 255, 1}};


static PyMethodDef methods_QAudioRecorder[] = {
    {SIP_MLNAME_CAST(sipName_audioInput), meth_QAudioRecorder_audioInput, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioRecorder_audioInput)},
    {SIP_MLNAME_CAST(sipName_audioInputDescription), meth_QAudioRecorder_audioInputDescription, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioRecorder_audioInputDescription)},
    {SIP_MLNAME_CAST(sipName_audioInputs), meth_QAudioRecorder_audioInputs, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioRecorder_audioInputs)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QAudioRecorder_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QAudioRecorder_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QAudioRecorder_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultAudioInput), meth_QAudioRecorder_defaultAudioInput, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioRecorder_defaultAudioInput)},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QAudioRecorder_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QAudioRecorder_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QAudioRecorder_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QAudioRecorder_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QAudioRecorder_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAudioInput), meth_QAudioRecorder_setAudioInput, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioRecorder_setAudioInput)},
    {SIP_MLNAME_CAST(sipName_setMediaObject), (PyCFunction)meth_QAudioRecorder_setMediaObject, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QAudioRecorder_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QAudioRecorder, "\1QAudioRecorder(parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QAudioRecorder[] = {
    {"availableAudioInputsChanged()", "\1availableAudioInputsChanged(self)", 0, 0},
    {"audioInputChanged(QString)", "\1audioInputChanged(self, str)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QAudioRecorder = {
    & ::QAudioRecorder::staticMetaObject,
    0,
    signals_QAudioRecorder,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QAudioRecorder = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QAudioRecorder,
        {0},
        &plugin_QAudioRecorder
    },
    {
        sipNameNr_QAudioRecorder,
        {0, 0, 1},
        15, methods_QAudioRecorder,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAudioRecorder,
    -1,
    -1,
    supers_QAudioRecorder,
    0,
    init_type_QAudioRecorder,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QAudioRecorder,
    0,
    0,
    0,
    release_QAudioRecorder,
    cast_QAudioRecorder,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediarecorder.sip"
#include <qmediarecorder.h>
#line 36219 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaobject.sip"
#include <qmediaobject.h>
#line 36223 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 36226 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmultimedia.sip"
#include <qmultimedia.h>
#line 36229 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 36232 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 36235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 96 "sip/QtCore/qurl.sip"
#include <qurl.h>
#line 36238 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 36241 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaencodersettings.sip"
#include <qmediaencodersettings.h>
#line 36244 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 57 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaencodersettings.sip"
#include <qmediaencodersettings.h>
#line 36247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 746 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 36250 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 36253 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 36256 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 642 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 36259 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 36262 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 36265 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 36268 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 36271 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 36274 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 36277 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 36280 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 36283 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 36286 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 36289 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 36292 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 36295 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 36298 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


class sipQMediaRecorder : public  ::QMediaRecorder
{
public:
    sipQMediaRecorder( ::QMediaObject*, ::QObject*);
    virtual ~sipQMediaRecorder();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
     ::QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool, ::QTimerEvent*);
    void sipProtectVirt_childEvent(bool, ::QChildEvent*);
    void sipProtectVirt_customEvent(bool, ::QEvent*);
    void sipProtectVirt_connectNotify(bool,const  ::QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const  ::QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const  ::QMetaMethod&) const;
    bool sipProtectVirt_setMediaObject(bool, ::QMediaObject*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
     ::QMediaObject* mediaObject() const;
    bool setMediaObject( ::QMediaObject*);
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQMediaRecorder(const sipQMediaRecorder &);
    sipQMediaRecorder &operator = (const sipQMediaRecorder &);

    char sipPyMethods[9];
};

sipQMediaRecorder::sipQMediaRecorder( ::QMediaObject*a0, ::QObject*a1):  ::QMediaRecorder(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQMediaRecorder::~sipQMediaRecorder()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQMediaRecorder::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf,sipType_QMediaRecorder);

    return  ::QMediaRecorder::metaObject();
}

int sipQMediaRecorder::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QMediaRecorder::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtMultimedia_qt_metacall(sipPySelf,sipType_QMediaRecorder,_c,_id,_a);

    return _id;
}

void *sipQMediaRecorder::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtMultimedia_qt_metacast(sipPySelf, sipType_QMediaRecorder, _clname, &sipCpp) ? sipCpp :  ::QMediaRecorder::qt_metacast(_clname));
}

 ::QMediaObject* sipQMediaRecorder::mediaObject() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_mediaObject);

    if (!sipMeth)
        return  ::QMediaRecorder::mediaObject();

    extern  ::QMediaObject* sipVH_QtMultimedia_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtMultimedia_21(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQMediaRecorder::setMediaObject( ::QMediaObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_setMediaObject);

    if (!sipMeth)
        return  ::QMediaRecorder::setMediaObject(a0);

    extern bool sipVH_QtMultimedia_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMediaObject*);

    return sipVH_QtMultimedia_22(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQMediaRecorder::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QMediaRecorder::event(a0);

    extern bool sipVH_QtMultimedia_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtMultimedia_10(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQMediaRecorder::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QMediaRecorder::eventFilter(a0,a1);

    extern bool sipVH_QtMultimedia_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtMultimedia_9(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQMediaRecorder::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QMediaRecorder::timerEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtMultimedia_8(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMediaRecorder::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QMediaRecorder::childEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtMultimedia_7(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMediaRecorder::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QMediaRecorder::customEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtMultimedia_6(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMediaRecorder::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QMediaRecorder::connectNotify(a0);
        return;
    }

    extern void sipVH_QtMultimedia_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMediaRecorder::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QMediaRecorder::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtMultimedia_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQMediaRecorder::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQMediaRecorder::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQMediaRecorder::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQMediaRecorder::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQMediaRecorder::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQMediaRecorder::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQMediaRecorder::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQMediaRecorder::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQMediaRecorder::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

bool sipQMediaRecorder::sipProtectVirt_setMediaObject(bool sipSelfWasArg, ::QMediaObject*a0)
{
    return (sipSelfWasArg ?  ::QMediaRecorder::setMediaObject(a0) : setMediaObject(a0));
}


PyDoc_STRVAR(doc_QMediaRecorder_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QMediaRecorder_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQMediaRecorder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMediaRecorder, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 36630 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_sender, doc_QMediaRecorder_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QMediaRecorder_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQMediaRecorder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QMediaRecorder, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 36690 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.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_QMediaRecorder, sipName_receivers, doc_QMediaRecorder_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QMediaRecorder_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQMediaRecorder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMediaRecorder, &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_QMediaRecorder, sipName_timerEvent, doc_QMediaRecorder_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QMediaRecorder_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQMediaRecorder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMediaRecorder, &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_QMediaRecorder, sipName_childEvent, doc_QMediaRecorder_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QMediaRecorder_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQMediaRecorder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMediaRecorder, &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_QMediaRecorder, sipName_customEvent, doc_QMediaRecorder_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QMediaRecorder_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQMediaRecorder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMediaRecorder, &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_QMediaRecorder, sipName_connectNotify, doc_QMediaRecorder_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QMediaRecorder_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQMediaRecorder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMediaRecorder, &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_QMediaRecorder, sipName_disconnectNotify, doc_QMediaRecorder_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QMediaRecorder_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQMediaRecorder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMediaRecorder, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_senderSignalIndex, doc_QMediaRecorder_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QMediaRecorder_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQMediaRecorder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMediaRecorder, &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_QMediaRecorder, sipName_isSignalConnected, doc_QMediaRecorder_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_mediaObject, "mediaObject(self) -> QMediaObject");

extern "C" {static PyObject *meth_QMediaRecorder_mediaObject(PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_mediaObject(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMediaRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaRecorder, &sipCpp))
        {
             ::QMediaObject*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QMediaRecorder::mediaObject() : sipCpp->mediaObject());

            return sipConvertFromType(sipRes,sipType_QMediaObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_mediaObject, doc_QMediaRecorder_mediaObject);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_isAvailable, "isAvailable(self) -> bool");

extern "C" {static PyObject *meth_QMediaRecorder_isAvailable(PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_isAvailable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaRecorder, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isAvailable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_isAvailable, doc_QMediaRecorder_isAvailable);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_availability, "availability(self) -> QMultimedia.AvailabilityStatus");

extern "C" {static PyObject *meth_QMediaRecorder_availability(PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_availability(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaRecorder, &sipCpp))
        {
             ::QMultimedia::AvailabilityStatus sipRes;

            sipRes = sipCpp->availability();

            return sipConvertFromEnum(sipRes,sipType_QMultimedia_AvailabilityStatus);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_availability, doc_QMediaRecorder_availability);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_outputLocation, "outputLocation(self) -> QUrl");

extern "C" {static PyObject *meth_QMediaRecorder_outputLocation(PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_outputLocation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaRecorder, &sipCpp))
        {
             ::QUrl*sipRes;

            sipRes = new  ::QUrl(sipCpp->outputLocation());

            return sipConvertFromNewType(sipRes,sipType_QUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_outputLocation, doc_QMediaRecorder_outputLocation);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_setOutputLocation, "setOutputLocation(self, QUrl) -> bool");

extern "C" {static PyObject *meth_QMediaRecorder_setOutputLocation(PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_setOutputLocation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QUrl* a0;
         ::QMediaRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QMediaRecorder, &sipCpp, sipType_QUrl, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->setOutputLocation(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_setOutputLocation, doc_QMediaRecorder_setOutputLocation);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_actualLocation, "actualLocation(self) -> QUrl");

extern "C" {static PyObject *meth_QMediaRecorder_actualLocation(PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_actualLocation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaRecorder, &sipCpp))
        {
             ::QUrl*sipRes;

            sipRes = new  ::QUrl(sipCpp->actualLocation());

            return sipConvertFromNewType(sipRes,sipType_QUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_actualLocation, doc_QMediaRecorder_actualLocation);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_state, "state(self) -> QMediaRecorder.State");

extern "C" {static PyObject *meth_QMediaRecorder_state(PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_state(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaRecorder, &sipCpp))
        {
             ::QMediaRecorder::State sipRes;

            sipRes = sipCpp->state();

            return sipConvertFromEnum(sipRes,sipType_QMediaRecorder_State);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_state, doc_QMediaRecorder_state);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_status, "status(self) -> QMediaRecorder.Status");

extern "C" {static PyObject *meth_QMediaRecorder_status(PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_status(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaRecorder, &sipCpp))
        {
             ::QMediaRecorder::Status sipRes;

            sipRes = sipCpp->status();

            return sipConvertFromEnum(sipRes,sipType_QMediaRecorder_Status);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_status, doc_QMediaRecorder_status);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_error, "error(self) -> QMediaRecorder.Error");

extern "C" {static PyObject *meth_QMediaRecorder_error(PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_error(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaRecorder, &sipCpp))
        {
             ::QMediaRecorder::Error sipRes;

            sipRes = sipCpp->error();

            return sipConvertFromEnum(sipRes,sipType_QMediaRecorder_Error);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_error, doc_QMediaRecorder_error);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_errorString, "errorString(self) -> str");

extern "C" {static PyObject *meth_QMediaRecorder_errorString(PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_errorString(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaRecorder, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->errorString());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_errorString, doc_QMediaRecorder_errorString);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_duration, "duration(self) -> int");

extern "C" {static PyObject *meth_QMediaRecorder_duration(PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_duration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaRecorder, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->duration();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_duration, doc_QMediaRecorder_duration);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_isMuted, "isMuted(self) -> bool");

extern "C" {static PyObject *meth_QMediaRecorder_isMuted(PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_isMuted(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaRecorder, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isMuted();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_isMuted, doc_QMediaRecorder_isMuted);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_volume, "volume(self) -> float");

extern "C" {static PyObject *meth_QMediaRecorder_volume(PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_volume(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaRecorder, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->volume();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_volume, doc_QMediaRecorder_volume);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_supportedContainers, "supportedContainers(self) -> List[str]");

extern "C" {static PyObject *meth_QMediaRecorder_supportedContainers(PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_supportedContainers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaRecorder, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->supportedContainers());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_supportedContainers, doc_QMediaRecorder_supportedContainers);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_containerDescription, "containerDescription(self, str) -> str");

extern "C" {static PyObject *meth_QMediaRecorder_containerDescription(PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_containerDescription(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QMediaRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMediaRecorder, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->containerDescription(*a0));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_containerDescription, doc_QMediaRecorder_containerDescription);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_supportedAudioCodecs, "supportedAudioCodecs(self) -> List[str]");

extern "C" {static PyObject *meth_QMediaRecorder_supportedAudioCodecs(PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_supportedAudioCodecs(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaRecorder, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->supportedAudioCodecs());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_supportedAudioCodecs, doc_QMediaRecorder_supportedAudioCodecs);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_audioCodecDescription, "audioCodecDescription(self, str) -> str");

extern "C" {static PyObject *meth_QMediaRecorder_audioCodecDescription(PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_audioCodecDescription(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QMediaRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMediaRecorder, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->audioCodecDescription(*a0));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_audioCodecDescription, doc_QMediaRecorder_audioCodecDescription);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_supportedAudioSampleRates, "supportedAudioSampleRates(self, settings: QAudioEncoderSettings = QAudioEncoderSettings()) -> Tuple[List[int], bool]");

extern "C" {static PyObject *meth_QMediaRecorder_supportedAudioSampleRates(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_supportedAudioSampleRates(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioEncoderSettings& a0def = QAudioEncoderSettings();
        const  ::QAudioEncoderSettings* a0 = &a0def;
        bool a1;
        const  ::QMediaRecorder *sipCpp;

        static const char *sipKwdList[] = {
            sipName_settings,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J9", &sipSelf, sipType_QMediaRecorder, &sipCpp, sipType_QAudioEncoderSettings, &a0))
        {
             ::QList<int>*sipRes;

            sipRes = new  ::QList<int>(sipCpp->supportedAudioSampleRates(*a0,&a1));

            PyObject *sipResObj = sipConvertFromNewType(sipRes,sipType_QList_1800,NULL);
            return sipBuildResult(0,"(Rb)",sipResObj,a1);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_supportedAudioSampleRates, doc_QMediaRecorder_supportedAudioSampleRates);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_supportedVideoCodecs, "supportedVideoCodecs(self) -> List[str]");

extern "C" {static PyObject *meth_QMediaRecorder_supportedVideoCodecs(PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_supportedVideoCodecs(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaRecorder, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->supportedVideoCodecs());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_supportedVideoCodecs, doc_QMediaRecorder_supportedVideoCodecs);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_videoCodecDescription, "videoCodecDescription(self, str) -> str");

extern "C" {static PyObject *meth_QMediaRecorder_videoCodecDescription(PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_videoCodecDescription(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QMediaRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMediaRecorder, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->videoCodecDescription(*a0));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_videoCodecDescription, doc_QMediaRecorder_videoCodecDescription);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_supportedResolutions, "supportedResolutions(self, settings: QVideoEncoderSettings = QVideoEncoderSettings()) -> Tuple[List[QSize], bool]");

extern "C" {static PyObject *meth_QMediaRecorder_supportedResolutions(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_supportedResolutions(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVideoEncoderSettings& a0def = QVideoEncoderSettings();
        const  ::QVideoEncoderSettings* a0 = &a0def;
        bool a1;
        const  ::QMediaRecorder *sipCpp;

        static const char *sipKwdList[] = {
            sipName_settings,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J9", &sipSelf, sipType_QMediaRecorder, &sipCpp, sipType_QVideoEncoderSettings, &a0))
        {
            QList< ::QSize>*sipRes;

            sipRes = new QList< ::QSize>(sipCpp->supportedResolutions(*a0,&a1));

            PyObject *sipResObj = sipConvertFromNewType(sipRes,sipType_QList_0100QSize,NULL);
            return sipBuildResult(0,"(Rb)",sipResObj,a1);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_supportedResolutions, doc_QMediaRecorder_supportedResolutions);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_supportedFrameRates, "supportedFrameRates(self, settings: QVideoEncoderSettings = QVideoEncoderSettings()) -> Tuple[List[float], bool]");

extern "C" {static PyObject *meth_QMediaRecorder_supportedFrameRates(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_supportedFrameRates(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVideoEncoderSettings& a0def = QVideoEncoderSettings();
        const  ::QVideoEncoderSettings* a0 = &a0def;
        bool a1;
        const  ::QMediaRecorder *sipCpp;

        static const char *sipKwdList[] = {
            sipName_settings,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J9", &sipSelf, sipType_QMediaRecorder, &sipCpp, sipType_QVideoEncoderSettings, &a0))
        {
             ::QList< ::qreal>*sipRes;

            sipRes = new  ::QList< ::qreal>(sipCpp->supportedFrameRates(*a0,&a1));

            PyObject *sipResObj = sipConvertFromNewType(sipRes,sipType_QList_2400,NULL);
            return sipBuildResult(0,"(Rb)",sipResObj,a1);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_supportedFrameRates, doc_QMediaRecorder_supportedFrameRates);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_audioSettings, "audioSettings(self) -> QAudioEncoderSettings");

extern "C" {static PyObject *meth_QMediaRecorder_audioSettings(PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_audioSettings(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaRecorder, &sipCpp))
        {
             ::QAudioEncoderSettings*sipRes;

            sipRes = new  ::QAudioEncoderSettings(sipCpp->audioSettings());

            return sipConvertFromNewType(sipRes,sipType_QAudioEncoderSettings,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_audioSettings, doc_QMediaRecorder_audioSettings);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_videoSettings, "videoSettings(self) -> QVideoEncoderSettings");

extern "C" {static PyObject *meth_QMediaRecorder_videoSettings(PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_videoSettings(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaRecorder, &sipCpp))
        {
             ::QVideoEncoderSettings*sipRes;

            sipRes = new  ::QVideoEncoderSettings(sipCpp->videoSettings());

            return sipConvertFromNewType(sipRes,sipType_QVideoEncoderSettings,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_videoSettings, doc_QMediaRecorder_videoSettings);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_containerFormat, "containerFormat(self) -> str");

extern "C" {static PyObject *meth_QMediaRecorder_containerFormat(PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_containerFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaRecorder, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->containerFormat());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_containerFormat, doc_QMediaRecorder_containerFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_setAudioSettings, "setAudioSettings(self, QAudioEncoderSettings)");

extern "C" {static PyObject *meth_QMediaRecorder_setAudioSettings(PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_setAudioSettings(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioEncoderSettings* a0;
         ::QMediaRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QMediaRecorder, &sipCpp, sipType_QAudioEncoderSettings, &a0))
        {
            sipCpp->setAudioSettings(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_setAudioSettings, doc_QMediaRecorder_setAudioSettings);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_setVideoSettings, "setVideoSettings(self, QVideoEncoderSettings)");

extern "C" {static PyObject *meth_QMediaRecorder_setVideoSettings(PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_setVideoSettings(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVideoEncoderSettings* a0;
         ::QMediaRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QMediaRecorder, &sipCpp, sipType_QVideoEncoderSettings, &a0))
        {
            sipCpp->setVideoSettings(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_setVideoSettings, doc_QMediaRecorder_setVideoSettings);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_setContainerFormat, "setContainerFormat(self, str)");

extern "C" {static PyObject *meth_QMediaRecorder_setContainerFormat(PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_setContainerFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QMediaRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMediaRecorder, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setContainerFormat(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_setContainerFormat, doc_QMediaRecorder_setContainerFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_setEncodingSettings, "setEncodingSettings(self, QAudioEncoderSettings, video: QVideoEncoderSettings = QVideoEncoderSettings(), container: str = '')");

extern "C" {static PyObject *meth_QMediaRecorder_setEncodingSettings(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_setEncodingSettings(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioEncoderSettings* a0;
        const  ::QVideoEncoderSettings& a1def = QVideoEncoderSettings();
        const  ::QVideoEncoderSettings* a1 = &a1def;
        const  ::QString& a2def = QString();
        const  ::QString* a2 = &a2def;
        int a2State = 0;
         ::QMediaRecorder *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_video,
            sipName_container,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|J9J1", &sipSelf, sipType_QMediaRecorder, &sipCpp, sipType_QAudioEncoderSettings, &a0, sipType_QVideoEncoderSettings, &a1, sipType_QString,&a2, &a2State))
        {
            sipCpp->setEncodingSettings(*a0,*a1,*a2);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_setEncodingSettings, doc_QMediaRecorder_setEncodingSettings);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_isMetaDataAvailable, "isMetaDataAvailable(self) -> bool");

extern "C" {static PyObject *meth_QMediaRecorder_isMetaDataAvailable(PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_isMetaDataAvailable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaRecorder, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isMetaDataAvailable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_isMetaDataAvailable, doc_QMediaRecorder_isMetaDataAvailable);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_isMetaDataWritable, "isMetaDataWritable(self) -> bool");

extern "C" {static PyObject *meth_QMediaRecorder_isMetaDataWritable(PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_isMetaDataWritable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaRecorder, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isMetaDataWritable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_isMetaDataWritable, doc_QMediaRecorder_isMetaDataWritable);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_metaData, "metaData(self, str) -> Any");

extern "C" {static PyObject *meth_QMediaRecorder_metaData(PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_metaData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QMediaRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMediaRecorder, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QVariant*sipRes;

            sipRes = new  ::QVariant(sipCpp->metaData(*a0));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_metaData, doc_QMediaRecorder_metaData);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_setMetaData, "setMetaData(self, str, Any)");

extern "C" {static PyObject *meth_QMediaRecorder_setMetaData(PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_setMetaData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QVariant* a1;
        int a1State = 0;
         ::QMediaRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QMediaRecorder, &sipCpp, sipType_QString,&a0, &a0State, sipType_QVariant, &a1, &a1State))
        {
            sipCpp->setMetaData(*a0,*a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QVariant *>(a1),sipType_QVariant,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_setMetaData, doc_QMediaRecorder_setMetaData);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_availableMetaData, "availableMetaData(self) -> List[str]");

extern "C" {static PyObject *meth_QMediaRecorder_availableMetaData(PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_availableMetaData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaRecorder, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->availableMetaData());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_availableMetaData, doc_QMediaRecorder_availableMetaData);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_record, "record(self)");

extern "C" {static PyObject *meth_QMediaRecorder_record(PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_record(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QMediaRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaRecorder, &sipCpp))
        {
            sipCpp->record();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_record, doc_QMediaRecorder_record);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_pause, "pause(self)");

extern "C" {static PyObject *meth_QMediaRecorder_pause(PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_pause(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QMediaRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaRecorder, &sipCpp))
        {
            sipCpp->pause();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_pause, doc_QMediaRecorder_pause);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_stop, "stop(self)");

extern "C" {static PyObject *meth_QMediaRecorder_stop(PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_stop(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QMediaRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaRecorder, &sipCpp))
        {
            sipCpp->stop();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_stop, doc_QMediaRecorder_stop);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_setMuted, "setMuted(self, bool)");

extern "C" {static PyObject *meth_QMediaRecorder_setMuted(PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_setMuted(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QMediaRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QMediaRecorder, &sipCpp, &a0))
        {
            sipCpp->setMuted(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_setMuted, doc_QMediaRecorder_setMuted);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_setVolume, "setVolume(self, float)");

extern "C" {static PyObject *meth_QMediaRecorder_setVolume(PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_setVolume(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QMediaRecorder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QMediaRecorder, &sipCpp, &a0))
        {
            sipCpp->setVolume(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaRecorder, sipName_setVolume, doc_QMediaRecorder_setVolume);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaRecorder_setMediaObject, "setMediaObject(self, QMediaObject) -> bool");

extern "C" {static PyObject *meth_QMediaRecorder_setMediaObject(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaRecorder_setMediaObject(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMediaObject* a0;
        sipQMediaRecorder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMediaRecorder, &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_QMediaRecorder, sipName_setMediaObject, doc_QMediaRecorder_setMediaObject);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QMediaRecorder(void *, const sipTypeDef *);}
static void *cast_QMediaRecorder(void *sipCppV, const sipTypeDef *targetType)
{
     ::QMediaRecorder *sipCpp = reinterpret_cast< ::QMediaRecorder *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QMediaBindableInterface)
        return static_cast< ::QMediaBindableInterface *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QMediaRecorder(void *, int);}
static void release_QMediaRecorder(void *sipCppV, int)
{
     ::QMediaRecorder *sipCpp = reinterpret_cast< ::QMediaRecorder *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QMediaRecorder(sipSimpleWrapper *);}
static void dealloc_QMediaRecorder(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQMediaRecorder *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QMediaRecorder(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QMediaRecorder(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMediaRecorder(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQMediaRecorder *sipCpp = 0;

    {
         ::QMediaObject* a0;
         ::QObject* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J8|JH", sipType_QMediaObject, &a0, sipType_QObject, &a1, sipOwner))
        {
            sipCpp = new sipQMediaRecorder(a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QMediaRecorder[] = {{9, 0, 0}, {72, 255, 1}};


static PyMethodDef methods_QMediaRecorder[] = {
    {SIP_MLNAME_CAST(sipName_actualLocation), meth_QMediaRecorder_actualLocation, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaRecorder_actualLocation)},
    {SIP_MLNAME_CAST(sipName_audioCodecDescription), meth_QMediaRecorder_audioCodecDescription, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaRecorder_audioCodecDescription)},
    {SIP_MLNAME_CAST(sipName_audioSettings), meth_QMediaRecorder_audioSettings, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaRecorder_audioSettings)},
    {SIP_MLNAME_CAST(sipName_availability), meth_QMediaRecorder_availability, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaRecorder_availability)},
    {SIP_MLNAME_CAST(sipName_availableMetaData), meth_QMediaRecorder_availableMetaData, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaRecorder_availableMetaData)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QMediaRecorder_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QMediaRecorder_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_containerDescription), meth_QMediaRecorder_containerDescription, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaRecorder_containerDescription)},
    {SIP_MLNAME_CAST(sipName_containerFormat), meth_QMediaRecorder_containerFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaRecorder_containerFormat)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QMediaRecorder_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QMediaRecorder_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_duration), meth_QMediaRecorder_duration, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaRecorder_duration)},
    {SIP_MLNAME_CAST(sipName_error), meth_QMediaRecorder_error, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaRecorder_error)},
    {SIP_MLNAME_CAST(sipName_errorString), meth_QMediaRecorder_errorString, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaRecorder_errorString)},
    {SIP_MLNAME_CAST(sipName_isAvailable), meth_QMediaRecorder_isAvailable, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaRecorder_isAvailable)},
    {SIP_MLNAME_CAST(sipName_isMetaDataAvailable), meth_QMediaRecorder_isMetaDataAvailable, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaRecorder_isMetaDataAvailable)},
    {SIP_MLNAME_CAST(sipName_isMetaDataWritable), meth_QMediaRecorder_isMetaDataWritable, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaRecorder_isMetaDataWritable)},
    {SIP_MLNAME_CAST(sipName_isMuted), meth_QMediaRecorder_isMuted, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaRecorder_isMuted)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QMediaRecorder_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mediaObject), meth_QMediaRecorder_mediaObject, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaRecorder_mediaObject)},
    {SIP_MLNAME_CAST(sipName_metaData), meth_QMediaRecorder_metaData, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaRecorder_metaData)},
    {SIP_MLNAME_CAST(sipName_outputLocation), meth_QMediaRecorder_outputLocation, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaRecorder_outputLocation)},
    {SIP_MLNAME_CAST(sipName_pause), meth_QMediaRecorder_pause, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaRecorder_pause)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QMediaRecorder_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_record), meth_QMediaRecorder_record, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaRecorder_record)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QMediaRecorder_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QMediaRecorder_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAudioSettings), meth_QMediaRecorder_setAudioSettings, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaRecorder_setAudioSettings)},
    {SIP_MLNAME_CAST(sipName_setContainerFormat), meth_QMediaRecorder_setContainerFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaRecorder_setContainerFormat)},
    {SIP_MLNAME_CAST(sipName_setEncodingSettings), (PyCFunction)meth_QMediaRecorder_setEncodingSettings, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMediaRecorder_setEncodingSettings)},
    {SIP_MLNAME_CAST(sipName_setMediaObject), (PyCFunction)meth_QMediaRecorder_setMediaObject, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMediaRecorder_setMediaObject)},
    {SIP_MLNAME_CAST(sipName_setMetaData), meth_QMediaRecorder_setMetaData, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaRecorder_setMetaData)},
    {SIP_MLNAME_CAST(sipName_setMuted), meth_QMediaRecorder_setMuted, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaRecorder_setMuted)},
    {SIP_MLNAME_CAST(sipName_setOutputLocation), meth_QMediaRecorder_setOutputLocation, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaRecorder_setOutputLocation)},
    {SIP_MLNAME_CAST(sipName_setVideoSettings), meth_QMediaRecorder_setVideoSettings, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaRecorder_setVideoSettings)},
    {SIP_MLNAME_CAST(sipName_setVolume), meth_QMediaRecorder_setVolume, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaRecorder_setVolume)},
    {SIP_MLNAME_CAST(sipName_state), meth_QMediaRecorder_state, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaRecorder_state)},
    {SIP_MLNAME_CAST(sipName_status), meth_QMediaRecorder_status, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaRecorder_status)},
    {SIP_MLNAME_CAST(sipName_stop), meth_QMediaRecorder_stop, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaRecorder_stop)},
    {SIP_MLNAME_CAST(sipName_supportedAudioCodecs), meth_QMediaRecorder_supportedAudioCodecs, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaRecorder_supportedAudioCodecs)},
    {SIP_MLNAME_CAST(sipName_supportedAudioSampleRates), (PyCFunction)meth_QMediaRecorder_supportedAudioSampleRates, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMediaRecorder_supportedAudioSampleRates)},
    {SIP_MLNAME_CAST(sipName_supportedContainers), meth_QMediaRecorder_supportedContainers, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaRecorder_supportedContainers)},
    {SIP_MLNAME_CAST(sipName_supportedFrameRates), (PyCFunction)meth_QMediaRecorder_supportedFrameRates, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMediaRecorder_supportedFrameRates)},
    {SIP_MLNAME_CAST(sipName_supportedResolutions), (PyCFunction)meth_QMediaRecorder_supportedResolutions, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMediaRecorder_supportedResolutions)},
    {SIP_MLNAME_CAST(sipName_supportedVideoCodecs), meth_QMediaRecorder_supportedVideoCodecs, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaRecorder_supportedVideoCodecs)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QMediaRecorder_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_videoCodecDescription), meth_QMediaRecorder_videoCodecDescription, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaRecorder_videoCodecDescription)},
    {SIP_MLNAME_CAST(sipName_videoSettings), meth_QMediaRecorder_videoSettings, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaRecorder_videoSettings)},
    {SIP_MLNAME_CAST(sipName_volume), meth_QMediaRecorder_volume, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaRecorder_volume)}
};

static sipEnumMemberDef enummembers_QMediaRecorder[] = {
    {sipName_FinalizingStatus, static_cast<int>( ::QMediaRecorder::FinalizingStatus), 89},
    {sipName_FormatError, static_cast<int>( ::QMediaRecorder::FormatError), 87},
    {sipName_LoadedStatus, static_cast<int>( ::QMediaRecorder::LoadedStatus), 89},
    {sipName_LoadingStatus, static_cast<int>( ::QMediaRecorder::LoadingStatus), 89},
    {sipName_NoError, static_cast<int>( ::QMediaRecorder::NoError), 87},
    {sipName_OutOfSpaceError, static_cast<int>( ::QMediaRecorder::OutOfSpaceError), 87},
    {sipName_PausedState, static_cast<int>( ::QMediaRecorder::PausedState), 88},
    {sipName_PausedStatus, static_cast<int>( ::QMediaRecorder::PausedStatus), 89},
    {sipName_RecordingState, static_cast<int>( ::QMediaRecorder::RecordingState), 88},
    {sipName_RecordingStatus, static_cast<int>( ::QMediaRecorder::RecordingStatus), 89},
    {sipName_ResourceError, static_cast<int>( ::QMediaRecorder::ResourceError), 87},
    {sipName_StartingStatus, static_cast<int>( ::QMediaRecorder::StartingStatus), 89},
    {sipName_StoppedState, static_cast<int>( ::QMediaRecorder::StoppedState), 88},
    {sipName_UnavailableStatus, static_cast<int>( ::QMediaRecorder::UnavailableStatus), 89},
    {sipName_UnloadedStatus, static_cast<int>( ::QMediaRecorder::UnloadedStatus), 89},
};

PyDoc_STRVAR(doc_QMediaRecorder, "\1QMediaRecorder(QMediaObject, parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QMediaRecorder[] = {
    {"availabilityChanged(QMultimedia::AvailabilityStatus)", "\1availabilityChanged(self, QMultimedia.AvailabilityStatus)", 0, 0},
    {"metaDataChanged(QString,QVariant)", "\1metaDataChanged(self, str, Any)", 0, 0},
    {"metaDataWritableChanged(bool)", "\1metaDataWritableChanged(self, bool)", 0, 0},
    {"metaDataAvailableChanged(bool)", "\1metaDataAvailableChanged(self, bool)", 0, 0},
    {"actualLocationChanged(QUrl)", "\1actualLocationChanged(self, QUrl)", 0, 0},
    {"volumeChanged(qreal)", "\1volumeChanged(self, float)", 0, 0},
    {"mutedChanged(bool)", "\1mutedChanged(self, bool)", 0, 0},
    {"durationChanged(qint64)", "\1durationChanged(self, int)", 0, 0},
    {"statusChanged(QMediaRecorder::Status)", "\1statusChanged(self, QMediaRecorder.Status)", 0, 0},
    {"stateChanged(QMediaRecorder::State)", "\1stateChanged(self, QMediaRecorder.State)", 0, 0},
    {"error(QMediaRecorder::Error)", "\1error(self, QMediaRecorder.Error)", &methods_QMediaRecorder[12], 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QMediaRecorder = {
    & ::QMediaRecorder::staticMetaObject,
    0,
    signals_QMediaRecorder,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QMediaRecorder = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMediaRecorder,
        {0},
        &plugin_QMediaRecorder
    },
    {
        sipNameNr_QMediaRecorder,
        {0, 0, 1},
        49, methods_QMediaRecorder,
        15, enummembers_QMediaRecorder,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMediaRecorder,
    -1,
    -1,
    supers_QMediaRecorder,
    0,
    init_type_QMediaRecorder,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMediaRecorder,
    0,
    0,
    0,
    release_QMediaRecorder,
    cast_QMediaRecorder,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qaudioprobe.sip"
#include <qaudioprobe.h>
#line 38313 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 38317 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qaudiobuffer.sip"
#include <qaudiobuffer.h>
#line 38320 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaobject.sip"
#include <qmediaobject.h>
#line 38323 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediarecorder.sip"
#include <qmediarecorder.h>
#line 38326 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 38329 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 38332 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 38335 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 38338 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 38341 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 38344 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 38347 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 38350 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 38353 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 38356 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 38359 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 38362 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 38365 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 38368 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 38371 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


class sipQAudioProbe : public  ::QAudioProbe
{
public:
    sipQAudioProbe( ::QObject*);
    virtual ~sipQAudioProbe();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
     ::QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool, ::QTimerEvent*);
    void sipProtectVirt_childEvent(bool, ::QChildEvent*);
    void sipProtectVirt_customEvent(bool, ::QEvent*);
    void sipProtectVirt_connectNotify(bool,const  ::QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const  ::QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const  ::QMetaMethod&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQAudioProbe(const sipQAudioProbe &);
    sipQAudioProbe &operator = (const sipQAudioProbe &);

    char sipPyMethods[7];
};

sipQAudioProbe::sipQAudioProbe( ::QObject*a0):  ::QAudioProbe(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAudioProbe::~sipQAudioProbe()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQAudioProbe::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf,sipType_QAudioProbe);

    return  ::QAudioProbe::metaObject();
}

int sipQAudioProbe::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QAudioProbe::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtMultimedia_qt_metacall(sipPySelf,sipType_QAudioProbe,_c,_id,_a);

    return _id;
}

void *sipQAudioProbe::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtMultimedia_qt_metacast(sipPySelf, sipType_QAudioProbe, _clname, &sipCpp) ? sipCpp :  ::QAudioProbe::qt_metacast(_clname));
}

bool sipQAudioProbe::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QAudioProbe::event(a0);

    extern bool sipVH_QtMultimedia_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtMultimedia_10(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQAudioProbe::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QAudioProbe::eventFilter(a0,a1);

    extern bool sipVH_QtMultimedia_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtMultimedia_9(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQAudioProbe::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QAudioProbe::timerEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtMultimedia_8(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAudioProbe::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QAudioProbe::childEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtMultimedia_7(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAudioProbe::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QAudioProbe::customEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtMultimedia_6(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAudioProbe::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QAudioProbe::connectNotify(a0);
        return;
    }

    extern void sipVH_QtMultimedia_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAudioProbe::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QAudioProbe::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtMultimedia_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQAudioProbe::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQAudioProbe::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQAudioProbe::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQAudioProbe::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQAudioProbe::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQAudioProbe::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQAudioProbe::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQAudioProbe::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQAudioProbe::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QAudioProbe_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QAudioProbe_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioProbe_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAudioProbe *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAudioProbe, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 38665 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioProbe, sipName_sender, doc_QAudioProbe_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioProbe_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QAudioProbe_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioProbe_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQAudioProbe *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QAudioProbe, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 38725 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.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_QAudioProbe, sipName_receivers, doc_QAudioProbe_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioProbe_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QAudioProbe_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioProbe_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQAudioProbe *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAudioProbe, &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_QAudioProbe, sipName_timerEvent, doc_QAudioProbe_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioProbe_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QAudioProbe_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioProbe_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQAudioProbe *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAudioProbe, &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_QAudioProbe, sipName_childEvent, doc_QAudioProbe_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioProbe_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QAudioProbe_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioProbe_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQAudioProbe *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAudioProbe, &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_QAudioProbe, sipName_customEvent, doc_QAudioProbe_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioProbe_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QAudioProbe_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioProbe_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQAudioProbe *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAudioProbe, &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_QAudioProbe, sipName_connectNotify, doc_QAudioProbe_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioProbe_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QAudioProbe_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioProbe_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQAudioProbe *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAudioProbe, &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_QAudioProbe, sipName_disconnectNotify, doc_QAudioProbe_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioProbe_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QAudioProbe_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioProbe_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAudioProbe *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAudioProbe, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioProbe, sipName_senderSignalIndex, doc_QAudioProbe_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioProbe_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QAudioProbe_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioProbe_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQAudioProbe *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAudioProbe, &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_QAudioProbe, sipName_isSignalConnected, doc_QAudioProbe_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioProbe_setSource, "setSource(self, QMediaObject) -> bool\n"
    "setSource(self, QMediaRecorder) -> bool");

extern "C" {static PyObject *meth_QAudioProbe_setSource(PyObject *, PyObject *);}
static PyObject *meth_QAudioProbe_setSource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QMediaObject* a0;
         ::QAudioProbe *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QAudioProbe, &sipCpp, sipType_QMediaObject, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->setSource(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    {
         ::QMediaRecorder* a0;
         ::QAudioProbe *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QAudioProbe, &sipCpp, sipType_QMediaRecorder, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->setSource(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioProbe, sipName_setSource, doc_QAudioProbe_setSource);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioProbe_isActive, "isActive(self) -> bool");

extern "C" {static PyObject *meth_QAudioProbe_isActive(PyObject *, PyObject *);}
static PyObject *meth_QAudioProbe_isActive(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioProbe *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioProbe, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isActive();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioProbe, sipName_isActive, doc_QAudioProbe_isActive);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QAudioProbe(void *, const sipTypeDef *);}
static void *cast_QAudioProbe(void *sipCppV, const sipTypeDef *targetType)
{
     ::QAudioProbe *sipCpp = reinterpret_cast< ::QAudioProbe *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QAudioProbe(void *, int);}
static void release_QAudioProbe(void *sipCppV, int)
{
     ::QAudioProbe *sipCpp = reinterpret_cast< ::QAudioProbe *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QAudioProbe(sipSimpleWrapper *);}
static void dealloc_QAudioProbe(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQAudioProbe *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QAudioProbe(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QAudioProbe(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QAudioProbe(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQAudioProbe *sipCpp = 0;

    {
         ::QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQAudioProbe(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QAudioProbe[] = {{9, 0, 1}};


static PyMethodDef methods_QAudioProbe[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QAudioProbe_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QAudioProbe_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QAudioProbe_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QAudioProbe_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isActive), meth_QAudioProbe_isActive, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioProbe_isActive)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QAudioProbe_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QAudioProbe_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QAudioProbe_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QAudioProbe_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setSource), meth_QAudioProbe_setSource, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioProbe_setSource)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QAudioProbe_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QAudioProbe, "\1QAudioProbe(parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QAudioProbe[] = {
    {"flush()", "\1flush(self)", 0, 0},
    {"audioBufferProbed(QAudioBuffer)", "\1audioBufferProbed(self, QAudioBuffer)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QAudioProbe = {
    & ::QAudioProbe::staticMetaObject,
    0,
    signals_QAudioProbe,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QAudioProbe = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QAudioProbe,
        {0},
        &plugin_QAudioProbe
    },
    {
        sipNameNr_QAudioProbe,
        {0, 0, 1},
        11, methods_QAudioProbe,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAudioProbe,
    -1,
    -1,
    supers_QAudioProbe,
    0,
    init_type_QAudioProbe,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QAudioProbe,
    0,
    0,
    0,
    release_QAudioProbe,
    cast_QAudioProbe,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qaudiooutput.sip"
#include <qaudiooutput.h>
#line 39175 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qaudioformat.sip"
#include <qaudioformat.h>
#line 39179 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 39182 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qaudiodeviceinfo.sip"
#include <qaudiodeviceinfo.h>
#line 39185 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 39188 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qaudio.sip"
#include <qaudio.h>
#line 39191 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 39194 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 39197 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 39200 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 39203 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 39206 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 39209 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 39212 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 39215 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 39218 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 39221 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 39224 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 39227 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 39230 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 39233 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 39236 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


class sipQAudioOutput : public  ::QAudioOutput
{
public:
    sipQAudioOutput(const  ::QAudioFormat&, ::QObject*);
    sipQAudioOutput(const  ::QAudioDeviceInfo&,const  ::QAudioFormat&, ::QObject*);
    virtual ~sipQAudioOutput();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
     ::QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool, ::QTimerEvent*);
    void sipProtectVirt_childEvent(bool, ::QChildEvent*);
    void sipProtectVirt_customEvent(bool, ::QEvent*);
    void sipProtectVirt_connectNotify(bool,const  ::QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const  ::QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const  ::QMetaMethod&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQAudioOutput(const sipQAudioOutput &);
    sipQAudioOutput &operator = (const sipQAudioOutput &);

    char sipPyMethods[7];
};

sipQAudioOutput::sipQAudioOutput(const  ::QAudioFormat& a0, ::QObject*a1):  ::QAudioOutput(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAudioOutput::sipQAudioOutput(const  ::QAudioDeviceInfo& a0,const  ::QAudioFormat& a1, ::QObject*a2):  ::QAudioOutput(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAudioOutput::~sipQAudioOutput()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQAudioOutput::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf,sipType_QAudioOutput);

    return  ::QAudioOutput::metaObject();
}

int sipQAudioOutput::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QAudioOutput::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtMultimedia_qt_metacall(sipPySelf,sipType_QAudioOutput,_c,_id,_a);

    return _id;
}

void *sipQAudioOutput::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtMultimedia_qt_metacast(sipPySelf, sipType_QAudioOutput, _clname, &sipCpp) ? sipCpp :  ::QAudioOutput::qt_metacast(_clname));
}

bool sipQAudioOutput::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QAudioOutput::event(a0);

    extern bool sipVH_QtMultimedia_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtMultimedia_10(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQAudioOutput::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QAudioOutput::eventFilter(a0,a1);

    extern bool sipVH_QtMultimedia_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtMultimedia_9(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQAudioOutput::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QAudioOutput::timerEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtMultimedia_8(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAudioOutput::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QAudioOutput::childEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtMultimedia_7(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAudioOutput::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QAudioOutput::customEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtMultimedia_6(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAudioOutput::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QAudioOutput::connectNotify(a0);
        return;
    }

    extern void sipVH_QtMultimedia_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAudioOutput::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QAudioOutput::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtMultimedia_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQAudioOutput::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQAudioOutput::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQAudioOutput::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQAudioOutput::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQAudioOutput::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQAudioOutput::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQAudioOutput::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQAudioOutput::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQAudioOutput::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QAudioOutput_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QAudioOutput_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioOutput_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAudioOutput *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAudioOutput, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 39536 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioOutput, sipName_sender, doc_QAudioOutput_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioOutput_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QAudioOutput_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioOutput_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQAudioOutput *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QAudioOutput, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 39596 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.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_QAudioOutput, sipName_receivers, doc_QAudioOutput_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioOutput_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QAudioOutput_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioOutput_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQAudioOutput *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAudioOutput, &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_QAudioOutput, sipName_timerEvent, doc_QAudioOutput_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioOutput_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QAudioOutput_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioOutput_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQAudioOutput *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAudioOutput, &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_QAudioOutput, sipName_childEvent, doc_QAudioOutput_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioOutput_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QAudioOutput_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioOutput_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQAudioOutput *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAudioOutput, &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_QAudioOutput, sipName_customEvent, doc_QAudioOutput_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioOutput_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QAudioOutput_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioOutput_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQAudioOutput *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAudioOutput, &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_QAudioOutput, sipName_connectNotify, doc_QAudioOutput_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioOutput_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QAudioOutput_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioOutput_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQAudioOutput *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAudioOutput, &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_QAudioOutput, sipName_disconnectNotify, doc_QAudioOutput_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioOutput_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QAudioOutput_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioOutput_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAudioOutput *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAudioOutput, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioOutput, sipName_senderSignalIndex, doc_QAudioOutput_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioOutput_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QAudioOutput_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioOutput_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQAudioOutput *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAudioOutput, &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_QAudioOutput, sipName_isSignalConnected, doc_QAudioOutput_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioOutput_format, "format(self) -> QAudioFormat");

extern "C" {static PyObject *meth_QAudioOutput_format(PyObject *, PyObject *);}
static PyObject *meth_QAudioOutput_format(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioOutput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioOutput, &sipCpp))
        {
             ::QAudioFormat*sipRes;

            sipRes = new  ::QAudioFormat(sipCpp->format());

            return sipConvertFromNewType(sipRes,sipType_QAudioFormat,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioOutput, sipName_format, doc_QAudioOutput_format);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioOutput_start, "start(self, QIODevice)\n"
    "start(self) -> QIODevice");

extern "C" {static PyObject *meth_QAudioOutput_start(PyObject *, PyObject *);}
static PyObject *meth_QAudioOutput_start(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QIODevice* a0;
         ::QAudioOutput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QAudioOutput, &sipCpp, sipType_QIODevice, &a0))
        {
            sipCpp->start(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::QAudioOutput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioOutput, &sipCpp))
        {
             ::QIODevice*sipRes;

            sipRes = sipCpp->start();

            return sipConvertFromType(sipRes,sipType_QIODevice,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioOutput, sipName_start, doc_QAudioOutput_start);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioOutput_stop, "stop(self)");

extern "C" {static PyObject *meth_QAudioOutput_stop(PyObject *, PyObject *);}
static PyObject *meth_QAudioOutput_stop(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAudioOutput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioOutput, &sipCpp))
        {
            sipCpp->stop();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioOutput, sipName_stop, doc_QAudioOutput_stop);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioOutput_reset, "reset(self)");

extern "C" {static PyObject *meth_QAudioOutput_reset(PyObject *, PyObject *);}
static PyObject *meth_QAudioOutput_reset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAudioOutput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioOutput, &sipCpp))
        {
            sipCpp->reset();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioOutput, sipName_reset, doc_QAudioOutput_reset);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioOutput_suspend, "suspend(self)");

extern "C" {static PyObject *meth_QAudioOutput_suspend(PyObject *, PyObject *);}
static PyObject *meth_QAudioOutput_suspend(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAudioOutput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioOutput, &sipCpp))
        {
            sipCpp->suspend();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioOutput, sipName_suspend, doc_QAudioOutput_suspend);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioOutput_resume, "resume(self)");

extern "C" {static PyObject *meth_QAudioOutput_resume(PyObject *, PyObject *);}
static PyObject *meth_QAudioOutput_resume(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAudioOutput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioOutput, &sipCpp))
        {
            sipCpp->resume();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioOutput, sipName_resume, doc_QAudioOutput_resume);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioOutput_setBufferSize, "setBufferSize(self, int)");

extern "C" {static PyObject *meth_QAudioOutput_setBufferSize(PyObject *, PyObject *);}
static PyObject *meth_QAudioOutput_setBufferSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QAudioOutput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QAudioOutput, &sipCpp, &a0))
        {
            sipCpp->setBufferSize(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioOutput, sipName_setBufferSize, doc_QAudioOutput_setBufferSize);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioOutput_bufferSize, "bufferSize(self) -> int");

extern "C" {static PyObject *meth_QAudioOutput_bufferSize(PyObject *, PyObject *);}
static PyObject *meth_QAudioOutput_bufferSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioOutput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioOutput, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->bufferSize();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioOutput, sipName_bufferSize, doc_QAudioOutput_bufferSize);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioOutput_bytesFree, "bytesFree(self) -> int");

extern "C" {static PyObject *meth_QAudioOutput_bytesFree(PyObject *, PyObject *);}
static PyObject *meth_QAudioOutput_bytesFree(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioOutput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioOutput, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->bytesFree();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioOutput, sipName_bytesFree, doc_QAudioOutput_bytesFree);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioOutput_periodSize, "periodSize(self) -> int");

extern "C" {static PyObject *meth_QAudioOutput_periodSize(PyObject *, PyObject *);}
static PyObject *meth_QAudioOutput_periodSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioOutput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioOutput, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->periodSize();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioOutput, sipName_periodSize, doc_QAudioOutput_periodSize);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioOutput_setNotifyInterval, "setNotifyInterval(self, int)");

extern "C" {static PyObject *meth_QAudioOutput_setNotifyInterval(PyObject *, PyObject *);}
static PyObject *meth_QAudioOutput_setNotifyInterval(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QAudioOutput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QAudioOutput, &sipCpp, &a0))
        {
            sipCpp->setNotifyInterval(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioOutput, sipName_setNotifyInterval, doc_QAudioOutput_setNotifyInterval);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioOutput_notifyInterval, "notifyInterval(self) -> int");

extern "C" {static PyObject *meth_QAudioOutput_notifyInterval(PyObject *, PyObject *);}
static PyObject *meth_QAudioOutput_notifyInterval(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioOutput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioOutput, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->notifyInterval();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioOutput, sipName_notifyInterval, doc_QAudioOutput_notifyInterval);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioOutput_processedUSecs, "processedUSecs(self) -> int");

extern "C" {static PyObject *meth_QAudioOutput_processedUSecs(PyObject *, PyObject *);}
static PyObject *meth_QAudioOutput_processedUSecs(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioOutput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioOutput, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->processedUSecs();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioOutput, sipName_processedUSecs, doc_QAudioOutput_processedUSecs);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioOutput_elapsedUSecs, "elapsedUSecs(self) -> int");

extern "C" {static PyObject *meth_QAudioOutput_elapsedUSecs(PyObject *, PyObject *);}
static PyObject *meth_QAudioOutput_elapsedUSecs(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioOutput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioOutput, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->elapsedUSecs();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioOutput, sipName_elapsedUSecs, doc_QAudioOutput_elapsedUSecs);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioOutput_error, "error(self) -> QAudio.Error");

extern "C" {static PyObject *meth_QAudioOutput_error(PyObject *, PyObject *);}
static PyObject *meth_QAudioOutput_error(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioOutput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioOutput, &sipCpp))
        {
             ::QAudio::Error sipRes;

            sipRes = sipCpp->error();

            return sipConvertFromEnum(sipRes,sipType_QAudio_Error);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioOutput, sipName_error, doc_QAudioOutput_error);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioOutput_state, "state(self) -> QAudio.State");

extern "C" {static PyObject *meth_QAudioOutput_state(PyObject *, PyObject *);}
static PyObject *meth_QAudioOutput_state(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioOutput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioOutput, &sipCpp))
        {
             ::QAudio::State sipRes;

            sipRes = sipCpp->state();

            return sipConvertFromEnum(sipRes,sipType_QAudio_State);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioOutput, sipName_state, doc_QAudioOutput_state);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioOutput_setVolume, "setVolume(self, float)");

extern "C" {static PyObject *meth_QAudioOutput_setVolume(PyObject *, PyObject *);}
static PyObject *meth_QAudioOutput_setVolume(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QAudioOutput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QAudioOutput, &sipCpp, &a0))
        {
            sipCpp->setVolume(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioOutput, sipName_setVolume, doc_QAudioOutput_setVolume);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioOutput_volume, "volume(self) -> float");

extern "C" {static PyObject *meth_QAudioOutput_volume(PyObject *, PyObject *);}
static PyObject *meth_QAudioOutput_volume(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioOutput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioOutput, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->volume();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioOutput, sipName_volume, doc_QAudioOutput_volume);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioOutput_category, "category(self) -> str");

extern "C" {static PyObject *meth_QAudioOutput_category(PyObject *, PyObject *);}
static PyObject *meth_QAudioOutput_category(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioOutput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioOutput, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->category());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioOutput, sipName_category, doc_QAudioOutput_category);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioOutput_setCategory, "setCategory(self, str)");

extern "C" {static PyObject *meth_QAudioOutput_setCategory(PyObject *, PyObject *);}
static PyObject *meth_QAudioOutput_setCategory(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QAudioOutput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QAudioOutput, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setCategory(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioOutput, sipName_setCategory, doc_QAudioOutput_setCategory);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QAudioOutput(void *, const sipTypeDef *);}
static void *cast_QAudioOutput(void *sipCppV, const sipTypeDef *targetType)
{
     ::QAudioOutput *sipCpp = reinterpret_cast< ::QAudioOutput *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QAudioOutput(void *, int);}
static void release_QAudioOutput(void *sipCppV, int)
{
     ::QAudioOutput *sipCpp = reinterpret_cast< ::QAudioOutput *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QAudioOutput(sipSimpleWrapper *);}
static void dealloc_QAudioOutput(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQAudioOutput *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QAudioOutput(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QAudioOutput(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QAudioOutput(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQAudioOutput *sipCpp = 0;

    {
        const  ::QAudioFormat& a0def = QAudioFormat();
        const  ::QAudioFormat* a0 = &a0def;
         ::QObject* a1 = 0;

        static const char *sipKwdList[] = {
            sipName_format,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|J9JH", sipType_QAudioFormat, &a0, sipType_QObject, &a1, sipOwner))
        {
            sipCpp = new sipQAudioOutput(*a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QAudioDeviceInfo* a0;
        const  ::QAudioFormat& a1def = QAudioFormat();
        const  ::QAudioFormat* a1 = &a1def;
         ::QObject* a2 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_format,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J9|J9JH", sipType_QAudioDeviceInfo, &a0, sipType_QAudioFormat, &a1, sipType_QObject, &a2, sipOwner))
        {
            sipCpp = new sipQAudioOutput(*a0,*a1,a2);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QAudioOutput[] = {{9, 0, 1}};


static PyMethodDef methods_QAudioOutput[] = {
    {SIP_MLNAME_CAST(sipName_bufferSize), meth_QAudioOutput_bufferSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioOutput_bufferSize)},
    {SIP_MLNAME_CAST(sipName_bytesFree), meth_QAudioOutput_bytesFree, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioOutput_bytesFree)},
    {SIP_MLNAME_CAST(sipName_category), meth_QAudioOutput_category, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioOutput_category)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QAudioOutput_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QAudioOutput_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QAudioOutput_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QAudioOutput_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_elapsedUSecs), meth_QAudioOutput_elapsedUSecs, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioOutput_elapsedUSecs)},
    {SIP_MLNAME_CAST(sipName_error), meth_QAudioOutput_error, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioOutput_error)},
    {SIP_MLNAME_CAST(sipName_format), meth_QAudioOutput_format, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioOutput_format)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QAudioOutput_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_notifyInterval), meth_QAudioOutput_notifyInterval, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioOutput_notifyInterval)},
    {SIP_MLNAME_CAST(sipName_periodSize), meth_QAudioOutput_periodSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioOutput_periodSize)},
    {SIP_MLNAME_CAST(sipName_processedUSecs), meth_QAudioOutput_processedUSecs, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioOutput_processedUSecs)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QAudioOutput_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_reset), meth_QAudioOutput_reset, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioOutput_reset)},
    {SIP_MLNAME_CAST(sipName_resume), meth_QAudioOutput_resume, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioOutput_resume)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QAudioOutput_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QAudioOutput_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setBufferSize), meth_QAudioOutput_setBufferSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioOutput_setBufferSize)},
    {SIP_MLNAME_CAST(sipName_setCategory), meth_QAudioOutput_setCategory, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioOutput_setCategory)},
    {SIP_MLNAME_CAST(sipName_setNotifyInterval), meth_QAudioOutput_setNotifyInterval, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioOutput_setNotifyInterval)},
    {SIP_MLNAME_CAST(sipName_setVolume), meth_QAudioOutput_setVolume, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioOutput_setVolume)},
    {SIP_MLNAME_CAST(sipName_start), meth_QAudioOutput_start, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioOutput_start)},
    {SIP_MLNAME_CAST(sipName_state), meth_QAudioOutput_state, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioOutput_state)},
    {SIP_MLNAME_CAST(sipName_stop), meth_QAudioOutput_stop, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioOutput_stop)},
    {SIP_MLNAME_CAST(sipName_suspend), meth_QAudioOutput_suspend, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioOutput_suspend)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QAudioOutput_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_volume), meth_QAudioOutput_volume, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioOutput_volume)}
};

PyDoc_STRVAR(doc_QAudioOutput, "\1QAudioOutput(format: QAudioFormat = QAudioFormat(), parent: QObject = None)\n"
    "QAudioOutput(QAudioDeviceInfo, format: QAudioFormat = QAudioFormat(), parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QAudioOutput[] = {
    {"notify()", "\1notify(self)", 0, 0},
    {"stateChanged(QAudio::State)", "\1stateChanged(self, QAudio.State)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QAudioOutput = {
    & ::QAudioOutput::staticMetaObject,
    0,
    signals_QAudioOutput,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QAudioOutput = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QAudioOutput,
        {0},
        &plugin_QAudioOutput
    },
    {
        sipNameNr_QAudioOutput,
        {0, 0, 1},
        29, methods_QAudioOutput,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAudioOutput,
    -1,
    -1,
    supers_QAudioOutput,
    0,
    init_type_QAudioOutput,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QAudioOutput,
    0,
    0,
    0,
    release_QAudioOutput,
    cast_QAudioOutput,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qaudioinput.sip"
#include <qaudioinput.h>
#line 40590 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qaudioformat.sip"
#include <qaudioformat.h>
#line 40594 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 40597 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qaudiodeviceinfo.sip"
#include <qaudiodeviceinfo.h>
#line 40600 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qaudio.sip"
#include <qaudio.h>
#line 40603 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 40606 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 40609 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 40612 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 40615 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 40618 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 40621 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 40624 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 40627 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 40630 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 40633 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40636 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 40639 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40642 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 40645 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 40648 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 40651 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


class sipQAudioInput : public  ::QAudioInput
{
public:
    sipQAudioInput(const  ::QAudioFormat&, ::QObject*);
    sipQAudioInput(const  ::QAudioDeviceInfo&,const  ::QAudioFormat&, ::QObject*);
    virtual ~sipQAudioInput();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
     ::QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool, ::QTimerEvent*);
    void sipProtectVirt_childEvent(bool, ::QChildEvent*);
    void sipProtectVirt_customEvent(bool, ::QEvent*);
    void sipProtectVirt_connectNotify(bool,const  ::QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const  ::QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const  ::QMetaMethod&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQAudioInput(const sipQAudioInput &);
    sipQAudioInput &operator = (const sipQAudioInput &);

    char sipPyMethods[7];
};

sipQAudioInput::sipQAudioInput(const  ::QAudioFormat& a0, ::QObject*a1):  ::QAudioInput(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAudioInput::sipQAudioInput(const  ::QAudioDeviceInfo& a0,const  ::QAudioFormat& a1, ::QObject*a2):  ::QAudioInput(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAudioInput::~sipQAudioInput()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQAudioInput::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf,sipType_QAudioInput);

    return  ::QAudioInput::metaObject();
}

int sipQAudioInput::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QAudioInput::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtMultimedia_qt_metacall(sipPySelf,sipType_QAudioInput,_c,_id,_a);

    return _id;
}

void *sipQAudioInput::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtMultimedia_qt_metacast(sipPySelf, sipType_QAudioInput, _clname, &sipCpp) ? sipCpp :  ::QAudioInput::qt_metacast(_clname));
}

bool sipQAudioInput::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QAudioInput::event(a0);

    extern bool sipVH_QtMultimedia_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtMultimedia_10(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQAudioInput::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QAudioInput::eventFilter(a0,a1);

    extern bool sipVH_QtMultimedia_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtMultimedia_9(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQAudioInput::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QAudioInput::timerEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtMultimedia_8(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAudioInput::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QAudioInput::childEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtMultimedia_7(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAudioInput::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QAudioInput::customEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtMultimedia_6(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAudioInput::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QAudioInput::connectNotify(a0);
        return;
    }

    extern void sipVH_QtMultimedia_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAudioInput::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QAudioInput::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtMultimedia_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQAudioInput::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQAudioInput::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQAudioInput::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQAudioInput::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQAudioInput::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQAudioInput::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQAudioInput::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQAudioInput::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQAudioInput::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QAudioInput_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QAudioInput_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioInput_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAudioInput *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAudioInput, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 40951 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioInput, sipName_sender, doc_QAudioInput_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioInput_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QAudioInput_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioInput_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQAudioInput *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QAudioInput, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 41011 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.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_QAudioInput, sipName_receivers, doc_QAudioInput_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioInput_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QAudioInput_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioInput_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQAudioInput *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAudioInput, &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_QAudioInput, sipName_timerEvent, doc_QAudioInput_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioInput_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QAudioInput_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioInput_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQAudioInput *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAudioInput, &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_QAudioInput, sipName_childEvent, doc_QAudioInput_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioInput_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QAudioInput_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioInput_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQAudioInput *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAudioInput, &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_QAudioInput, sipName_customEvent, doc_QAudioInput_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioInput_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QAudioInput_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioInput_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQAudioInput *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAudioInput, &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_QAudioInput, sipName_connectNotify, doc_QAudioInput_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioInput_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QAudioInput_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioInput_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQAudioInput *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAudioInput, &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_QAudioInput, sipName_disconnectNotify, doc_QAudioInput_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioInput_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QAudioInput_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioInput_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAudioInput *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAudioInput, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioInput, sipName_senderSignalIndex, doc_QAudioInput_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioInput_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QAudioInput_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioInput_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQAudioInput *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAudioInput, &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_QAudioInput, sipName_isSignalConnected, doc_QAudioInput_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioInput_format, "format(self) -> QAudioFormat");

extern "C" {static PyObject *meth_QAudioInput_format(PyObject *, PyObject *);}
static PyObject *meth_QAudioInput_format(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioInput, &sipCpp))
        {
             ::QAudioFormat*sipRes;

            sipRes = new  ::QAudioFormat(sipCpp->format());

            return sipConvertFromNewType(sipRes,sipType_QAudioFormat,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioInput, sipName_format, doc_QAudioInput_format);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioInput_start, "start(self, QIODevice)\n"
    "start(self) -> QIODevice");

extern "C" {static PyObject *meth_QAudioInput_start(PyObject *, PyObject *);}
static PyObject *meth_QAudioInput_start(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QIODevice* a0;
         ::QAudioInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QAudioInput, &sipCpp, sipType_QIODevice, &a0))
        {
            sipCpp->start(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::QAudioInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioInput, &sipCpp))
        {
             ::QIODevice*sipRes;

            sipRes = sipCpp->start();

            return sipConvertFromType(sipRes,sipType_QIODevice,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioInput, sipName_start, doc_QAudioInput_start);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioInput_stop, "stop(self)");

extern "C" {static PyObject *meth_QAudioInput_stop(PyObject *, PyObject *);}
static PyObject *meth_QAudioInput_stop(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAudioInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioInput, &sipCpp))
        {
            sipCpp->stop();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioInput, sipName_stop, doc_QAudioInput_stop);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioInput_reset, "reset(self)");

extern "C" {static PyObject *meth_QAudioInput_reset(PyObject *, PyObject *);}
static PyObject *meth_QAudioInput_reset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAudioInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioInput, &sipCpp))
        {
            sipCpp->reset();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioInput, sipName_reset, doc_QAudioInput_reset);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioInput_suspend, "suspend(self)");

extern "C" {static PyObject *meth_QAudioInput_suspend(PyObject *, PyObject *);}
static PyObject *meth_QAudioInput_suspend(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAudioInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioInput, &sipCpp))
        {
            sipCpp->suspend();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioInput, sipName_suspend, doc_QAudioInput_suspend);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioInput_resume, "resume(self)");

extern "C" {static PyObject *meth_QAudioInput_resume(PyObject *, PyObject *);}
static PyObject *meth_QAudioInput_resume(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAudioInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioInput, &sipCpp))
        {
            sipCpp->resume();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioInput, sipName_resume, doc_QAudioInput_resume);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioInput_setBufferSize, "setBufferSize(self, int)");

extern "C" {static PyObject *meth_QAudioInput_setBufferSize(PyObject *, PyObject *);}
static PyObject *meth_QAudioInput_setBufferSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QAudioInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QAudioInput, &sipCpp, &a0))
        {
            sipCpp->setBufferSize(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioInput, sipName_setBufferSize, doc_QAudioInput_setBufferSize);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioInput_bufferSize, "bufferSize(self) -> int");

extern "C" {static PyObject *meth_QAudioInput_bufferSize(PyObject *, PyObject *);}
static PyObject *meth_QAudioInput_bufferSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioInput, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->bufferSize();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioInput, sipName_bufferSize, doc_QAudioInput_bufferSize);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioInput_bytesReady, "bytesReady(self) -> int");

extern "C" {static PyObject *meth_QAudioInput_bytesReady(PyObject *, PyObject *);}
static PyObject *meth_QAudioInput_bytesReady(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioInput, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->bytesReady();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioInput, sipName_bytesReady, doc_QAudioInput_bytesReady);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioInput_periodSize, "periodSize(self) -> int");

extern "C" {static PyObject *meth_QAudioInput_periodSize(PyObject *, PyObject *);}
static PyObject *meth_QAudioInput_periodSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioInput, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->periodSize();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioInput, sipName_periodSize, doc_QAudioInput_periodSize);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioInput_setNotifyInterval, "setNotifyInterval(self, int)");

extern "C" {static PyObject *meth_QAudioInput_setNotifyInterval(PyObject *, PyObject *);}
static PyObject *meth_QAudioInput_setNotifyInterval(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QAudioInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QAudioInput, &sipCpp, &a0))
        {
            sipCpp->setNotifyInterval(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioInput, sipName_setNotifyInterval, doc_QAudioInput_setNotifyInterval);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioInput_notifyInterval, "notifyInterval(self) -> int");

extern "C" {static PyObject *meth_QAudioInput_notifyInterval(PyObject *, PyObject *);}
static PyObject *meth_QAudioInput_notifyInterval(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioInput, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->notifyInterval();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioInput, sipName_notifyInterval, doc_QAudioInput_notifyInterval);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioInput_processedUSecs, "processedUSecs(self) -> int");

extern "C" {static PyObject *meth_QAudioInput_processedUSecs(PyObject *, PyObject *);}
static PyObject *meth_QAudioInput_processedUSecs(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioInput, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->processedUSecs();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioInput, sipName_processedUSecs, doc_QAudioInput_processedUSecs);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioInput_elapsedUSecs, "elapsedUSecs(self) -> int");

extern "C" {static PyObject *meth_QAudioInput_elapsedUSecs(PyObject *, PyObject *);}
static PyObject *meth_QAudioInput_elapsedUSecs(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioInput, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->elapsedUSecs();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioInput, sipName_elapsedUSecs, doc_QAudioInput_elapsedUSecs);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioInput_error, "error(self) -> QAudio.Error");

extern "C" {static PyObject *meth_QAudioInput_error(PyObject *, PyObject *);}
static PyObject *meth_QAudioInput_error(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioInput, &sipCpp))
        {
             ::QAudio::Error sipRes;

            sipRes = sipCpp->error();

            return sipConvertFromEnum(sipRes,sipType_QAudio_Error);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioInput, sipName_error, doc_QAudioInput_error);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioInput_state, "state(self) -> QAudio.State");

extern "C" {static PyObject *meth_QAudioInput_state(PyObject *, PyObject *);}
static PyObject *meth_QAudioInput_state(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioInput, &sipCpp))
        {
             ::QAudio::State sipRes;

            sipRes = sipCpp->state();

            return sipConvertFromEnum(sipRes,sipType_QAudio_State);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioInput, sipName_state, doc_QAudioInput_state);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioInput_setVolume, "setVolume(self, float)");

extern "C" {static PyObject *meth_QAudioInput_setVolume(PyObject *, PyObject *);}
static PyObject *meth_QAudioInput_setVolume(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QAudioInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QAudioInput, &sipCpp, &a0))
        {
            sipCpp->setVolume(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioInput, sipName_setVolume, doc_QAudioInput_setVolume);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioInput_volume, "volume(self) -> float");

extern "C" {static PyObject *meth_QAudioInput_volume(PyObject *, PyObject *);}
static PyObject *meth_QAudioInput_volume(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioInput, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->volume();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioInput, sipName_volume, doc_QAudioInput_volume);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QAudioInput(void *, const sipTypeDef *);}
static void *cast_QAudioInput(void *sipCppV, const sipTypeDef *targetType)
{
     ::QAudioInput *sipCpp = reinterpret_cast< ::QAudioInput *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QAudioInput(void *, int);}
static void release_QAudioInput(void *sipCppV, int)
{
     ::QAudioInput *sipCpp = reinterpret_cast< ::QAudioInput *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QAudioInput(sipSimpleWrapper *);}
static void dealloc_QAudioInput(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQAudioInput *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QAudioInput(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QAudioInput(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QAudioInput(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQAudioInput *sipCpp = 0;

    {
        const  ::QAudioFormat& a0def = QAudioFormat();
        const  ::QAudioFormat* a0 = &a0def;
         ::QObject* a1 = 0;

        static const char *sipKwdList[] = {
            sipName_format,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|J9JH", sipType_QAudioFormat, &a0, sipType_QObject, &a1, sipOwner))
        {
            sipCpp = new sipQAudioInput(*a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QAudioDeviceInfo* a0;
        const  ::QAudioFormat& a1def = QAudioFormat();
        const  ::QAudioFormat* a1 = &a1def;
         ::QObject* a2 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_format,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J9|J9JH", sipType_QAudioDeviceInfo, &a0, sipType_QAudioFormat, &a1, sipType_QObject, &a2, sipOwner))
        {
            sipCpp = new sipQAudioInput(*a0,*a1,a2);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QAudioInput[] = {{9, 0, 1}};


static PyMethodDef methods_QAudioInput[] = {
    {SIP_MLNAME_CAST(sipName_bufferSize), meth_QAudioInput_bufferSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioInput_bufferSize)},
    {SIP_MLNAME_CAST(sipName_bytesReady), meth_QAudioInput_bytesReady, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioInput_bytesReady)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QAudioInput_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QAudioInput_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QAudioInput_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QAudioInput_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_elapsedUSecs), meth_QAudioInput_elapsedUSecs, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioInput_elapsedUSecs)},
    {SIP_MLNAME_CAST(sipName_error), meth_QAudioInput_error, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioInput_error)},
    {SIP_MLNAME_CAST(sipName_format), meth_QAudioInput_format, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioInput_format)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QAudioInput_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_notifyInterval), meth_QAudioInput_notifyInterval, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioInput_notifyInterval)},
    {SIP_MLNAME_CAST(sipName_periodSize), meth_QAudioInput_periodSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioInput_periodSize)},
    {SIP_MLNAME_CAST(sipName_processedUSecs), meth_QAudioInput_processedUSecs, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioInput_processedUSecs)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QAudioInput_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_reset), meth_QAudioInput_reset, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioInput_reset)},
    {SIP_MLNAME_CAST(sipName_resume), meth_QAudioInput_resume, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioInput_resume)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QAudioInput_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QAudioInput_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setBufferSize), meth_QAudioInput_setBufferSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioInput_setBufferSize)},
    {SIP_MLNAME_CAST(sipName_setNotifyInterval), meth_QAudioInput_setNotifyInterval, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioInput_setNotifyInterval)},
    {SIP_MLNAME_CAST(sipName_setVolume), meth_QAudioInput_setVolume, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioInput_setVolume)},
    {SIP_MLNAME_CAST(sipName_start), meth_QAudioInput_start, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioInput_start)},
    {SIP_MLNAME_CAST(sipName_state), meth_QAudioInput_state, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioInput_state)},
    {SIP_MLNAME_CAST(sipName_stop), meth_QAudioInput_stop, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioInput_stop)},
    {SIP_MLNAME_CAST(sipName_suspend), meth_QAudioInput_suspend, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioInput_suspend)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QAudioInput_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_volume), meth_QAudioInput_volume, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioInput_volume)}
};

PyDoc_STRVAR(doc_QAudioInput, "\1QAudioInput(format: QAudioFormat = QAudioFormat(), parent: QObject = None)\n"
    "QAudioInput(QAudioDeviceInfo, format: QAudioFormat = QAudioFormat(), parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QAudioInput[] = {
    {"notify()", "\1notify(self)", 0, 0},
    {"stateChanged(QAudio::State)", "\1stateChanged(self, QAudio.State)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QAudioInput = {
    & ::QAudioInput::staticMetaObject,
    0,
    signals_QAudioInput,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QAudioInput = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QAudioInput,
        {0},
        &plugin_QAudioInput
    },
    {
        sipNameNr_QAudioInput,
        {0, 0, 1},
        27, methods_QAudioInput,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAudioInput,
    -1,
    -1,
    supers_QAudioInput,
    0,
    init_type_QAudioInput,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QAudioInput,
    0,
    0,
    0,
    release_QAudioInput,
    cast_QAudioInput,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qaudioformat.sip"
#include <qaudioformat.h>
#line 41945 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 41949 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


PyDoc_STRVAR(doc_QAudioFormat_isValid, "isValid(self) -> bool");

extern "C" {static PyObject *meth_QAudioFormat_isValid(PyObject *, PyObject *);}
static PyObject *meth_QAudioFormat_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioFormat *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioFormat, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isValid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioFormat, sipName_isValid, doc_QAudioFormat_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioFormat_setSampleSize, "setSampleSize(self, int)");

extern "C" {static PyObject *meth_QAudioFormat_setSampleSize(PyObject *, PyObject *);}
static PyObject *meth_QAudioFormat_setSampleSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QAudioFormat *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QAudioFormat, &sipCpp, &a0))
        {
            sipCpp->setSampleSize(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioFormat, sipName_setSampleSize, doc_QAudioFormat_setSampleSize);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioFormat_sampleSize, "sampleSize(self) -> int");

extern "C" {static PyObject *meth_QAudioFormat_sampleSize(PyObject *, PyObject *);}
static PyObject *meth_QAudioFormat_sampleSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioFormat *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioFormat, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sampleSize();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioFormat, sipName_sampleSize, doc_QAudioFormat_sampleSize);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioFormat_setCodec, "setCodec(self, str)");

extern "C" {static PyObject *meth_QAudioFormat_setCodec(PyObject *, PyObject *);}
static PyObject *meth_QAudioFormat_setCodec(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QAudioFormat *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QAudioFormat, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setCodec(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioFormat, sipName_setCodec, doc_QAudioFormat_setCodec);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioFormat_codec, "codec(self) -> str");

extern "C" {static PyObject *meth_QAudioFormat_codec(PyObject *, PyObject *);}
static PyObject *meth_QAudioFormat_codec(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioFormat *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioFormat, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->codec());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioFormat, sipName_codec, doc_QAudioFormat_codec);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioFormat_setByteOrder, "setByteOrder(self, QAudioFormat.Endian)");

extern "C" {static PyObject *meth_QAudioFormat_setByteOrder(PyObject *, PyObject *);}
static PyObject *meth_QAudioFormat_setByteOrder(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAudioFormat::Endian a0;
         ::QAudioFormat *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QAudioFormat, &sipCpp, sipType_QAudioFormat_Endian, &a0))
        {
            sipCpp->setByteOrder(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioFormat, sipName_setByteOrder, doc_QAudioFormat_setByteOrder);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioFormat_byteOrder, "byteOrder(self) -> QAudioFormat.Endian");

extern "C" {static PyObject *meth_QAudioFormat_byteOrder(PyObject *, PyObject *);}
static PyObject *meth_QAudioFormat_byteOrder(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioFormat *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioFormat, &sipCpp))
        {
             ::QAudioFormat::Endian sipRes;

            sipRes = sipCpp->byteOrder();

            return sipConvertFromEnum(sipRes,sipType_QAudioFormat_Endian);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioFormat, sipName_byteOrder, doc_QAudioFormat_byteOrder);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioFormat_setSampleType, "setSampleType(self, QAudioFormat.SampleType)");

extern "C" {static PyObject *meth_QAudioFormat_setSampleType(PyObject *, PyObject *);}
static PyObject *meth_QAudioFormat_setSampleType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAudioFormat::SampleType a0;
         ::QAudioFormat *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QAudioFormat, &sipCpp, sipType_QAudioFormat_SampleType, &a0))
        {
            sipCpp->setSampleType(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioFormat, sipName_setSampleType, doc_QAudioFormat_setSampleType);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioFormat_sampleType, "sampleType(self) -> QAudioFormat.SampleType");

extern "C" {static PyObject *meth_QAudioFormat_sampleType(PyObject *, PyObject *);}
static PyObject *meth_QAudioFormat_sampleType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioFormat *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioFormat, &sipCpp))
        {
             ::QAudioFormat::SampleType sipRes;

            sipRes = sipCpp->sampleType();

            return sipConvertFromEnum(sipRes,sipType_QAudioFormat_SampleType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioFormat, sipName_sampleType, doc_QAudioFormat_sampleType);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioFormat_setSampleRate, "setSampleRate(self, int)");

extern "C" {static PyObject *meth_QAudioFormat_setSampleRate(PyObject *, PyObject *);}
static PyObject *meth_QAudioFormat_setSampleRate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QAudioFormat *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QAudioFormat, &sipCpp, &a0))
        {
            sipCpp->setSampleRate(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioFormat, sipName_setSampleRate, doc_QAudioFormat_setSampleRate);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioFormat_sampleRate, "sampleRate(self) -> int");

extern "C" {static PyObject *meth_QAudioFormat_sampleRate(PyObject *, PyObject *);}
static PyObject *meth_QAudioFormat_sampleRate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioFormat *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioFormat, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sampleRate();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioFormat, sipName_sampleRate, doc_QAudioFormat_sampleRate);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioFormat_setChannelCount, "setChannelCount(self, int)");

extern "C" {static PyObject *meth_QAudioFormat_setChannelCount(PyObject *, PyObject *);}
static PyObject *meth_QAudioFormat_setChannelCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QAudioFormat *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QAudioFormat, &sipCpp, &a0))
        {
            sipCpp->setChannelCount(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioFormat, sipName_setChannelCount, doc_QAudioFormat_setChannelCount);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioFormat_channelCount, "channelCount(self) -> int");

extern "C" {static PyObject *meth_QAudioFormat_channelCount(PyObject *, PyObject *);}
static PyObject *meth_QAudioFormat_channelCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioFormat *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioFormat, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->channelCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioFormat, sipName_channelCount, doc_QAudioFormat_channelCount);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioFormat_bytesForDuration, "bytesForDuration(self, int) -> int");

extern "C" {static PyObject *meth_QAudioFormat_bytesForDuration(PyObject *, PyObject *);}
static PyObject *meth_QAudioFormat_bytesForDuration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint64 a0;
        const  ::QAudioFormat *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QAudioFormat, &sipCpp, &a0))
        {
             ::qint32 sipRes;

            sipRes = sipCpp->bytesForDuration(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioFormat, sipName_bytesForDuration, doc_QAudioFormat_bytesForDuration);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioFormat_durationForBytes, "durationForBytes(self, int) -> int");

extern "C" {static PyObject *meth_QAudioFormat_durationForBytes(PyObject *, PyObject *);}
static PyObject *meth_QAudioFormat_durationForBytes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint32 a0;
        const  ::QAudioFormat *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QAudioFormat, &sipCpp, &a0))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->durationForBytes(a0);

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioFormat, sipName_durationForBytes, doc_QAudioFormat_durationForBytes);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioFormat_bytesForFrames, "bytesForFrames(self, int) -> int");

extern "C" {static PyObject *meth_QAudioFormat_bytesForFrames(PyObject *, PyObject *);}
static PyObject *meth_QAudioFormat_bytesForFrames(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint32 a0;
        const  ::QAudioFormat *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QAudioFormat, &sipCpp, &a0))
        {
             ::qint32 sipRes;

            sipRes = sipCpp->bytesForFrames(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioFormat, sipName_bytesForFrames, doc_QAudioFormat_bytesForFrames);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioFormat_framesForBytes, "framesForBytes(self, int) -> int");

extern "C" {static PyObject *meth_QAudioFormat_framesForBytes(PyObject *, PyObject *);}
static PyObject *meth_QAudioFormat_framesForBytes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint32 a0;
        const  ::QAudioFormat *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QAudioFormat, &sipCpp, &a0))
        {
             ::qint32 sipRes;

            sipRes = sipCpp->framesForBytes(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioFormat, sipName_framesForBytes, doc_QAudioFormat_framesForBytes);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioFormat_framesForDuration, "framesForDuration(self, int) -> int");

extern "C" {static PyObject *meth_QAudioFormat_framesForDuration(PyObject *, PyObject *);}
static PyObject *meth_QAudioFormat_framesForDuration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint64 a0;
        const  ::QAudioFormat *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QAudioFormat, &sipCpp, &a0))
        {
             ::qint32 sipRes;

            sipRes = sipCpp->framesForDuration(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioFormat, sipName_framesForDuration, doc_QAudioFormat_framesForDuration);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioFormat_durationForFrames, "durationForFrames(self, int) -> int");

extern "C" {static PyObject *meth_QAudioFormat_durationForFrames(PyObject *, PyObject *);}
static PyObject *meth_QAudioFormat_durationForFrames(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint32 a0;
        const  ::QAudioFormat *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QAudioFormat, &sipCpp, &a0))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->durationForFrames(a0);

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioFormat, sipName_durationForFrames, doc_QAudioFormat_durationForFrames);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioFormat_bytesPerFrame, "bytesPerFrame(self) -> int");

extern "C" {static PyObject *meth_QAudioFormat_bytesPerFrame(PyObject *, PyObject *);}
static PyObject *meth_QAudioFormat_bytesPerFrame(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioFormat *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioFormat, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->bytesPerFrame();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioFormat, sipName_bytesPerFrame, doc_QAudioFormat_bytesPerFrame);

    return NULL;
}


extern "C" {static PyObject *slot_QAudioFormat___ne__(PyObject *,PyObject *);}
static PyObject *slot_QAudioFormat___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QAudioFormat *sipCpp = reinterpret_cast< ::QAudioFormat *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QAudioFormat));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioFormat* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QAudioFormat, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QAudioFormat::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, ne_slot, sipType_QAudioFormat, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QAudioFormat___eq__(PyObject *,PyObject *);}
static PyObject *slot_QAudioFormat___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QAudioFormat *sipCpp = reinterpret_cast< ::QAudioFormat *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QAudioFormat));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioFormat* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QAudioFormat, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QAudioFormat::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, eq_slot, sipType_QAudioFormat, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QAudioFormat(void *, int);}
static void release_QAudioFormat(void *sipCppV, int)
{
    delete reinterpret_cast< ::QAudioFormat *>(sipCppV);
}


extern "C" {static void assign_QAudioFormat(void *, SIP_SSIZE_T, const void *);}
static void assign_QAudioFormat(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QAudioFormat *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QAudioFormat *>(sipSrc);
}


extern "C" {static void *array_QAudioFormat(SIP_SSIZE_T);}
static void *array_QAudioFormat(SIP_SSIZE_T sipNrElem)
{
    return new  ::QAudioFormat[sipNrElem];
}


extern "C" {static void *copy_QAudioFormat(const void *, SIP_SSIZE_T);}
static void *copy_QAudioFormat(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QAudioFormat(reinterpret_cast<const  ::QAudioFormat *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QAudioFormat(sipSimpleWrapper *);}
static void dealloc_QAudioFormat(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QAudioFormat(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QAudioFormat(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QAudioFormat(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QAudioFormat *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QAudioFormat();

            return sipCpp;
        }
    }

    {
        const  ::QAudioFormat* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QAudioFormat, &a0))
        {
            sipCpp = new  ::QAudioFormat(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QAudioFormat[] = {
    {(void *)slot_QAudioFormat___ne__, ne_slot},
    {(void *)slot_QAudioFormat___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QAudioFormat[] = {
    {SIP_MLNAME_CAST(sipName_byteOrder), meth_QAudioFormat_byteOrder, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioFormat_byteOrder)},
    {SIP_MLNAME_CAST(sipName_bytesForDuration), meth_QAudioFormat_bytesForDuration, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioFormat_bytesForDuration)},
    {SIP_MLNAME_CAST(sipName_bytesForFrames), meth_QAudioFormat_bytesForFrames, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioFormat_bytesForFrames)},
    {SIP_MLNAME_CAST(sipName_bytesPerFrame), meth_QAudioFormat_bytesPerFrame, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioFormat_bytesPerFrame)},
    {SIP_MLNAME_CAST(sipName_channelCount), meth_QAudioFormat_channelCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioFormat_channelCount)},
    {SIP_MLNAME_CAST(sipName_codec), meth_QAudioFormat_codec, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioFormat_codec)},
    {SIP_MLNAME_CAST(sipName_durationForBytes), meth_QAudioFormat_durationForBytes, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioFormat_durationForBytes)},
    {SIP_MLNAME_CAST(sipName_durationForFrames), meth_QAudioFormat_durationForFrames, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioFormat_durationForFrames)},
    {SIP_MLNAME_CAST(sipName_framesForBytes), meth_QAudioFormat_framesForBytes, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioFormat_framesForBytes)},
    {SIP_MLNAME_CAST(sipName_framesForDuration), meth_QAudioFormat_framesForDuration, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioFormat_framesForDuration)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QAudioFormat_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioFormat_isValid)},
    {SIP_MLNAME_CAST(sipName_sampleRate), meth_QAudioFormat_sampleRate, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioFormat_sampleRate)},
    {SIP_MLNAME_CAST(sipName_sampleSize), meth_QAudioFormat_sampleSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioFormat_sampleSize)},
    {SIP_MLNAME_CAST(sipName_sampleType), meth_QAudioFormat_sampleType, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioFormat_sampleType)},
    {SIP_MLNAME_CAST(sipName_setByteOrder), meth_QAudioFormat_setByteOrder, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioFormat_setByteOrder)},
    {SIP_MLNAME_CAST(sipName_setChannelCount), meth_QAudioFormat_setChannelCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioFormat_setChannelCount)},
    {SIP_MLNAME_CAST(sipName_setCodec), meth_QAudioFormat_setCodec, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioFormat_setCodec)},
    {SIP_MLNAME_CAST(sipName_setSampleRate), meth_QAudioFormat_setSampleRate, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioFormat_setSampleRate)},
    {SIP_MLNAME_CAST(sipName_setSampleSize), meth_QAudioFormat_setSampleSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioFormat_setSampleSize)},
    {SIP_MLNAME_CAST(sipName_setSampleType), meth_QAudioFormat_setSampleType, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioFormat_setSampleType)}
};

static sipEnumMemberDef enummembers_QAudioFormat[] = {
    {sipName_BigEndian, static_cast<int>( ::QAudioFormat::BigEndian), 19},
    {sipName_Float, static_cast<int>( ::QAudioFormat::Float), 20},
    {sipName_LittleEndian, static_cast<int>( ::QAudioFormat::LittleEndian), 19},
    {sipName_SignedInt, static_cast<int>( ::QAudioFormat::SignedInt), 20},
    {sipName_UnSignedInt, static_cast<int>( ::QAudioFormat::UnSignedInt), 20},
    {sipName_Unknown, static_cast<int>( ::QAudioFormat::Unknown), 20},
};

PyDoc_STRVAR(doc_QAudioFormat, "\1QAudioFormat()\n"
    "QAudioFormat(QAudioFormat)");


static pyqt5ClassPluginDef plugin_QAudioFormat = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QAudioFormat = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QAudioFormat,
        {0},
        &plugin_QAudioFormat
    },
    {
        sipNameNr_QAudioFormat,
        {0, 0, 1},
        20, methods_QAudioFormat,
        6, enummembers_QAudioFormat,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAudioFormat,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QAudioFormat,
    init_type_QAudioFormat,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QAudioFormat,
    assign_QAudioFormat,
    array_QAudioFormat,
    copy_QAudioFormat,
    release_QAudioFormat,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qaudiodeviceinfo.sip"
#include <qaudiodeviceinfo.h>
#line 42756 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 642 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 42760 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 42763 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qaudio.sip"
#include <qaudio.h>
#line 42766 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 231 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qpymultimedia_qlist.sip"
#include <qaudioformat.h>
#line 42769 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qaudioformat.sip"
#include <qaudioformat.h>
#line 42772 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 129 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qpymultimedia_qlist.sip"
#include <qaudioformat.h>
#line 42775 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 42778 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 42781 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


PyDoc_STRVAR(doc_QAudioDeviceInfo_isNull, "isNull(self) -> bool");

extern "C" {static PyObject *meth_QAudioDeviceInfo_isNull(PyObject *, PyObject *);}
static PyObject *meth_QAudioDeviceInfo_isNull(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioDeviceInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioDeviceInfo, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isNull();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDeviceInfo, sipName_isNull, doc_QAudioDeviceInfo_isNull);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDeviceInfo_deviceName, "deviceName(self) -> str");

extern "C" {static PyObject *meth_QAudioDeviceInfo_deviceName(PyObject *, PyObject *);}
static PyObject *meth_QAudioDeviceInfo_deviceName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioDeviceInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioDeviceInfo, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->deviceName());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDeviceInfo, sipName_deviceName, doc_QAudioDeviceInfo_deviceName);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDeviceInfo_isFormatSupported, "isFormatSupported(self, QAudioFormat) -> bool");

extern "C" {static PyObject *meth_QAudioDeviceInfo_isFormatSupported(PyObject *, PyObject *);}
static PyObject *meth_QAudioDeviceInfo_isFormatSupported(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioFormat* a0;
        const  ::QAudioDeviceInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAudioDeviceInfo, &sipCpp, sipType_QAudioFormat, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isFormatSupported(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDeviceInfo, sipName_isFormatSupported, doc_QAudioDeviceInfo_isFormatSupported);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDeviceInfo_preferredFormat, "preferredFormat(self) -> QAudioFormat");

extern "C" {static PyObject *meth_QAudioDeviceInfo_preferredFormat(PyObject *, PyObject *);}
static PyObject *meth_QAudioDeviceInfo_preferredFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioDeviceInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioDeviceInfo, &sipCpp))
        {
             ::QAudioFormat*sipRes;

            sipRes = new  ::QAudioFormat(sipCpp->preferredFormat());

            return sipConvertFromNewType(sipRes,sipType_QAudioFormat,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDeviceInfo, sipName_preferredFormat, doc_QAudioDeviceInfo_preferredFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDeviceInfo_nearestFormat, "nearestFormat(self, QAudioFormat) -> QAudioFormat");

extern "C" {static PyObject *meth_QAudioDeviceInfo_nearestFormat(PyObject *, PyObject *);}
static PyObject *meth_QAudioDeviceInfo_nearestFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioFormat* a0;
        const  ::QAudioDeviceInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAudioDeviceInfo, &sipCpp, sipType_QAudioFormat, &a0))
        {
             ::QAudioFormat*sipRes;

            sipRes = new  ::QAudioFormat(sipCpp->nearestFormat(*a0));

            return sipConvertFromNewType(sipRes,sipType_QAudioFormat,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDeviceInfo, sipName_nearestFormat, doc_QAudioDeviceInfo_nearestFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDeviceInfo_supportedCodecs, "supportedCodecs(self) -> List[str]");

extern "C" {static PyObject *meth_QAudioDeviceInfo_supportedCodecs(PyObject *, PyObject *);}
static PyObject *meth_QAudioDeviceInfo_supportedCodecs(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioDeviceInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioDeviceInfo, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->supportedCodecs());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDeviceInfo, sipName_supportedCodecs, doc_QAudioDeviceInfo_supportedCodecs);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDeviceInfo_supportedSampleSizes, "supportedSampleSizes(self) -> List[int]");

extern "C" {static PyObject *meth_QAudioDeviceInfo_supportedSampleSizes(PyObject *, PyObject *);}
static PyObject *meth_QAudioDeviceInfo_supportedSampleSizes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioDeviceInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioDeviceInfo, &sipCpp))
        {
             ::QList<int>*sipRes;

            sipRes = new  ::QList<int>(sipCpp->supportedSampleSizes());

            return sipConvertFromNewType(sipRes,sipType_QList_1800,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDeviceInfo, sipName_supportedSampleSizes, doc_QAudioDeviceInfo_supportedSampleSizes);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDeviceInfo_supportedByteOrders, "supportedByteOrders(self) -> List[QAudioFormat.Endian]");

extern "C" {static PyObject *meth_QAudioDeviceInfo_supportedByteOrders(PyObject *, PyObject *);}
static PyObject *meth_QAudioDeviceInfo_supportedByteOrders(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioDeviceInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioDeviceInfo, &sipCpp))
        {
             ::QList< ::QAudioFormat::Endian>*sipRes;

            sipRes = new  ::QList< ::QAudioFormat::Endian>(sipCpp->supportedByteOrders());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QAudioFormat_Endian,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDeviceInfo, sipName_supportedByteOrders, doc_QAudioDeviceInfo_supportedByteOrders);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDeviceInfo_supportedSampleTypes, "supportedSampleTypes(self) -> List[QAudioFormat.SampleType]");

extern "C" {static PyObject *meth_QAudioDeviceInfo_supportedSampleTypes(PyObject *, PyObject *);}
static PyObject *meth_QAudioDeviceInfo_supportedSampleTypes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioDeviceInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioDeviceInfo, &sipCpp))
        {
             ::QList< ::QAudioFormat::SampleType>*sipRes;

            sipRes = new  ::QList< ::QAudioFormat::SampleType>(sipCpp->supportedSampleTypes());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QAudioFormat_SampleType,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDeviceInfo, sipName_supportedSampleTypes, doc_QAudioDeviceInfo_supportedSampleTypes);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDeviceInfo_defaultInputDevice, "defaultInputDevice() -> QAudioDeviceInfo");

extern "C" {static PyObject *meth_QAudioDeviceInfo_defaultInputDevice(PyObject *, PyObject *);}
static PyObject *meth_QAudioDeviceInfo_defaultInputDevice(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QAudioDeviceInfo*sipRes;

            sipRes = new  ::QAudioDeviceInfo( ::QAudioDeviceInfo::defaultInputDevice());

            return sipConvertFromNewType(sipRes,sipType_QAudioDeviceInfo,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDeviceInfo, sipName_defaultInputDevice, doc_QAudioDeviceInfo_defaultInputDevice);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDeviceInfo_defaultOutputDevice, "defaultOutputDevice() -> QAudioDeviceInfo");

extern "C" {static PyObject *meth_QAudioDeviceInfo_defaultOutputDevice(PyObject *, PyObject *);}
static PyObject *meth_QAudioDeviceInfo_defaultOutputDevice(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QAudioDeviceInfo*sipRes;

            sipRes = new  ::QAudioDeviceInfo( ::QAudioDeviceInfo::defaultOutputDevice());

            return sipConvertFromNewType(sipRes,sipType_QAudioDeviceInfo,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDeviceInfo, sipName_defaultOutputDevice, doc_QAudioDeviceInfo_defaultOutputDevice);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDeviceInfo_availableDevices, "availableDevices(QAudio.Mode) -> object");

extern "C" {static PyObject *meth_QAudioDeviceInfo_availableDevices(PyObject *, PyObject *);}
static PyObject *meth_QAudioDeviceInfo_availableDevices(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAudio::Mode a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_QAudio_Mode, &a0))
        {
            QList< ::QAudioDeviceInfo>*sipRes;

            sipRes = new QList< ::QAudioDeviceInfo>( ::QAudioDeviceInfo::availableDevices(a0));

            return sipConvertFromNewType(sipRes,sipType_QList_0100QAudioDeviceInfo,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDeviceInfo, sipName_availableDevices, doc_QAudioDeviceInfo_availableDevices);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDeviceInfo_supportedSampleRates, "supportedSampleRates(self) -> List[int]");

extern "C" {static PyObject *meth_QAudioDeviceInfo_supportedSampleRates(PyObject *, PyObject *);}
static PyObject *meth_QAudioDeviceInfo_supportedSampleRates(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioDeviceInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioDeviceInfo, &sipCpp))
        {
             ::QList<int>*sipRes;

            sipRes = new  ::QList<int>(sipCpp->supportedSampleRates());

            return sipConvertFromNewType(sipRes,sipType_QList_1800,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDeviceInfo, sipName_supportedSampleRates, doc_QAudioDeviceInfo_supportedSampleRates);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDeviceInfo_supportedChannelCounts, "supportedChannelCounts(self) -> List[int]");

extern "C" {static PyObject *meth_QAudioDeviceInfo_supportedChannelCounts(PyObject *, PyObject *);}
static PyObject *meth_QAudioDeviceInfo_supportedChannelCounts(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioDeviceInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioDeviceInfo, &sipCpp))
        {
             ::QList<int>*sipRes;

            sipRes = new  ::QList<int>(sipCpp->supportedChannelCounts());

            return sipConvertFromNewType(sipRes,sipType_QList_1800,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDeviceInfo, sipName_supportedChannelCounts, doc_QAudioDeviceInfo_supportedChannelCounts);

    return NULL;
}


extern "C" {static PyObject *slot_QAudioDeviceInfo___ne__(PyObject *,PyObject *);}
static PyObject *slot_QAudioDeviceInfo___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QAudioDeviceInfo *sipCpp = reinterpret_cast< ::QAudioDeviceInfo *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QAudioDeviceInfo));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioDeviceInfo* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QAudioDeviceInfo, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QAudioDeviceInfo::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, ne_slot, sipType_QAudioDeviceInfo, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QAudioDeviceInfo___eq__(PyObject *,PyObject *);}
static PyObject *slot_QAudioDeviceInfo___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QAudioDeviceInfo *sipCpp = reinterpret_cast< ::QAudioDeviceInfo *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QAudioDeviceInfo));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioDeviceInfo* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QAudioDeviceInfo, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QAudioDeviceInfo::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, eq_slot, sipType_QAudioDeviceInfo, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QAudioDeviceInfo(void *, int);}
static void release_QAudioDeviceInfo(void *sipCppV, int)
{
    delete reinterpret_cast< ::QAudioDeviceInfo *>(sipCppV);
}


extern "C" {static void assign_QAudioDeviceInfo(void *, SIP_SSIZE_T, const void *);}
static void assign_QAudioDeviceInfo(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QAudioDeviceInfo *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QAudioDeviceInfo *>(sipSrc);
}


extern "C" {static void *array_QAudioDeviceInfo(SIP_SSIZE_T);}
static void *array_QAudioDeviceInfo(SIP_SSIZE_T sipNrElem)
{
    return new  ::QAudioDeviceInfo[sipNrElem];
}


extern "C" {static void *copy_QAudioDeviceInfo(const void *, SIP_SSIZE_T);}
static void *copy_QAudioDeviceInfo(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QAudioDeviceInfo(reinterpret_cast<const  ::QAudioDeviceInfo *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QAudioDeviceInfo(sipSimpleWrapper *);}
static void dealloc_QAudioDeviceInfo(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QAudioDeviceInfo(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QAudioDeviceInfo(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QAudioDeviceInfo(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QAudioDeviceInfo *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QAudioDeviceInfo();

            return sipCpp;
        }
    }

    {
        const  ::QAudioDeviceInfo* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QAudioDeviceInfo, &a0))
        {
            sipCpp = new  ::QAudioDeviceInfo(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QAudioDeviceInfo[] = {
    {(void *)slot_QAudioDeviceInfo___ne__, ne_slot},
    {(void *)slot_QAudioDeviceInfo___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QAudioDeviceInfo[] = {
    {SIP_MLNAME_CAST(sipName_availableDevices), meth_QAudioDeviceInfo_availableDevices, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioDeviceInfo_availableDevices)},
    {SIP_MLNAME_CAST(sipName_defaultInputDevice), meth_QAudioDeviceInfo_defaultInputDevice, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioDeviceInfo_defaultInputDevice)},
    {SIP_MLNAME_CAST(sipName_defaultOutputDevice), meth_QAudioDeviceInfo_defaultOutputDevice, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioDeviceInfo_defaultOutputDevice)},
    {SIP_MLNAME_CAST(sipName_deviceName), meth_QAudioDeviceInfo_deviceName, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioDeviceInfo_deviceName)},
    {SIP_MLNAME_CAST(sipName_isFormatSupported), meth_QAudioDeviceInfo_isFormatSupported, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioDeviceInfo_isFormatSupported)},
    {SIP_MLNAME_CAST(sipName_isNull), meth_QAudioDeviceInfo_isNull, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioDeviceInfo_isNull)},
    {SIP_MLNAME_CAST(sipName_nearestFormat), meth_QAudioDeviceInfo_nearestFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioDeviceInfo_nearestFormat)},
    {SIP_MLNAME_CAST(sipName_preferredFormat), meth_QAudioDeviceInfo_preferredFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioDeviceInfo_preferredFormat)},
    {SIP_MLNAME_CAST(sipName_supportedByteOrders), meth_QAudioDeviceInfo_supportedByteOrders, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioDeviceInfo_supportedByteOrders)},
    {SIP_MLNAME_CAST(sipName_supportedChannelCounts), meth_QAudioDeviceInfo_supportedChannelCounts, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioDeviceInfo_supportedChannelCounts)},
    {SIP_MLNAME_CAST(sipName_supportedCodecs), meth_QAudioDeviceInfo_supportedCodecs, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioDeviceInfo_supportedCodecs)},
    {SIP_MLNAME_CAST(sipName_supportedSampleRates), meth_QAudioDeviceInfo_supportedSampleRates, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioDeviceInfo_supportedSampleRates)},
    {SIP_MLNAME_CAST(sipName_supportedSampleSizes), meth_QAudioDeviceInfo_supportedSampleSizes, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioDeviceInfo_supportedSampleSizes)},
    {SIP_MLNAME_CAST(sipName_supportedSampleTypes), meth_QAudioDeviceInfo_supportedSampleTypes, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioDeviceInfo_supportedSampleTypes)}
};

PyDoc_STRVAR(doc_QAudioDeviceInfo, "\1QAudioDeviceInfo()\n"
    "QAudioDeviceInfo(QAudioDeviceInfo)");


static pyqt5ClassPluginDef plugin_QAudioDeviceInfo = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QAudioDeviceInfo = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QAudioDeviceInfo,
        {0},
        &plugin_QAudioDeviceInfo
    },
    {
        sipNameNr_QAudioDeviceInfo,
        {0, 0, 1},
        14, methods_QAudioDeviceInfo,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAudioDeviceInfo,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QAudioDeviceInfo,
    init_type_QAudioDeviceInfo,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QAudioDeviceInfo,
    assign_QAudioDeviceInfo,
    array_QAudioDeviceInfo,
    copy_QAudioDeviceInfo,
    release_QAudioDeviceInfo,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qaudiodecoder.sip"
#include <qaudiodecoder.h>
#line 43395 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 43399 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qaudioformat.sip"
#include <qaudioformat.h>
#line 43402 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qaudiobuffer.sip"
#include <qaudiobuffer.h>
#line 43405 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 43408 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 43411 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmultimedia.sip"
#include <qmultimedia.h>
#line 43414 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 43417 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 43420 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 43423 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaservice.sip"
#include <qmediaservice.h>
#line 43426 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 43429 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 43432 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 43435 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 43438 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 43441 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 43444 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 43447 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 43450 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 43453 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 43456 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 43459 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 43462 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


class sipQAudioDecoder : public  ::QAudioDecoder
{
public:
    sipQAudioDecoder( ::QObject*);
    virtual ~sipQAudioDecoder();

    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 sipProtect_addPropertyWatch(const  ::QByteArray&);
    void sipProtect_removePropertyWatch(const  ::QByteArray&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    bool isAvailable() const;
     ::QMultimedia::AvailabilityStatus availability() const;
     ::QMediaService* service() const;
    bool bind( ::QObject*);
    void unbind( ::QObject*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQAudioDecoder(const sipQAudioDecoder &);
    sipQAudioDecoder &operator = (const sipQAudioDecoder &);

    char sipPyMethods[12];
};

sipQAudioDecoder::sipQAudioDecoder( ::QObject*a0):  ::QAudioDecoder(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAudioDecoder::~sipQAudioDecoder()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQAudioDecoder::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf,sipType_QAudioDecoder);

    return  ::QAudioDecoder::metaObject();
}

int sipQAudioDecoder::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QAudioDecoder::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtMultimedia_qt_metacall(sipPySelf,sipType_QAudioDecoder,_c,_id,_a);

    return _id;
}

void *sipQAudioDecoder::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtMultimedia_qt_metacast(sipPySelf, sipType_QAudioDecoder, _clname, &sipCpp) ? sipCpp :  ::QAudioDecoder::qt_metacast(_clname));
}

void sipQAudioDecoder::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QAudioDecoder::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtMultimedia_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAudioDecoder::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QAudioDecoder::connectNotify(a0);
        return;
    }

    extern void sipVH_QtMultimedia_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAudioDecoder::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QAudioDecoder::customEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtMultimedia_6(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAudioDecoder::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QAudioDecoder::childEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtMultimedia_7(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAudioDecoder::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QAudioDecoder::timerEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtMultimedia_8(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQAudioDecoder::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QAudioDecoder::eventFilter(a0,a1);

    extern bool sipVH_QtMultimedia_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtMultimedia_9(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQAudioDecoder::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QAudioDecoder::event(a0);

    extern bool sipVH_QtMultimedia_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtMultimedia_10(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQAudioDecoder::isAvailable() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_isAvailable);

    if (!sipMeth)
        return  ::QAudioDecoder::isAvailable();

    extern bool sipVH_QtMultimedia_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtMultimedia_16(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QMultimedia::AvailabilityStatus sipQAudioDecoder::availability() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_availability);

    if (!sipMeth)
        return  ::QAudioDecoder::availability();

    extern  ::QMultimedia::AvailabilityStatus sipVH_QtMultimedia_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtMultimedia_17(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QMediaService* sipQAudioDecoder::service() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_service);

    if (!sipMeth)
        return  ::QAudioDecoder::service();

    extern  ::QMediaService* sipVH_QtMultimedia_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtMultimedia_18(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQAudioDecoder::bind( ::QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_bind);

    if (!sipMeth)
        return  ::QAudioDecoder::bind(a0);

    extern bool sipVH_QtMultimedia_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*);

    return sipVH_QtMultimedia_19(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAudioDecoder::unbind( ::QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_unbind);

    if (!sipMeth)
    {
         ::QAudioDecoder::unbind(a0);
        return;
    }

    extern void sipVH_QtMultimedia_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*);

    sipVH_QtMultimedia_20(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQAudioDecoder::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQAudioDecoder::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQAudioDecoder::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQAudioDecoder::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQAudioDecoder::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQAudioDecoder::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQAudioDecoder::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQAudioDecoder::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQAudioDecoder::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

void sipQAudioDecoder::sipProtect_addPropertyWatch(const  ::QByteArray& a0)
{
     ::QMediaObject::addPropertyWatch(a0);
}

void sipQAudioDecoder::sipProtect_removePropertyWatch(const  ::QByteArray& a0)
{
     ::QMediaObject::removePropertyWatch(a0);
}


PyDoc_STRVAR(doc_QAudioDecoder_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QAudioDecoder_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioDecoder_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAudioDecoder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAudioDecoder, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 43851 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDecoder, sipName_sender, doc_QAudioDecoder_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDecoder_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QAudioDecoder_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioDecoder_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQAudioDecoder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QAudioDecoder, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 43911 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.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_QAudioDecoder, sipName_receivers, doc_QAudioDecoder_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDecoder_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QAudioDecoder_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioDecoder_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQAudioDecoder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAudioDecoder, &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_QAudioDecoder, sipName_timerEvent, doc_QAudioDecoder_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDecoder_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QAudioDecoder_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioDecoder_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQAudioDecoder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAudioDecoder, &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_QAudioDecoder, sipName_childEvent, doc_QAudioDecoder_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDecoder_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QAudioDecoder_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioDecoder_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQAudioDecoder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAudioDecoder, &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_QAudioDecoder, sipName_customEvent, doc_QAudioDecoder_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDecoder_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QAudioDecoder_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioDecoder_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQAudioDecoder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAudioDecoder, &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_QAudioDecoder, sipName_connectNotify, doc_QAudioDecoder_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDecoder_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QAudioDecoder_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioDecoder_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQAudioDecoder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAudioDecoder, &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_QAudioDecoder, sipName_disconnectNotify, doc_QAudioDecoder_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDecoder_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QAudioDecoder_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioDecoder_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAudioDecoder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAudioDecoder, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDecoder, sipName_senderSignalIndex, doc_QAudioDecoder_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDecoder_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QAudioDecoder_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioDecoder_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQAudioDecoder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAudioDecoder, &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_QAudioDecoder, sipName_isSignalConnected, doc_QAudioDecoder_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDecoder_addPropertyWatch, "addPropertyWatch(self, Union[QByteArray, bytes, bytearray])");

extern "C" {static PyObject *meth_QAudioDecoder_addPropertyWatch(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioDecoder_addPropertyWatch(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
        sipQAudioDecoder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QAudioDecoder, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            sipCpp->sipProtect_addPropertyWatch(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDecoder, sipName_addPropertyWatch, doc_QAudioDecoder_addPropertyWatch);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDecoder_removePropertyWatch, "removePropertyWatch(self, Union[QByteArray, bytes, bytearray])");

extern "C" {static PyObject *meth_QAudioDecoder_removePropertyWatch(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioDecoder_removePropertyWatch(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
        sipQAudioDecoder *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QAudioDecoder, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            sipCpp->sipProtect_removePropertyWatch(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDecoder, sipName_removePropertyWatch, doc_QAudioDecoder_removePropertyWatch);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDecoder_hasSupport, "hasSupport(str, codecs: Iterable[str] = []) -> QMultimedia.SupportEstimate");

extern "C" {static PyObject *meth_QAudioDecoder_hasSupport(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAudioDecoder_hasSupport(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QStringList& a1def = QStringList();
        const  ::QStringList* a1 = &a1def;
        int a1State = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_codecs,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J1|J1", sipType_QString,&a0, &a0State, sipType_QStringList,&a1, &a1State))
        {
             ::QMultimedia::SupportEstimate sipRes;

            sipRes =  ::QAudioDecoder::hasSupport(*a0,*a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QStringList *>(a1),sipType_QStringList,a1State);

            return sipConvertFromEnum(sipRes,sipType_QMultimedia_SupportEstimate);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDecoder, sipName_hasSupport, doc_QAudioDecoder_hasSupport);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDecoder_state, "state(self) -> QAudioDecoder.State");

extern "C" {static PyObject *meth_QAudioDecoder_state(PyObject *, PyObject *);}
static PyObject *meth_QAudioDecoder_state(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioDecoder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioDecoder, &sipCpp))
        {
             ::QAudioDecoder::State sipRes;

            sipRes = sipCpp->state();

            return sipConvertFromEnum(sipRes,sipType_QAudioDecoder_State);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDecoder, sipName_state, doc_QAudioDecoder_state);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDecoder_sourceFilename, "sourceFilename(self) -> str");

extern "C" {static PyObject *meth_QAudioDecoder_sourceFilename(PyObject *, PyObject *);}
static PyObject *meth_QAudioDecoder_sourceFilename(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioDecoder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioDecoder, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->sourceFilename());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDecoder, sipName_sourceFilename, doc_QAudioDecoder_sourceFilename);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDecoder_setSourceFilename, "setSourceFilename(self, str)");

extern "C" {static PyObject *meth_QAudioDecoder_setSourceFilename(PyObject *, PyObject *);}
static PyObject *meth_QAudioDecoder_setSourceFilename(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QAudioDecoder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QAudioDecoder, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setSourceFilename(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDecoder, sipName_setSourceFilename, doc_QAudioDecoder_setSourceFilename);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDecoder_sourceDevice, "sourceDevice(self) -> QIODevice");

extern "C" {static PyObject *meth_QAudioDecoder_sourceDevice(PyObject *, PyObject *);}
static PyObject *meth_QAudioDecoder_sourceDevice(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioDecoder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioDecoder, &sipCpp))
        {
             ::QIODevice*sipRes;

            sipRes = sipCpp->sourceDevice();

            return sipConvertFromType(sipRes,sipType_QIODevice,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDecoder, sipName_sourceDevice, doc_QAudioDecoder_sourceDevice);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDecoder_setSourceDevice, "setSourceDevice(self, QIODevice)");

extern "C" {static PyObject *meth_QAudioDecoder_setSourceDevice(PyObject *, PyObject *);}
static PyObject *meth_QAudioDecoder_setSourceDevice(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QIODevice* a0;
         ::QAudioDecoder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QAudioDecoder, &sipCpp, sipType_QIODevice, &a0))
        {
            sipCpp->setSourceDevice(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDecoder, sipName_setSourceDevice, doc_QAudioDecoder_setSourceDevice);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDecoder_audioFormat, "audioFormat(self) -> QAudioFormat");

extern "C" {static PyObject *meth_QAudioDecoder_audioFormat(PyObject *, PyObject *);}
static PyObject *meth_QAudioDecoder_audioFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioDecoder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioDecoder, &sipCpp))
        {
             ::QAudioFormat*sipRes;

            sipRes = new  ::QAudioFormat(sipCpp->audioFormat());

            return sipConvertFromNewType(sipRes,sipType_QAudioFormat,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDecoder, sipName_audioFormat, doc_QAudioDecoder_audioFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDecoder_setAudioFormat, "setAudioFormat(self, QAudioFormat)");

extern "C" {static PyObject *meth_QAudioDecoder_setAudioFormat(PyObject *, PyObject *);}
static PyObject *meth_QAudioDecoder_setAudioFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioFormat* a0;
         ::QAudioDecoder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAudioDecoder, &sipCpp, sipType_QAudioFormat, &a0))
        {
            sipCpp->setAudioFormat(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDecoder, sipName_setAudioFormat, doc_QAudioDecoder_setAudioFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDecoder_error, "error(self) -> QAudioDecoder.Error");

extern "C" {static PyObject *meth_QAudioDecoder_error(PyObject *, PyObject *);}
static PyObject *meth_QAudioDecoder_error(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioDecoder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioDecoder, &sipCpp))
        {
             ::QAudioDecoder::Error sipRes;

            sipRes = sipCpp->error();

            return sipConvertFromEnum(sipRes,sipType_QAudioDecoder_Error);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDecoder, sipName_error, doc_QAudioDecoder_error);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDecoder_errorString, "errorString(self) -> str");

extern "C" {static PyObject *meth_QAudioDecoder_errorString(PyObject *, PyObject *);}
static PyObject *meth_QAudioDecoder_errorString(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioDecoder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioDecoder, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->errorString());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDecoder, sipName_errorString, doc_QAudioDecoder_errorString);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDecoder_read, "read(self) -> QAudioBuffer");

extern "C" {static PyObject *meth_QAudioDecoder_read(PyObject *, PyObject *);}
static PyObject *meth_QAudioDecoder_read(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioDecoder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioDecoder, &sipCpp))
        {
             ::QAudioBuffer*sipRes;

            sipRes = new  ::QAudioBuffer(sipCpp->read());

            return sipConvertFromNewType(sipRes,sipType_QAudioBuffer,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDecoder, sipName_read, doc_QAudioDecoder_read);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDecoder_bufferAvailable, "bufferAvailable(self) -> bool");

extern "C" {static PyObject *meth_QAudioDecoder_bufferAvailable(PyObject *, PyObject *);}
static PyObject *meth_QAudioDecoder_bufferAvailable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioDecoder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioDecoder, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->bufferAvailable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDecoder, sipName_bufferAvailable, doc_QAudioDecoder_bufferAvailable);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDecoder_position, "position(self) -> int");

extern "C" {static PyObject *meth_QAudioDecoder_position(PyObject *, PyObject *);}
static PyObject *meth_QAudioDecoder_position(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioDecoder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioDecoder, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->position();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDecoder, sipName_position, doc_QAudioDecoder_position);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDecoder_duration, "duration(self) -> int");

extern "C" {static PyObject *meth_QAudioDecoder_duration(PyObject *, PyObject *);}
static PyObject *meth_QAudioDecoder_duration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioDecoder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioDecoder, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->duration();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDecoder, sipName_duration, doc_QAudioDecoder_duration);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDecoder_start, "start(self)");

extern "C" {static PyObject *meth_QAudioDecoder_start(PyObject *, PyObject *);}
static PyObject *meth_QAudioDecoder_start(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAudioDecoder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioDecoder, &sipCpp))
        {
            sipCpp->start();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDecoder, sipName_start, doc_QAudioDecoder_start);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDecoder_stop, "stop(self)");

extern "C" {static PyObject *meth_QAudioDecoder_stop(PyObject *, PyObject *);}
static PyObject *meth_QAudioDecoder_stop(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAudioDecoder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioDecoder, &sipCpp))
        {
            sipCpp->stop();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDecoder, sipName_stop, doc_QAudioDecoder_stop);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDecoder_bind, "bind(self, QObject) -> bool");

extern "C" {static PyObject *meth_QAudioDecoder_bind(PyObject *, PyObject *);}
static PyObject *meth_QAudioDecoder_bind(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QObject* a0;
         ::QAudioDecoder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QAudioDecoder, &sipCpp, sipType_QObject, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QAudioDecoder::bind(a0) : sipCpp->bind(a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDecoder, sipName_bind, doc_QAudioDecoder_bind);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioDecoder_unbind, "unbind(self, QObject)");

extern "C" {static PyObject *meth_QAudioDecoder_unbind(PyObject *, PyObject *);}
static PyObject *meth_QAudioDecoder_unbind(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QObject* a0;
         ::QAudioDecoder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QAudioDecoder, &sipCpp, sipType_QObject, &a0))
        {
            (sipSelfWasArg ? sipCpp-> ::QAudioDecoder::unbind(a0) : sipCpp->unbind(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDecoder, sipName_unbind, doc_QAudioDecoder_unbind);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QAudioDecoder(void *, const sipTypeDef *);}
static void *cast_QAudioDecoder(void *sipCppV, const sipTypeDef *targetType)
{
     ::QAudioDecoder *sipCpp = reinterpret_cast< ::QAudioDecoder *>(sipCppV);

    if (targetType == sipType_QMediaObject)
        return static_cast< ::QMediaObject *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QAudioDecoder(void *, int);}
static void release_QAudioDecoder(void *sipCppV, int)
{
     ::QAudioDecoder *sipCpp = reinterpret_cast< ::QAudioDecoder *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QAudioDecoder(sipSimpleWrapper *);}
static void dealloc_QAudioDecoder(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQAudioDecoder *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QAudioDecoder(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QAudioDecoder(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QAudioDecoder(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQAudioDecoder *sipCpp = 0;

    {
         ::QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQAudioDecoder(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QAudioDecoder[] = {{76, 255, 1}};


static PyMethodDef methods_QAudioDecoder[] = {
    {SIP_MLNAME_CAST(sipName_addPropertyWatch), (PyCFunction)meth_QAudioDecoder_addPropertyWatch, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_audioFormat), meth_QAudioDecoder_audioFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioDecoder_audioFormat)},
    {SIP_MLNAME_CAST(sipName_bind), meth_QAudioDecoder_bind, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioDecoder_bind)},
    {SIP_MLNAME_CAST(sipName_bufferAvailable), meth_QAudioDecoder_bufferAvailable, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioDecoder_bufferAvailable)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QAudioDecoder_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QAudioDecoder_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QAudioDecoder_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QAudioDecoder_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_duration), meth_QAudioDecoder_duration, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioDecoder_duration)},
    {SIP_MLNAME_CAST(sipName_error), meth_QAudioDecoder_error, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioDecoder_error)},
    {SIP_MLNAME_CAST(sipName_errorString), meth_QAudioDecoder_errorString, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioDecoder_errorString)},
    {SIP_MLNAME_CAST(sipName_hasSupport), (PyCFunction)meth_QAudioDecoder_hasSupport, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAudioDecoder_hasSupport)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QAudioDecoder_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_position), meth_QAudioDecoder_position, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioDecoder_position)},
    {SIP_MLNAME_CAST(sipName_read), meth_QAudioDecoder_read, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioDecoder_read)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QAudioDecoder_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removePropertyWatch), (PyCFunction)meth_QAudioDecoder_removePropertyWatch, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QAudioDecoder_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QAudioDecoder_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAudioFormat), meth_QAudioDecoder_setAudioFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioDecoder_setAudioFormat)},
    {SIP_MLNAME_CAST(sipName_setSourceDevice), meth_QAudioDecoder_setSourceDevice, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioDecoder_setSourceDevice)},
    {SIP_MLNAME_CAST(sipName_setSourceFilename), meth_QAudioDecoder_setSourceFilename, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioDecoder_setSourceFilename)},
    {SIP_MLNAME_CAST(sipName_sourceDevice), meth_QAudioDecoder_sourceDevice, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioDecoder_sourceDevice)},
    {SIP_MLNAME_CAST(sipName_sourceFilename), meth_QAudioDecoder_sourceFilename, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioDecoder_sourceFilename)},
    {SIP_MLNAME_CAST(sipName_start), meth_QAudioDecoder_start, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioDecoder_start)},
    {SIP_MLNAME_CAST(sipName_state), meth_QAudioDecoder_state, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioDecoder_state)},
    {SIP_MLNAME_CAST(sipName_stop), meth_QAudioDecoder_stop, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioDecoder_stop)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QAudioDecoder_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_unbind), meth_QAudioDecoder_unbind, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioDecoder_unbind)}
};

static sipEnumMemberDef enummembers_QAudioDecoder[] = {
    {sipName_AccessDeniedError, static_cast<int>( ::QAudioDecoder::AccessDeniedError), 14},
    {sipName_DecodingState, static_cast<int>( ::QAudioDecoder::DecodingState), 15},
    {sipName_FormatError, static_cast<int>( ::QAudioDecoder::FormatError), 14},
    {sipName_NoError, static_cast<int>( ::QAudioDecoder::NoError), 14},
    {sipName_ResourceError, static_cast<int>( ::QAudioDecoder::ResourceError), 14},
    {sipName_ServiceMissingError, static_cast<int>( ::QAudioDecoder::ServiceMissingError), 14},
    {sipName_StoppedState, static_cast<int>( ::QAudioDecoder::StoppedState), 15},
};

PyDoc_STRVAR(doc_QAudioDecoder, "\1QAudioDecoder(parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QAudioDecoder[] = {
    {"durationChanged(qint64)", "\1durationChanged(self, int)", 0, 0},
    {"positionChanged(qint64)", "\1positionChanged(self, int)", 0, 0},
    {"sourceChanged()", "\1sourceChanged(self)", 0, 0},
    {"formatChanged(QAudioFormat)", "\1formatChanged(self, QAudioFormat)", 0, 0},
    {"stateChanged(QAudioDecoder::State)", "\1stateChanged(self, QAudioDecoder.State)", 0, 0},
    {"finished()", "\1finished(self)", 0, 0},
    {"bufferReady()", "\1bufferReady(self)", 0, 0},
    {"bufferAvailableChanged(bool)", "\1bufferAvailableChanged(self, bool)", 0, 0},
    {"error(QAudioDecoder::Error)", "\1error(self, QAudioDecoder.Error)", &methods_QAudioDecoder[9], 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QAudioDecoder = {
    & ::QAudioDecoder::staticMetaObject,
    0,
    signals_QAudioDecoder,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QAudioDecoder = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QAudioDecoder,
        {0},
        &plugin_QAudioDecoder
    },
    {
        sipNameNr_QAudioDecoder,
        {0, 0, 1},
        29, methods_QAudioDecoder,
        7, enummembers_QAudioDecoder,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAudioDecoder,
    -1,
    -1,
    supers_QAudioDecoder,
    0,
    init_type_QAudioDecoder,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QAudioDecoder,
    0,
    0,
    0,
    release_QAudioDecoder,
    cast_QAudioDecoder,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaobject.sip"
#include <qmediaobject.h>
#line 44904 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 44908 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmediaservice.sip"
#include <qmediaservice.h>
#line 44911 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 44914 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qmultimedia.sip"
#include <qmultimedia.h>
#line 44917 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 44920 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 44923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 44926 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 44929 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 44932 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 44935 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 44938 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 44941 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 44944 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 44947 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 44950 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 44953 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 44956 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 44959 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 44962 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


class sipQMediaObject : public  ::QMediaObject
{
public:
    sipQMediaObject( ::QObject*, ::QMediaService*);
    virtual ~sipQMediaObject();

    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 sipProtect_addPropertyWatch(const  ::QByteArray&);
    void sipProtect_removePropertyWatch(const  ::QByteArray&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void unbind( ::QObject*);
    bool bind( ::QObject*);
     ::QMediaService* service() const;
     ::QMultimedia::AvailabilityStatus availability() const;
    bool isAvailable() const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQMediaObject(const sipQMediaObject &);
    sipQMediaObject &operator = (const sipQMediaObject &);

    char sipPyMethods[12];
};

sipQMediaObject::sipQMediaObject( ::QObject*a0, ::QMediaService*a1):  ::QMediaObject(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQMediaObject::~sipQMediaObject()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQMediaObject::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf,sipType_QMediaObject);

    return  ::QMediaObject::metaObject();
}

int sipQMediaObject::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QMediaObject::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtMultimedia_qt_metacall(sipPySelf,sipType_QMediaObject,_c,_id,_a);

    return _id;
}

void *sipQMediaObject::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtMultimedia_qt_metacast(sipPySelf, sipType_QMediaObject, _clname, &sipCpp) ? sipCpp :  ::QMediaObject::qt_metacast(_clname));
}

void sipQMediaObject::unbind( ::QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_unbind);

    if (!sipMeth)
    {
         ::QMediaObject::unbind(a0);
        return;
    }

    extern void sipVH_QtMultimedia_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*);

    sipVH_QtMultimedia_20(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQMediaObject::bind( ::QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_bind);

    if (!sipMeth)
        return  ::QMediaObject::bind(a0);

    extern bool sipVH_QtMultimedia_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*);

    return sipVH_QtMultimedia_19(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QMediaService* sipQMediaObject::service() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_service);

    if (!sipMeth)
        return  ::QMediaObject::service();

    extern  ::QMediaService* sipVH_QtMultimedia_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtMultimedia_18(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QMultimedia::AvailabilityStatus sipQMediaObject::availability() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_availability);

    if (!sipMeth)
        return  ::QMediaObject::availability();

    extern  ::QMultimedia::AvailabilityStatus sipVH_QtMultimedia_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtMultimedia_17(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQMediaObject::isAvailable() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_isAvailable);

    if (!sipMeth)
        return  ::QMediaObject::isAvailable();

    extern bool sipVH_QtMultimedia_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtMultimedia_16(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQMediaObject::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QMediaObject::event(a0);

    extern bool sipVH_QtMultimedia_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtMultimedia_10(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQMediaObject::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QMediaObject::eventFilter(a0,a1);

    extern bool sipVH_QtMultimedia_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtMultimedia_9(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQMediaObject::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QMediaObject::timerEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtMultimedia_8(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMediaObject::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QMediaObject::childEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtMultimedia_7(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMediaObject::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QMediaObject::customEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtMultimedia_6(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMediaObject::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QMediaObject::connectNotify(a0);
        return;
    }

    extern void sipVH_QtMultimedia_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMediaObject::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QMediaObject::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtMultimedia_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQMediaObject::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQMediaObject::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQMediaObject::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQMediaObject::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQMediaObject::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQMediaObject::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQMediaObject::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQMediaObject::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQMediaObject::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

void sipQMediaObject::sipProtect_addPropertyWatch(const  ::QByteArray& a0)
{
     ::QMediaObject::addPropertyWatch(a0);
}

void sipQMediaObject::sipProtect_removePropertyWatch(const  ::QByteArray& a0)
{
     ::QMediaObject::removePropertyWatch(a0);
}


PyDoc_STRVAR(doc_QMediaObject_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QMediaObject_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaObject_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQMediaObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMediaObject, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 45351 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaObject, sipName_sender, doc_QMediaObject_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaObject_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QMediaObject_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaObject_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQMediaObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QMediaObject, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 45411 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.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_QMediaObject, sipName_receivers, doc_QMediaObject_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaObject_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QMediaObject_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaObject_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQMediaObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMediaObject, &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_QMediaObject, sipName_timerEvent, doc_QMediaObject_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaObject_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QMediaObject_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaObject_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQMediaObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMediaObject, &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_QMediaObject, sipName_childEvent, doc_QMediaObject_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaObject_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QMediaObject_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaObject_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQMediaObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMediaObject, &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_QMediaObject, sipName_customEvent, doc_QMediaObject_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaObject_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QMediaObject_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaObject_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQMediaObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMediaObject, &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_QMediaObject, sipName_connectNotify, doc_QMediaObject_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaObject_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QMediaObject_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaObject_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQMediaObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMediaObject, &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_QMediaObject, sipName_disconnectNotify, doc_QMediaObject_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaObject_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QMediaObject_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaObject_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQMediaObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMediaObject, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaObject, sipName_senderSignalIndex, doc_QMediaObject_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaObject_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QMediaObject_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaObject_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQMediaObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMediaObject, &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_QMediaObject, sipName_isSignalConnected, doc_QMediaObject_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaObject_isAvailable, "isAvailable(self) -> bool");

extern "C" {static PyObject *meth_QMediaObject_isAvailable(PyObject *, PyObject *);}
static PyObject *meth_QMediaObject_isAvailable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMediaObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaObject, &sipCpp))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QMediaObject::isAvailable() : sipCpp->isAvailable());

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaObject, sipName_isAvailable, doc_QMediaObject_isAvailable);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaObject_availability, "availability(self) -> QMultimedia.AvailabilityStatus");

extern "C" {static PyObject *meth_QMediaObject_availability(PyObject *, PyObject *);}
static PyObject *meth_QMediaObject_availability(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMediaObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaObject, &sipCpp))
        {
             ::QMultimedia::AvailabilityStatus sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QMediaObject::availability() : sipCpp->availability());

            return sipConvertFromEnum(sipRes,sipType_QMultimedia_AvailabilityStatus);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaObject, sipName_availability, doc_QMediaObject_availability);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaObject_service, "service(self) -> QMediaService");

extern "C" {static PyObject *meth_QMediaObject_service(PyObject *, PyObject *);}
static PyObject *meth_QMediaObject_service(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMediaObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaObject, &sipCpp))
        {
             ::QMediaService*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QMediaObject::service() : sipCpp->service());

            return sipConvertFromType(sipRes,sipType_QMediaService,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaObject, sipName_service, doc_QMediaObject_service);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaObject_notifyInterval, "notifyInterval(self) -> int");

extern "C" {static PyObject *meth_QMediaObject_notifyInterval(PyObject *, PyObject *);}
static PyObject *meth_QMediaObject_notifyInterval(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaObject, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->notifyInterval();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaObject, sipName_notifyInterval, doc_QMediaObject_notifyInterval);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaObject_setNotifyInterval, "setNotifyInterval(self, int)");

extern "C" {static PyObject *meth_QMediaObject_setNotifyInterval(PyObject *, PyObject *);}
static PyObject *meth_QMediaObject_setNotifyInterval(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QMediaObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QMediaObject, &sipCpp, &a0))
        {
            sipCpp->setNotifyInterval(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaObject, sipName_setNotifyInterval, doc_QMediaObject_setNotifyInterval);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaObject_bind, "bind(self, QObject) -> bool");

extern "C" {static PyObject *meth_QMediaObject_bind(PyObject *, PyObject *);}
static PyObject *meth_QMediaObject_bind(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QObject* a0;
         ::QMediaObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QMediaObject, &sipCpp, sipType_QObject, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QMediaObject::bind(a0) : sipCpp->bind(a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaObject, sipName_bind, doc_QMediaObject_bind);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaObject_unbind, "unbind(self, QObject)");

extern "C" {static PyObject *meth_QMediaObject_unbind(PyObject *, PyObject *);}
static PyObject *meth_QMediaObject_unbind(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QObject* a0;
         ::QMediaObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QMediaObject, &sipCpp, sipType_QObject, &a0))
        {
            (sipSelfWasArg ? sipCpp-> ::QMediaObject::unbind(a0) : sipCpp->unbind(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaObject, sipName_unbind, doc_QMediaObject_unbind);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaObject_isMetaDataAvailable, "isMetaDataAvailable(self) -> bool");

extern "C" {static PyObject *meth_QMediaObject_isMetaDataAvailable(PyObject *, PyObject *);}
static PyObject *meth_QMediaObject_isMetaDataAvailable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaObject, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isMetaDataAvailable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaObject, sipName_isMetaDataAvailable, doc_QMediaObject_isMetaDataAvailable);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaObject_metaData, "metaData(self, str) -> Any");

extern "C" {static PyObject *meth_QMediaObject_metaData(PyObject *, PyObject *);}
static PyObject *meth_QMediaObject_metaData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QMediaObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMediaObject, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QVariant*sipRes;

            sipRes = new  ::QVariant(sipCpp->metaData(*a0));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaObject, sipName_metaData, doc_QMediaObject_metaData);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaObject_availableMetaData, "availableMetaData(self) -> List[str]");

extern "C" {static PyObject *meth_QMediaObject_availableMetaData(PyObject *, PyObject *);}
static PyObject *meth_QMediaObject_availableMetaData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMediaObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMediaObject, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->availableMetaData());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaObject, sipName_availableMetaData, doc_QMediaObject_availableMetaData);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaObject_addPropertyWatch, "addPropertyWatch(self, Union[QByteArray, bytes, bytearray])");

extern "C" {static PyObject *meth_QMediaObject_addPropertyWatch(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaObject_addPropertyWatch(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
        sipQMediaObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QMediaObject, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            sipCpp->sipProtect_addPropertyWatch(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaObject, sipName_addPropertyWatch, doc_QMediaObject_addPropertyWatch);

    return NULL;
}


PyDoc_STRVAR(doc_QMediaObject_removePropertyWatch, "removePropertyWatch(self, Union[QByteArray, bytes, bytearray])");

extern "C" {static PyObject *meth_QMediaObject_removePropertyWatch(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMediaObject_removePropertyWatch(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
        sipQMediaObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QMediaObject, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            sipCpp->sipProtect_removePropertyWatch(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMediaObject, sipName_removePropertyWatch, doc_QMediaObject_removePropertyWatch);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QMediaObject(void *, const sipTypeDef *);}
static void *cast_QMediaObject(void *sipCppV, const sipTypeDef *targetType)
{
     ::QMediaObject *sipCpp = reinterpret_cast< ::QMediaObject *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QMediaObject(void *, int);}
static void release_QMediaObject(void *sipCppV, int)
{
     ::QMediaObject *sipCpp = reinterpret_cast< ::QMediaObject *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QMediaObject(sipSimpleWrapper *);}
static void dealloc_QMediaObject(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQMediaObject *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QMediaObject(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QMediaObject(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMediaObject(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQMediaObject *sipCpp = 0;

    {
         ::QObject* a0;
         ::QMediaService* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JHJ8", sipType_QObject, &a0, sipOwner, sipType_QMediaService, &a1))
        {
            sipCpp = new sipQMediaObject(a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QMediaObject[] = {{9, 0, 1}};


static PyMethodDef methods_QMediaObject[] = {
    {SIP_MLNAME_CAST(sipName_addPropertyWatch), (PyCFunction)meth_QMediaObject_addPropertyWatch, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMediaObject_addPropertyWatch)},
    {SIP_MLNAME_CAST(sipName_availability), meth_QMediaObject_availability, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaObject_availability)},
    {SIP_MLNAME_CAST(sipName_availableMetaData), meth_QMediaObject_availableMetaData, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaObject_availableMetaData)},
    {SIP_MLNAME_CAST(sipName_bind), meth_QMediaObject_bind, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaObject_bind)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QMediaObject_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QMediaObject_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QMediaObject_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QMediaObject_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isAvailable), meth_QMediaObject_isAvailable, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaObject_isAvailable)},
    {SIP_MLNAME_CAST(sipName_isMetaDataAvailable), meth_QMediaObject_isMetaDataAvailable, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaObject_isMetaDataAvailable)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QMediaObject_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metaData), meth_QMediaObject_metaData, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaObject_metaData)},
    {SIP_MLNAME_CAST(sipName_notifyInterval), meth_QMediaObject_notifyInterval, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaObject_notifyInterval)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QMediaObject_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removePropertyWatch), (PyCFunction)meth_QMediaObject_removePropertyWatch, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMediaObject_removePropertyWatch)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QMediaObject_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QMediaObject_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_service), meth_QMediaObject_service, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaObject_service)},
    {SIP_MLNAME_CAST(sipName_setNotifyInterval), meth_QMediaObject_setNotifyInterval, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaObject_setNotifyInterval)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QMediaObject_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_unbind), meth_QMediaObject_unbind, METH_VARARGS, SIP_MLDOC_CAST(doc_QMediaObject_unbind)}
};

PyDoc_STRVAR(doc_QMediaObject, "\1QMediaObject(QObject, QMediaService)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QMediaObject[] = {
    {"availabilityChanged(QMultimedia::AvailabilityStatus)", "\1availabilityChanged(self, QMultimedia.AvailabilityStatus)", 0, 0},
    {"metaDataChanged()", "\1metaDataChanged(self)", 0, 0},
    {"metaDataChanged(QString,QVariant)", "\1metaDataChanged(self, str, Any)", 0, 0},
    {"metaDataAvailableChanged(bool)", "\1metaDataAvailableChanged(self, bool)", 0, 0},
    {"notifyIntervalChanged(int)", "\1notifyIntervalChanged(self, int)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QMediaObject = {
    & ::QMediaObject::staticMetaObject,
    0,
    signals_QMediaObject,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QMediaObject = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMediaObject,
        {0},
        &plugin_QMediaObject
    },
    {
        sipNameNr_QMediaObject,
        {0, 0, 1},
        21, methods_QMediaObject,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMediaObject,
    -1,
    -1,
    supers_QMediaObject,
    0,
    init_type_QMediaObject,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMediaObject,
    0,
    0,
    0,
    release_QMediaObject,
    cast_QMediaObject,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qaudiobuffer.sip"
#include <qaudiobuffer.h>
#line 46147 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 46151 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qaudioformat.sip"
#include <qaudioformat.h>
#line 46154 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


PyDoc_STRVAR(doc_QAudioBuffer_isValid, "isValid(self) -> bool");

extern "C" {static PyObject *meth_QAudioBuffer_isValid(PyObject *, PyObject *);}
static PyObject *meth_QAudioBuffer_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioBuffer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioBuffer, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isValid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioBuffer, sipName_isValid, doc_QAudioBuffer_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioBuffer_format, "format(self) -> QAudioFormat");

extern "C" {static PyObject *meth_QAudioBuffer_format(PyObject *, PyObject *);}
static PyObject *meth_QAudioBuffer_format(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioBuffer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioBuffer, &sipCpp))
        {
             ::QAudioFormat*sipRes;

            sipRes = new  ::QAudioFormat(sipCpp->format());

            return sipConvertFromNewType(sipRes,sipType_QAudioFormat,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioBuffer, sipName_format, doc_QAudioBuffer_format);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioBuffer_frameCount, "frameCount(self) -> int");

extern "C" {static PyObject *meth_QAudioBuffer_frameCount(PyObject *, PyObject *);}
static PyObject *meth_QAudioBuffer_frameCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioBuffer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioBuffer, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->frameCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioBuffer, sipName_frameCount, doc_QAudioBuffer_frameCount);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioBuffer_sampleCount, "sampleCount(self) -> int");

extern "C" {static PyObject *meth_QAudioBuffer_sampleCount(PyObject *, PyObject *);}
static PyObject *meth_QAudioBuffer_sampleCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioBuffer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioBuffer, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sampleCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioBuffer, sipName_sampleCount, doc_QAudioBuffer_sampleCount);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioBuffer_byteCount, "byteCount(self) -> int");

extern "C" {static PyObject *meth_QAudioBuffer_byteCount(PyObject *, PyObject *);}
static PyObject *meth_QAudioBuffer_byteCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioBuffer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioBuffer, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->byteCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioBuffer, sipName_byteCount, doc_QAudioBuffer_byteCount);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioBuffer_duration, "duration(self) -> int");

extern "C" {static PyObject *meth_QAudioBuffer_duration(PyObject *, PyObject *);}
static PyObject *meth_QAudioBuffer_duration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioBuffer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioBuffer, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->duration();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioBuffer, sipName_duration, doc_QAudioBuffer_duration);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioBuffer_startTime, "startTime(self) -> int");

extern "C" {static PyObject *meth_QAudioBuffer_startTime(PyObject *, PyObject *);}
static PyObject *meth_QAudioBuffer_startTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioBuffer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioBuffer, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->startTime();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioBuffer, sipName_startTime, doc_QAudioBuffer_startTime);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioBuffer_constData, "constData(self) -> sip.voidptr");

extern "C" {static PyObject *meth_QAudioBuffer_constData(PyObject *, PyObject *);}
static PyObject *meth_QAudioBuffer_constData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAudioBuffer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioBuffer, &sipCpp))
        {
            const void*sipRes;

            sipRes = sipCpp->constData();

            return sipConvertFromConstVoidPtr(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioBuffer, sipName_constData, doc_QAudioBuffer_constData);

    return NULL;
}


PyDoc_STRVAR(doc_QAudioBuffer_data, "data(self) -> sip.voidptr");

extern "C" {static PyObject *meth_QAudioBuffer_data(PyObject *, PyObject *);}
static PyObject *meth_QAudioBuffer_data(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAudioBuffer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioBuffer, &sipCpp))
        {
            void*sipRes;

            sipRes = sipCpp->data();

            return sipConvertFromVoidPtr(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioBuffer, sipName_data, doc_QAudioBuffer_data);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QAudioBuffer(void *, int);}
static void release_QAudioBuffer(void *sipCppV, int)
{
    delete reinterpret_cast< ::QAudioBuffer *>(sipCppV);
}


extern "C" {static void assign_QAudioBuffer(void *, SIP_SSIZE_T, const void *);}
static void assign_QAudioBuffer(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QAudioBuffer *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QAudioBuffer *>(sipSrc);
}


extern "C" {static void *array_QAudioBuffer(SIP_SSIZE_T);}
static void *array_QAudioBuffer(SIP_SSIZE_T sipNrElem)
{
    return new  ::QAudioBuffer[sipNrElem];
}


extern "C" {static void *copy_QAudioBuffer(const void *, SIP_SSIZE_T);}
static void *copy_QAudioBuffer(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QAudioBuffer(reinterpret_cast<const  ::QAudioBuffer *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QAudioBuffer(sipSimpleWrapper *);}
static void dealloc_QAudioBuffer(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QAudioBuffer(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QAudioBuffer(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QAudioBuffer(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QAudioBuffer *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QAudioBuffer();

            return sipCpp;
        }
    }

    {
        const  ::QByteArray* a0;
        int a0State = 0;
        const  ::QAudioFormat* a1;
         ::qint64 a2 = -1;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_startTime,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1J9|n", sipType_QByteArray, &a0, &a0State, sipType_QAudioFormat, &a1, &a2))
        {
            sipCpp = new  ::QAudioBuffer(*a0,*a1,a2);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipCpp;
        }
    }

    {
        int a0;
        const  ::QAudioFormat* a1;
         ::qint64 a2 = -1;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_startTime,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "iJ9|n", &a0, sipType_QAudioFormat, &a1, &a2))
        {
            sipCpp = new  ::QAudioBuffer(a0,*a1,a2);

            return sipCpp;
        }
    }

    {
        const  ::QAudioBuffer* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QAudioBuffer, &a0))
        {
            sipCpp = new  ::QAudioBuffer(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QAudioBuffer[] = {
    {SIP_MLNAME_CAST(sipName_byteCount), meth_QAudioBuffer_byteCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioBuffer_byteCount)},
    {SIP_MLNAME_CAST(sipName_constData), meth_QAudioBuffer_constData, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioBuffer_constData)},
    {SIP_MLNAME_CAST(sipName_data), meth_QAudioBuffer_data, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioBuffer_data)},
    {SIP_MLNAME_CAST(sipName_duration), meth_QAudioBuffer_duration, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioBuffer_duration)},
    {SIP_MLNAME_CAST(sipName_format), meth_QAudioBuffer_format, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioBuffer_format)},
    {SIP_MLNAME_CAST(sipName_frameCount), meth_QAudioBuffer_frameCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioBuffer_frameCount)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QAudioBuffer_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioBuffer_isValid)},
    {SIP_MLNAME_CAST(sipName_sampleCount), meth_QAudioBuffer_sampleCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioBuffer_sampleCount)},
    {SIP_MLNAME_CAST(sipName_startTime), meth_QAudioBuffer_startTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudioBuffer_startTime)}
};

PyDoc_STRVAR(doc_QAudioBuffer, "\1QAudioBuffer()\n"
    "QAudioBuffer(Union[QByteArray, bytes, bytearray], QAudioFormat, startTime: int = -1)\n"
    "QAudioBuffer(int, QAudioFormat, startTime: int = -1)\n"
    "QAudioBuffer(QAudioBuffer)");


static pyqt5ClassPluginDef plugin_QAudioBuffer = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QAudioBuffer = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QAudioBuffer,
        {0},
        &plugin_QAudioBuffer
    },
    {
        sipNameNr_QAudioBuffer,
        {0, 0, 1},
        9, methods_QAudioBuffer,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAudioBuffer,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QAudioBuffer,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QAudioBuffer,
    assign_QAudioBuffer,
    array_QAudioBuffer,
    copy_QAudioBuffer,
    release_QAudioBuffer,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qaudio.sip"
#include <qaudio.h>
#line 46595 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"



PyDoc_STRVAR(doc_QAudio_convertVolume, "convertVolume(float, QAudio.VolumeScale, QAudio.VolumeScale) -> float");

extern "C" {static PyObject *meth_QAudio_convertVolume(PyObject *, PyObject *);}
static PyObject *meth_QAudio_convertVolume(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QAudio::VolumeScale a1;
         ::QAudio::VolumeScale a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "dEE", &a0, sipType_QAudio_VolumeScale, &a1, sipType_QAudio_VolumeScale, &a2))
        {
             ::qreal sipRes;

            sipRes =  ::QAudio::convertVolume(a0,a1,a2);

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_convertVolume, doc_QAudio_convertVolume);

    return NULL;
}


static PyMethodDef methods_QAudio[] = {
    {SIP_MLNAME_CAST(sipName_convertVolume), meth_QAudio_convertVolume, METH_VARARGS, SIP_MLDOC_CAST(doc_QAudio_convertVolume)}
};

static sipEnumMemberDef enummembers_QAudio[] = {
    {sipName_AccessibilityRole, static_cast<int>( ::QAudio::AccessibilityRole), 9},
    {sipName_ActiveState, static_cast<int>( ::QAudio::ActiveState), 10},
    {sipName_AlarmRole, static_cast<int>( ::QAudio::AlarmRole), 9},
    {sipName_AudioInput, static_cast<int>( ::QAudio::AudioInput), 8},
    {sipName_AudioOutput, static_cast<int>( ::QAudio::AudioOutput), 8},
    {sipName_CubicVolumeScale, static_cast<int>( ::QAudio::CubicVolumeScale), 11},
    {sipName_DecibelVolumeScale, static_cast<int>( ::QAudio::DecibelVolumeScale), 11},
    {sipName_FatalError, static_cast<int>( ::QAudio::FatalError), 7},
    {sipName_GameRole, static_cast<int>( ::QAudio::GameRole), 9},
    {sipName_IOError, static_cast<int>( ::QAudio::IOError), 7},
    {sipName_IdleState, static_cast<int>( ::QAudio::IdleState), 10},
    {sipName_LinearVolumeScale, static_cast<int>( ::QAudio::LinearVolumeScale), 11},
    {sipName_LogarithmicVolumeScale, static_cast<int>( ::QAudio::LogarithmicVolumeScale), 11},
    {sipName_MusicRole, static_cast<int>( ::QAudio::MusicRole), 9},
    {sipName_NoError, static_cast<int>( ::QAudio::NoError), 7},
    {sipName_NotificationRole, static_cast<int>( ::QAudio::NotificationRole), 9},
    {sipName_OpenError, static_cast<int>( ::QAudio::OpenError), 7},
    {sipName_RingtoneRole, static_cast<int>( ::QAudio::RingtoneRole), 9},
    {sipName_SonificationRole, static_cast<int>( ::QAudio::SonificationRole), 9},
    {sipName_StoppedState, static_cast<int>( ::QAudio::StoppedState), 10},
    {sipName_SuspendedState, static_cast<int>( ::QAudio::SuspendedState), 10},
    {sipName_UnderrunError, static_cast<int>( ::QAudio::UnderrunError), 7},
    {sipName_UnknownRole, static_cast<int>( ::QAudio::UnknownRole), 9},
    {sipName_VideoRole, static_cast<int>( ::QAudio::VideoRole), 9},
    {sipName_VoiceCommunicationRole, static_cast<int>( ::QAudio::VoiceCommunicationRole), 9},
};


static pyqt5ClassPluginDef plugin_QAudio = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QAudio = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_NAMESPACE,
        sipNameNr_QAudio,
        {0},
        &plugin_QAudio
    },
    {
        sipNameNr_QAudio,
        {0, 0, 1},
        1, methods_QAudio,
        25, enummembers_QAudio,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qabstractvideosurface.sip"
#include <qabstractvideosurface.h>
#line 46721 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 46725 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 46728 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qvideosurfaceformat.sip"
#include <qvideosurfaceformat.h>
#line 46731 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qvideoframe.sip"
#include <qvideoframe.h>
#line 46734 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qpymultimedia_qlist.sip"
#include <qvideoframe.h>
#line 46737 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qabstractvideobuffer.sip"
#include <qabstractvideobuffer.h>
#line 46740 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 46743 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 46746 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 46749 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 46752 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 46755 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 46758 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 46761 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 46764 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 46767 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 46770 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 46773 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 46776 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 46779 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 46782 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 46785 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


class sipQAbstractVideoSurface : public  ::QAbstractVideoSurface
{
public:
    sipQAbstractVideoSurface( ::QObject*);
    virtual ~sipQAbstractVideoSurface();

    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 sipProtect_setError( ::QAbstractVideoSurface::Error);
    void sipProtect_setNativeResolution(const  ::QSize&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool present(const  ::QVideoFrame&);
    void stop();
    bool start(const  ::QVideoSurfaceFormat&);
     ::QVideoSurfaceFormat nearestFormat(const  ::QVideoSurfaceFormat&) const;
    bool isFormatSupported(const  ::QVideoSurfaceFormat&) const;
     ::QList< ::QVideoFrame::PixelFormat> supportedPixelFormats( ::QAbstractVideoBuffer::HandleType) const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQAbstractVideoSurface(const sipQAbstractVideoSurface &);
    sipQAbstractVideoSurface &operator = (const sipQAbstractVideoSurface &);

    char sipPyMethods[13];
};

sipQAbstractVideoSurface::sipQAbstractVideoSurface( ::QObject*a0):  ::QAbstractVideoSurface(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAbstractVideoSurface::~sipQAbstractVideoSurface()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQAbstractVideoSurface::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf,sipType_QAbstractVideoSurface);

    return  ::QAbstractVideoSurface::metaObject();
}

int sipQAbstractVideoSurface::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QAbstractVideoSurface::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtMultimedia_qt_metacall(sipPySelf,sipType_QAbstractVideoSurface,_c,_id,_a);

    return _id;
}

void *sipQAbstractVideoSurface::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtMultimedia_qt_metacast(sipPySelf, sipType_QAbstractVideoSurface, _clname, &sipCpp) ? sipCpp :  ::QAbstractVideoSurface::qt_metacast(_clname));
}

bool sipQAbstractVideoSurface::present(const  ::QVideoFrame& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_QAbstractVideoSurface,sipName_present);

    if (!sipMeth)
        return 0;

    extern bool sipVH_QtMultimedia_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QVideoFrame&);

    return sipVH_QtMultimedia_15(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractVideoSurface::stop()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_stop);

    if (!sipMeth)
    {
         ::QAbstractVideoSurface::stop();
        return;
    }

    extern void sipVH_QtMultimedia_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtMultimedia_2(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQAbstractVideoSurface::start(const  ::QVideoSurfaceFormat& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_start);

    if (!sipMeth)
        return  ::QAbstractVideoSurface::start(a0);

    extern bool sipVH_QtMultimedia_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QVideoSurfaceFormat&);

    return sipVH_QtMultimedia_13(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVideoSurfaceFormat sipQAbstractVideoSurface::nearestFormat(const  ::QVideoSurfaceFormat& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_nearestFormat);

    if (!sipMeth)
        return  ::QAbstractVideoSurface::nearestFormat(a0);

    extern  ::QVideoSurfaceFormat sipVH_QtMultimedia_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QVideoSurfaceFormat&);

    return sipVH_QtMultimedia_14(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQAbstractVideoSurface::isFormatSupported(const  ::QVideoSurfaceFormat& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_isFormatSupported);

    if (!sipMeth)
        return  ::QAbstractVideoSurface::isFormatSupported(a0);

    extern bool sipVH_QtMultimedia_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QVideoSurfaceFormat&);

    return sipVH_QtMultimedia_13(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QList< ::QVideoFrame::PixelFormat> sipQAbstractVideoSurface::supportedPixelFormats( ::QAbstractVideoBuffer::HandleType a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,sipName_QAbstractVideoSurface,sipName_supportedPixelFormats);

    if (!sipMeth)
        return  ::QList< ::QVideoFrame::PixelFormat>();

    extern  ::QList< ::QVideoFrame::PixelFormat> sipVH_QtMultimedia_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractVideoBuffer::HandleType);

    return sipVH_QtMultimedia_12(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQAbstractVideoSurface::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QAbstractVideoSurface::event(a0);

    extern bool sipVH_QtMultimedia_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtMultimedia_10(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQAbstractVideoSurface::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QAbstractVideoSurface::eventFilter(a0,a1);

    extern bool sipVH_QtMultimedia_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtMultimedia_9(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQAbstractVideoSurface::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QAbstractVideoSurface::timerEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtMultimedia_8(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractVideoSurface::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QAbstractVideoSurface::childEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtMultimedia_7(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractVideoSurface::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QAbstractVideoSurface::customEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtMultimedia_6(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractVideoSurface::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QAbstractVideoSurface::connectNotify(a0);
        return;
    }

    extern void sipVH_QtMultimedia_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractVideoSurface::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QAbstractVideoSurface::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtMultimedia_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQAbstractVideoSurface::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQAbstractVideoSurface::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQAbstractVideoSurface::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQAbstractVideoSurface::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQAbstractVideoSurface::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQAbstractVideoSurface::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQAbstractVideoSurface::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQAbstractVideoSurface::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQAbstractVideoSurface::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

void sipQAbstractVideoSurface::sipProtect_setError( ::QAbstractVideoSurface::Error a0)
{
     ::QAbstractVideoSurface::setError(a0);
}

void sipQAbstractVideoSurface::sipProtect_setNativeResolution(const  ::QSize& a0)
{
     ::QAbstractVideoSurface::setNativeResolution(a0);
}


PyDoc_STRVAR(doc_QAbstractVideoSurface_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QAbstractVideoSurface_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoSurface_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractVideoSurface *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractVideoSurface, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 47190 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractVideoSurface, sipName_sender, doc_QAbstractVideoSurface_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractVideoSurface_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QAbstractVideoSurface_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoSurface_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQAbstractVideoSurface *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QAbstractVideoSurface, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 47250 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.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_QAbstractVideoSurface, sipName_receivers, doc_QAbstractVideoSurface_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractVideoSurface_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QAbstractVideoSurface_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoSurface_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQAbstractVideoSurface *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractVideoSurface, &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_QAbstractVideoSurface, sipName_timerEvent, doc_QAbstractVideoSurface_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractVideoSurface_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QAbstractVideoSurface_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoSurface_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQAbstractVideoSurface *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractVideoSurface, &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_QAbstractVideoSurface, sipName_childEvent, doc_QAbstractVideoSurface_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractVideoSurface_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QAbstractVideoSurface_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoSurface_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQAbstractVideoSurface *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractVideoSurface, &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_QAbstractVideoSurface, sipName_customEvent, doc_QAbstractVideoSurface_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractVideoSurface_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QAbstractVideoSurface_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoSurface_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQAbstractVideoSurface *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractVideoSurface, &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_QAbstractVideoSurface, sipName_connectNotify, doc_QAbstractVideoSurface_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractVideoSurface_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QAbstractVideoSurface_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoSurface_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQAbstractVideoSurface *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractVideoSurface, &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_QAbstractVideoSurface, sipName_disconnectNotify, doc_QAbstractVideoSurface_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractVideoSurface_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QAbstractVideoSurface_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoSurface_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractVideoSurface *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractVideoSurface, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractVideoSurface, sipName_senderSignalIndex, doc_QAbstractVideoSurface_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractVideoSurface_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QAbstractVideoSurface_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoSurface_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQAbstractVideoSurface *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractVideoSurface, &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_QAbstractVideoSurface, sipName_isSignalConnected, doc_QAbstractVideoSurface_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractVideoSurface_supportedPixelFormats, "supportedPixelFormats(self, type: QAbstractVideoBuffer.HandleType = QAbstractVideoBuffer.NoHandle) -> List[QVideoFrame.PixelFormat]");

extern "C" {static PyObject *meth_QAbstractVideoSurface_supportedPixelFormats(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoSurface_supportedPixelFormats(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::QAbstractVideoBuffer::HandleType a0 = QAbstractVideoBuffer::NoHandle;
        const  ::QAbstractVideoSurface *sipCpp;

        static const char *sipKwdList[] = {
            sipName_type,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|E", &sipSelf, sipType_QAbstractVideoSurface, &sipCpp, sipType_QAbstractVideoBuffer_HandleType, &a0))
        {
             ::QList< ::QVideoFrame::PixelFormat>*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractVideoSurface, sipName_supportedPixelFormats);
                return NULL;
            }

            sipRes = new  ::QList< ::QVideoFrame::PixelFormat>(sipCpp->supportedPixelFormats(a0));

            return sipConvertFromNewType(sipRes,sipType_QList_0100QVideoFrame_PixelFormat,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractVideoSurface, sipName_supportedPixelFormats, doc_QAbstractVideoSurface_supportedPixelFormats);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractVideoSurface_isFormatSupported, "isFormatSupported(self, QVideoSurfaceFormat) -> bool");

extern "C" {static PyObject *meth_QAbstractVideoSurface_isFormatSupported(PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoSurface_isFormatSupported(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QVideoSurfaceFormat* a0;
        const  ::QAbstractVideoSurface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAbstractVideoSurface, &sipCpp, sipType_QVideoSurfaceFormat, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QAbstractVideoSurface::isFormatSupported(*a0) : sipCpp->isFormatSupported(*a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractVideoSurface, sipName_isFormatSupported, doc_QAbstractVideoSurface_isFormatSupported);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractVideoSurface_nearestFormat, "nearestFormat(self, QVideoSurfaceFormat) -> QVideoSurfaceFormat");

extern "C" {static PyObject *meth_QAbstractVideoSurface_nearestFormat(PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoSurface_nearestFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QVideoSurfaceFormat* a0;
        const  ::QAbstractVideoSurface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAbstractVideoSurface, &sipCpp, sipType_QVideoSurfaceFormat, &a0))
        {
             ::QVideoSurfaceFormat*sipRes;

            sipRes = new  ::QVideoSurfaceFormat((sipSelfWasArg ? sipCpp-> ::QAbstractVideoSurface::nearestFormat(*a0) : sipCpp->nearestFormat(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QVideoSurfaceFormat,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractVideoSurface, sipName_nearestFormat, doc_QAbstractVideoSurface_nearestFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractVideoSurface_surfaceFormat, "surfaceFormat(self) -> QVideoSurfaceFormat");

extern "C" {static PyObject *meth_QAbstractVideoSurface_surfaceFormat(PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoSurface_surfaceFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAbstractVideoSurface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractVideoSurface, &sipCpp))
        {
             ::QVideoSurfaceFormat*sipRes;

            sipRes = new  ::QVideoSurfaceFormat(sipCpp->surfaceFormat());

            return sipConvertFromNewType(sipRes,sipType_QVideoSurfaceFormat,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractVideoSurface, sipName_surfaceFormat, doc_QAbstractVideoSurface_surfaceFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractVideoSurface_start, "start(self, QVideoSurfaceFormat) -> bool");

extern "C" {static PyObject *meth_QAbstractVideoSurface_start(PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoSurface_start(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QVideoSurfaceFormat* a0;
         ::QAbstractVideoSurface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAbstractVideoSurface, &sipCpp, sipType_QVideoSurfaceFormat, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QAbstractVideoSurface::start(*a0) : sipCpp->start(*a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractVideoSurface, sipName_start, doc_QAbstractVideoSurface_start);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractVideoSurface_stop, "stop(self)");

extern "C" {static PyObject *meth_QAbstractVideoSurface_stop(PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoSurface_stop(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QAbstractVideoSurface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractVideoSurface, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp-> ::QAbstractVideoSurface::stop() : sipCpp->stop());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractVideoSurface, sipName_stop, doc_QAbstractVideoSurface_stop);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractVideoSurface_isActive, "isActive(self) -> bool");

extern "C" {static PyObject *meth_QAbstractVideoSurface_isActive(PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoSurface_isActive(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAbstractVideoSurface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractVideoSurface, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isActive();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractVideoSurface, sipName_isActive, doc_QAbstractVideoSurface_isActive);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractVideoSurface_present, "present(self, QVideoFrame) -> bool");

extern "C" {static PyObject *meth_QAbstractVideoSurface_present(PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoSurface_present(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const  ::QVideoFrame* a0;
         ::QAbstractVideoSurface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAbstractVideoSurface, &sipCpp, sipType_QVideoFrame, &a0))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractVideoSurface, sipName_present);
                return NULL;
            }

            sipRes = sipCpp->present(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractVideoSurface, sipName_present, doc_QAbstractVideoSurface_present);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractVideoSurface_error, "error(self) -> QAbstractVideoSurface.Error");

extern "C" {static PyObject *meth_QAbstractVideoSurface_error(PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoSurface_error(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAbstractVideoSurface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractVideoSurface, &sipCpp))
        {
             ::QAbstractVideoSurface::Error sipRes;

            sipRes = sipCpp->error();

            return sipConvertFromEnum(sipRes,sipType_QAbstractVideoSurface_Error);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractVideoSurface, sipName_error, doc_QAbstractVideoSurface_error);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractVideoSurface_setError, "setError(self, QAbstractVideoSurface.Error)");

extern "C" {static PyObject *meth_QAbstractVideoSurface_setError(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoSurface_setError(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAbstractVideoSurface::Error a0;
        sipQAbstractVideoSurface *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QAbstractVideoSurface, &sipCpp, sipType_QAbstractVideoSurface_Error, &a0))
        {
            sipCpp->sipProtect_setError(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractVideoSurface, sipName_setError, doc_QAbstractVideoSurface_setError);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractVideoSurface_nativeResolution, "nativeResolution(self) -> QSize");

extern "C" {static PyObject *meth_QAbstractVideoSurface_nativeResolution(PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoSurface_nativeResolution(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAbstractVideoSurface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractVideoSurface, &sipCpp))
        {
             ::QSize*sipRes;

            sipRes = new  ::QSize(sipCpp->nativeResolution());

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractVideoSurface, sipName_nativeResolution, doc_QAbstractVideoSurface_nativeResolution);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractVideoSurface_setNativeResolution, "setNativeResolution(self, QSize)");

extern "C" {static PyObject *meth_QAbstractVideoSurface_setNativeResolution(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoSurface_setNativeResolution(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSize* a0;
        sipQAbstractVideoSurface *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractVideoSurface, &sipCpp, sipType_QSize, &a0))
        {
            sipCpp->sipProtect_setNativeResolution(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractVideoSurface, sipName_setNativeResolution, doc_QAbstractVideoSurface_setNativeResolution);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QAbstractVideoSurface(void *, const sipTypeDef *);}
static void *cast_QAbstractVideoSurface(void *sipCppV, const sipTypeDef *targetType)
{
     ::QAbstractVideoSurface *sipCpp = reinterpret_cast< ::QAbstractVideoSurface *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QAbstractVideoSurface(void *, int);}
static void release_QAbstractVideoSurface(void *sipCppV, int)
{
     ::QAbstractVideoSurface *sipCpp = reinterpret_cast< ::QAbstractVideoSurface *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QAbstractVideoSurface(sipSimpleWrapper *);}
static void dealloc_QAbstractVideoSurface(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQAbstractVideoSurface *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QAbstractVideoSurface(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QAbstractVideoSurface(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QAbstractVideoSurface(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQAbstractVideoSurface *sipCpp = 0;

    {
         ::QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQAbstractVideoSurface(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QAbstractVideoSurface[] = {{9, 0, 1}};


static PyMethodDef methods_QAbstractVideoSurface[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QAbstractVideoSurface_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QAbstractVideoSurface_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QAbstractVideoSurface_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QAbstractVideoSurface_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_error), meth_QAbstractVideoSurface_error, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractVideoSurface_error)},
    {SIP_MLNAME_CAST(sipName_isActive), meth_QAbstractVideoSurface_isActive, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractVideoSurface_isActive)},
    {SIP_MLNAME_CAST(sipName_isFormatSupported), meth_QAbstractVideoSurface_isFormatSupported, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractVideoSurface_isFormatSupported)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QAbstractVideoSurface_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeResolution), meth_QAbstractVideoSurface_nativeResolution, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractVideoSurface_nativeResolution)},
    {SIP_MLNAME_CAST(sipName_nearestFormat), meth_QAbstractVideoSurface_nearestFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractVideoSurface_nearestFormat)},
    {SIP_MLNAME_CAST(sipName_present), meth_QAbstractVideoSurface_present, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractVideoSurface_present)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QAbstractVideoSurface_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QAbstractVideoSurface_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QAbstractVideoSurface_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setError), (PyCFunction)meth_QAbstractVideoSurface_setError, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractVideoSurface_setError)},
    {SIP_MLNAME_CAST(sipName_setNativeResolution), (PyCFunction)meth_QAbstractVideoSurface_setNativeResolution, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractVideoSurface_setNativeResolution)},
    {SIP_MLNAME_CAST(sipName_start), meth_QAbstractVideoSurface_start, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractVideoSurface_start)},
    {SIP_MLNAME_CAST(sipName_stop), meth_QAbstractVideoSurface_stop, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractVideoSurface_stop)},
    {SIP_MLNAME_CAST(sipName_supportedPixelFormats), (PyCFunction)meth_QAbstractVideoSurface_supportedPixelFormats, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractVideoSurface_supportedPixelFormats)},
    {SIP_MLNAME_CAST(sipName_surfaceFormat), meth_QAbstractVideoSurface_surfaceFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractVideoSurface_surfaceFormat)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QAbstractVideoSurface_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QAbstractVideoSurface[] = {
    {sipName_IncorrectFormatError, static_cast<int>( ::QAbstractVideoSurface::IncorrectFormatError), 5},
    {sipName_NoError, static_cast<int>( ::QAbstractVideoSurface::NoError), 5},
    {sipName_ResourceError, static_cast<int>( ::QAbstractVideoSurface::ResourceError), 5},
    {sipName_StoppedError, static_cast<int>( ::QAbstractVideoSurface::StoppedError), 5},
    {sipName_UnsupportedFormatError, static_cast<int>( ::QAbstractVideoSurface::UnsupportedFormatError), 5},
};

PyDoc_STRVAR(doc_QAbstractVideoSurface, "\1QAbstractVideoSurface(parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QAbstractVideoSurface[] = {
    {"nativeResolutionChanged(QSize)", "\1nativeResolutionChanged(self, QSize)", 0, 0},
    {"supportedFormatsChanged()", "\1supportedFormatsChanged(self)", 0, 0},
    {"surfaceFormatChanged(QVideoSurfaceFormat)", "\1surfaceFormatChanged(self, QVideoSurfaceFormat)", 0, 0},
    {"activeChanged(bool)", "\1activeChanged(self, bool)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QAbstractVideoSurface = {
    & ::QAbstractVideoSurface::staticMetaObject,
    0,
    signals_QAbstractVideoSurface,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QAbstractVideoSurface = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QAbstractVideoSurface,
        {0},
        &plugin_QAbstractVideoSurface
    },
    {
        sipNameNr_QAbstractVideoSurface,
        {0, 0, 1},
        21, methods_QAbstractVideoSurface,
        5, enummembers_QAbstractVideoSurface,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAbstractVideoSurface,
    -1,
    -1,
    supers_QAbstractVideoSurface,
    0,
    init_type_QAbstractVideoSurface,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QAbstractVideoSurface,
    0,
    0,
    0,
    release_QAbstractVideoSurface,
    cast_QAbstractVideoSurface,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 51 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qabstractvideofilter.sip"
#include <qabstractvideofilter.h>
#line 48009 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 48013 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qabstractvideofilter.sip"
#include <qabstractvideofilter.h>
#line 48016 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 48019 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 48022 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 48025 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 48028 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 48031 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 48034 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 48037 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 48040 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 48043 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 48046 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 48049 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 48052 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 48055 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 48058 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 48061 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


class sipQAbstractVideoFilter : public  ::QAbstractVideoFilter
{
public:
    sipQAbstractVideoFilter( ::QObject*);
    virtual ~sipQAbstractVideoFilter();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
     ::QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool, ::QTimerEvent*);
    void sipProtectVirt_childEvent(bool, ::QChildEvent*);
    void sipProtectVirt_customEvent(bool, ::QEvent*);
    void sipProtectVirt_connectNotify(bool,const  ::QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const  ::QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const  ::QMetaMethod&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
     ::QVideoFilterRunnable* createFilterRunnable();
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQAbstractVideoFilter(const sipQAbstractVideoFilter &);
    sipQAbstractVideoFilter &operator = (const sipQAbstractVideoFilter &);

    char sipPyMethods[8];
};

sipQAbstractVideoFilter::sipQAbstractVideoFilter( ::QObject*a0):  ::QAbstractVideoFilter(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAbstractVideoFilter::~sipQAbstractVideoFilter()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQAbstractVideoFilter::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf,sipType_QAbstractVideoFilter);

    return  ::QAbstractVideoFilter::metaObject();
}

int sipQAbstractVideoFilter::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QAbstractVideoFilter::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtMultimedia_qt_metacall(sipPySelf,sipType_QAbstractVideoFilter,_c,_id,_a);

    return _id;
}

void *sipQAbstractVideoFilter::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtMultimedia_qt_metacast(sipPySelf, sipType_QAbstractVideoFilter, _clname, &sipCpp) ? sipCpp :  ::QAbstractVideoFilter::qt_metacast(_clname));
}

 ::QVideoFilterRunnable* sipQAbstractVideoFilter::createFilterRunnable()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_QAbstractVideoFilter,sipName_createFilterRunnable);

    if (!sipMeth)
        return 0;

    extern  ::QVideoFilterRunnable* sipVH_QtMultimedia_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtMultimedia_11(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQAbstractVideoFilter::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QAbstractVideoFilter::event(a0);

    extern bool sipVH_QtMultimedia_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtMultimedia_10(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQAbstractVideoFilter::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QAbstractVideoFilter::eventFilter(a0,a1);

    extern bool sipVH_QtMultimedia_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtMultimedia_9(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQAbstractVideoFilter::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QAbstractVideoFilter::timerEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtMultimedia_8(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractVideoFilter::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QAbstractVideoFilter::childEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtMultimedia_7(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractVideoFilter::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QAbstractVideoFilter::customEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtMultimedia_6(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractVideoFilter::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QAbstractVideoFilter::connectNotify(a0);
        return;
    }

    extern void sipVH_QtMultimedia_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQAbstractVideoFilter::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QAbstractVideoFilter::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtMultimedia_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQAbstractVideoFilter::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQAbstractVideoFilter::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQAbstractVideoFilter::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQAbstractVideoFilter::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQAbstractVideoFilter::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQAbstractVideoFilter::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQAbstractVideoFilter::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQAbstractVideoFilter::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQAbstractVideoFilter::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QAbstractVideoFilter_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QAbstractVideoFilter_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoFilter_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractVideoFilter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractVideoFilter, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 48371 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractVideoFilter, sipName_sender, doc_QAbstractVideoFilter_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractVideoFilter_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QAbstractVideoFilter_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoFilter_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQAbstractVideoFilter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QAbstractVideoFilter, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 48431 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.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_QAbstractVideoFilter, sipName_receivers, doc_QAbstractVideoFilter_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractVideoFilter_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QAbstractVideoFilter_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoFilter_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQAbstractVideoFilter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractVideoFilter, &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_QAbstractVideoFilter, sipName_timerEvent, doc_QAbstractVideoFilter_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractVideoFilter_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QAbstractVideoFilter_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoFilter_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQAbstractVideoFilter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractVideoFilter, &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_QAbstractVideoFilter, sipName_childEvent, doc_QAbstractVideoFilter_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractVideoFilter_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QAbstractVideoFilter_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoFilter_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQAbstractVideoFilter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractVideoFilter, &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_QAbstractVideoFilter, sipName_customEvent, doc_QAbstractVideoFilter_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractVideoFilter_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QAbstractVideoFilter_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoFilter_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQAbstractVideoFilter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractVideoFilter, &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_QAbstractVideoFilter, sipName_connectNotify, doc_QAbstractVideoFilter_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractVideoFilter_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QAbstractVideoFilter_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoFilter_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQAbstractVideoFilter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractVideoFilter, &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_QAbstractVideoFilter, sipName_disconnectNotify, doc_QAbstractVideoFilter_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractVideoFilter_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QAbstractVideoFilter_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoFilter_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractVideoFilter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractVideoFilter, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractVideoFilter, sipName_senderSignalIndex, doc_QAbstractVideoFilter_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractVideoFilter_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QAbstractVideoFilter_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoFilter_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQAbstractVideoFilter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractVideoFilter, &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_QAbstractVideoFilter, sipName_isSignalConnected, doc_QAbstractVideoFilter_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractVideoFilter_isActive, "isActive(self) -> bool");

extern "C" {static PyObject *meth_QAbstractVideoFilter_isActive(PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoFilter_isActive(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAbstractVideoFilter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractVideoFilter, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isActive();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractVideoFilter, sipName_isActive, doc_QAbstractVideoFilter_isActive);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractVideoFilter_createFilterRunnable, "createFilterRunnable(self) -> QVideoFilterRunnable");

extern "C" {static PyObject *meth_QAbstractVideoFilter_createFilterRunnable(PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoFilter_createFilterRunnable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::QAbstractVideoFilter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractVideoFilter, &sipCpp))
        {
             ::QVideoFilterRunnable*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractVideoFilter, sipName_createFilterRunnable);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->createFilterRunnable();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QVideoFilterRunnable,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractVideoFilter, sipName_createFilterRunnable, doc_QAbstractVideoFilter_createFilterRunnable);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QAbstractVideoFilter(void *, const sipTypeDef *);}
static void *cast_QAbstractVideoFilter(void *sipCppV, const sipTypeDef *targetType)
{
     ::QAbstractVideoFilter *sipCpp = reinterpret_cast< ::QAbstractVideoFilter *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QAbstractVideoFilter(void *, int);}
static void release_QAbstractVideoFilter(void *sipCppV, int)
{
     ::QAbstractVideoFilter *sipCpp = reinterpret_cast< ::QAbstractVideoFilter *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QAbstractVideoFilter(sipSimpleWrapper *);}
static void dealloc_QAbstractVideoFilter(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQAbstractVideoFilter *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QAbstractVideoFilter(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QAbstractVideoFilter(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QAbstractVideoFilter(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQAbstractVideoFilter *sipCpp = 0;

    {
         ::QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQAbstractVideoFilter(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QAbstractVideoFilter[] = {{9, 0, 1}};


static PyMethodDef methods_QAbstractVideoFilter[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QAbstractVideoFilter_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QAbstractVideoFilter_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_createFilterRunnable), meth_QAbstractVideoFilter_createFilterRunnable, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractVideoFilter_createFilterRunnable)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QAbstractVideoFilter_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QAbstractVideoFilter_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isActive), meth_QAbstractVideoFilter_isActive, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractVideoFilter_isActive)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QAbstractVideoFilter_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QAbstractVideoFilter_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QAbstractVideoFilter_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QAbstractVideoFilter_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QAbstractVideoFilter_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QAbstractVideoFilter, "\1QAbstractVideoFilter(parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QAbstractVideoFilter[] = {
    {"activeChanged()", "\1activeChanged(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QAbstractVideoFilter = {
    & ::QAbstractVideoFilter::staticMetaObject,
    0,
    signals_QAbstractVideoFilter,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QAbstractVideoFilter = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QAbstractVideoFilter,
        {0},
        &plugin_QAbstractVideoFilter
    },
    {
        sipNameNr_QAbstractVideoFilter,
        {0, 0, 1},
        11, methods_QAbstractVideoFilter,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAbstractVideoFilter,
    -1,
    -1,
    supers_QAbstractVideoFilter,
    0,
    init_type_QAbstractVideoFilter,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QAbstractVideoFilter,
    0,
    0,
    0,
    release_QAbstractVideoFilter,
    cast_QAbstractVideoFilter,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qabstractvideofilter.sip"
#include <qabstractvideofilter.h>
#line 48872 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qabstractvideofilter.sip"
#include <qabstractvideofilter.h>
#line 48876 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


extern "C" {static long slot_QVideoFilterRunnable_RunFlags___hash__(PyObject *);}
static long slot_QVideoFilterRunnable_RunFlags___hash__(PyObject *sipSelf)
{
     ::QVideoFilterRunnable::RunFlags *sipCpp = reinterpret_cast< ::QVideoFilterRunnable::RunFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QVideoFilterRunnable_RunFlags));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QVideoFilterRunnable::RunFlags::Int();
#line 48894 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QVideoFilterRunnable_RunFlags___bool__(PyObject *);}
static int slot_QVideoFilterRunnable_RunFlags___bool__(PyObject *sipSelf)
{
     ::QVideoFilterRunnable::RunFlags *sipCpp = reinterpret_cast< ::QVideoFilterRunnable::RunFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QVideoFilterRunnable_RunFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QVideoFilterRunnable::RunFlags::Int() != 0);
#line 48919 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QVideoFilterRunnable_RunFlags___ne__(PyObject *,PyObject *);}
static PyObject *slot_QVideoFilterRunnable_RunFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QVideoFilterRunnable::RunFlags *sipCpp = reinterpret_cast< ::QVideoFilterRunnable::RunFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QVideoFilterRunnable_RunFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QVideoFilterRunnable::RunFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QVideoFilterRunnable_RunFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QVideoFilterRunnable::RunFlags::Int() != a0->operator QVideoFilterRunnable::RunFlags::Int());
#line 48949 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
            sipReleaseType(const_cast< ::QVideoFilterRunnable::RunFlags *>(a0),sipType_QVideoFilterRunnable_RunFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, ne_slot, sipType_QVideoFilterRunnable_RunFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QVideoFilterRunnable_RunFlags___eq__(PyObject *,PyObject *);}
static PyObject *slot_QVideoFilterRunnable_RunFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QVideoFilterRunnable::RunFlags *sipCpp = reinterpret_cast< ::QVideoFilterRunnable::RunFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QVideoFilterRunnable_RunFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QVideoFilterRunnable::RunFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QVideoFilterRunnable_RunFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QVideoFilterRunnable::RunFlags::Int() == a0->operator QVideoFilterRunnable::RunFlags::Int());
#line 48985 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
            sipReleaseType(const_cast< ::QVideoFilterRunnable::RunFlags *>(a0),sipType_QVideoFilterRunnable_RunFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, eq_slot, sipType_QVideoFilterRunnable_RunFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QVideoFilterRunnable_RunFlags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QVideoFilterRunnable_RunFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QVideoFilterRunnable_RunFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QVideoFilterRunnable::RunFlags *sipCpp = reinterpret_cast< ::QVideoFilterRunnable::RunFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QVideoFilterRunnable_RunFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "sip/QtCore/qglobal.sip"
        *sipCpp = QVideoFilterRunnable::RunFlags(*sipCpp ^ a0);
#line 49024 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QVideoFilterRunnable_RunFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_QVideoFilterRunnable_RunFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QVideoFilterRunnable::RunFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QVideoFilterRunnable_RunFlags, &a0, &a0State, &a1))
        {
             ::QVideoFilterRunnable::RunFlags*sipRes;

            sipRes = new  ::QVideoFilterRunnable::RunFlags((*a0 ^ a1));
            sipReleaseType(a0,sipType_QVideoFilterRunnable_RunFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QVideoFilterRunnable_RunFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QVideoFilterRunnable_RunFlags___ior__(PyObject *,PyObject *);}
static PyObject *slot_QVideoFilterRunnable_RunFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QVideoFilterRunnable_RunFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QVideoFilterRunnable::RunFlags *sipCpp = reinterpret_cast< ::QVideoFilterRunnable::RunFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QVideoFilterRunnable_RunFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "sip/QtCore/qglobal.sip"
        *sipCpp = QVideoFilterRunnable::RunFlags(*sipCpp | a0);
#line 49096 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QVideoFilterRunnable_RunFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_QVideoFilterRunnable_RunFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QVideoFilterRunnable::RunFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QVideoFilterRunnable_RunFlags, &a0, &a0State, &a1))
        {
             ::QVideoFilterRunnable::RunFlags*sipRes;

            sipRes = new  ::QVideoFilterRunnable::RunFlags((*a0 | a1));
            sipReleaseType(a0,sipType_QVideoFilterRunnable_RunFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QVideoFilterRunnable_RunFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QVideoFilterRunnable_RunFlags___iand__(PyObject *,PyObject *);}
static PyObject *slot_QVideoFilterRunnable_RunFlags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QVideoFilterRunnable_RunFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QVideoFilterRunnable::RunFlags *sipCpp = reinterpret_cast< ::QVideoFilterRunnable::RunFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QVideoFilterRunnable_RunFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QVideoFilterRunnable::RunFlags::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QVideoFilterRunnable_RunFlags___and__(PyObject *,PyObject *);}
static PyObject *slot_QVideoFilterRunnable_RunFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QVideoFilterRunnable::RunFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QVideoFilterRunnable_RunFlags, &a0, &a0State, &a1))
        {
             ::QVideoFilterRunnable::RunFlags*sipRes;

            sipRes = new  ::QVideoFilterRunnable::RunFlags((*a0 & a1));
            sipReleaseType(a0,sipType_QVideoFilterRunnable_RunFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QVideoFilterRunnable_RunFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QVideoFilterRunnable_RunFlags___invert__(PyObject *);}
static PyObject *slot_QVideoFilterRunnable_RunFlags___invert__(PyObject *sipSelf)
{
     ::QVideoFilterRunnable::RunFlags *sipCpp = reinterpret_cast< ::QVideoFilterRunnable::RunFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QVideoFilterRunnable_RunFlags));

    if (!sipCpp)
        return 0;


    {
        {
             ::QVideoFilterRunnable::RunFlags*sipRes;

            sipRes = new  ::QVideoFilterRunnable::RunFlags(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QVideoFilterRunnable_RunFlags,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QVideoFilterRunnable_RunFlags___int__(PyObject *);}
static PyObject *slot_QVideoFilterRunnable_RunFlags___int__(PyObject *sipSelf)
{
     ::QVideoFilterRunnable::RunFlags *sipCpp = reinterpret_cast< ::QVideoFilterRunnable::RunFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QVideoFilterRunnable_RunFlags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QVideoFilterRunnable_RunFlags(void *, int);}
static void release_QVideoFilterRunnable_RunFlags(void *sipCppV, int)
{
    delete reinterpret_cast< ::QVideoFilterRunnable::RunFlags *>(sipCppV);
}


extern "C" {static void assign_QVideoFilterRunnable_RunFlags(void *, SIP_SSIZE_T, const void *);}
static void assign_QVideoFilterRunnable_RunFlags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QVideoFilterRunnable::RunFlags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QVideoFilterRunnable::RunFlags *>(sipSrc);
}


extern "C" {static void *array_QVideoFilterRunnable_RunFlags(SIP_SSIZE_T);}
static void *array_QVideoFilterRunnable_RunFlags(SIP_SSIZE_T sipNrElem)
{
    return new  ::QVideoFilterRunnable::RunFlags[sipNrElem];
}


extern "C" {static void *copy_QVideoFilterRunnable_RunFlags(const void *, SIP_SSIZE_T);}
static void *copy_QVideoFilterRunnable_RunFlags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QVideoFilterRunnable::RunFlags(reinterpret_cast<const  ::QVideoFilterRunnable::RunFlags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QVideoFilterRunnable_RunFlags(sipSimpleWrapper *);}
static void dealloc_QVideoFilterRunnable_RunFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QVideoFilterRunnable_RunFlags(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QVideoFilterRunnable_RunFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QVideoFilterRunnable_RunFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QVideoFilterRunnable::RunFlags *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QVideoFilterRunnable::RunFlags();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QVideoFilterRunnable::RunFlags(a0);

            return sipCpp;
        }
    }

    {
        const  ::QVideoFilterRunnable::RunFlags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QVideoFilterRunnable_RunFlags, &a0, &a0State))
        {
            sipCpp = new  ::QVideoFilterRunnable::RunFlags(*a0);
            sipReleaseType(const_cast< ::QVideoFilterRunnable::RunFlags *>(a0),sipType_QVideoFilterRunnable_RunFlags,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QVideoFilterRunnable_RunFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_QVideoFilterRunnable_RunFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QVideoFilterRunnable::RunFlags **sipCppPtr = reinterpret_cast< ::QVideoFilterRunnable::RunFlags **>(sipCppPtrV);

#line 121 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QVideoFilterRunnable::RunFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QVideoFilterRunnable_RunFlag)) ||
            sipCanConvertToType(sipPy, sipType_QVideoFilterRunnable_RunFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QVideoFilterRunnable_RunFlag)))
{
    *sipCppPtr = new QVideoFilterRunnable::RunFlags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QVideoFilterRunnable::RunFlags *>(sipConvertToType(sipPy, sipType_QVideoFilterRunnable_RunFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 49364 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QVideoFilterRunnable_RunFlags[] = {
    {(void *)slot_QVideoFilterRunnable_RunFlags___hash__, hash_slot},
    {(void *)slot_QVideoFilterRunnable_RunFlags___bool__, bool_slot},
    {(void *)slot_QVideoFilterRunnable_RunFlags___ne__, ne_slot},
    {(void *)slot_QVideoFilterRunnable_RunFlags___eq__, eq_slot},
    {(void *)slot_QVideoFilterRunnable_RunFlags___ixor__, ixor_slot},
    {(void *)slot_QVideoFilterRunnable_RunFlags___xor__, xor_slot},
    {(void *)slot_QVideoFilterRunnable_RunFlags___ior__, ior_slot},
    {(void *)slot_QVideoFilterRunnable_RunFlags___or__, or_slot},
    {(void *)slot_QVideoFilterRunnable_RunFlags___iand__, iand_slot},
    {(void *)slot_QVideoFilterRunnable_RunFlags___and__, and_slot},
    {(void *)slot_QVideoFilterRunnable_RunFlags___invert__, invert_slot},
    {(void *)slot_QVideoFilterRunnable_RunFlags___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QVideoFilterRunnable_RunFlags, "\1QVideoFilterRunnable.RunFlags()\n"
    "QVideoFilterRunnable.RunFlags(Union[QVideoFilterRunnable.RunFlags, QVideoFilterRunnable.RunFlag])\n"
    "QVideoFilterRunnable.RunFlags(QVideoFilterRunnable.RunFlags)");


static pyqt5ClassPluginDef plugin_QVideoFilterRunnable_RunFlags = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QVideoFilterRunnable_RunFlags = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QVideoFilterRunnable__RunFlags,
        {0},
        &plugin_QVideoFilterRunnable_RunFlags
    },
    {
        sipNameNr_RunFlags,
        {114, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QVideoFilterRunnable_RunFlags,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QVideoFilterRunnable_RunFlags,
    init_type_QVideoFilterRunnable_RunFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QVideoFilterRunnable_RunFlags,
    assign_QVideoFilterRunnable_RunFlags,
    array_QVideoFilterRunnable_RunFlags,
    copy_QVideoFilterRunnable_RunFlags,
    release_QVideoFilterRunnable_RunFlags,
    0,
    convertTo_QVideoFilterRunnable_RunFlags,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qabstractvideofilter.sip"
#include <qabstractvideofilter.h>
#line 49450 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qvideoframe.sip"
#include <qvideoframe.h>
#line 49454 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qvideosurfaceformat.sip"
#include <qvideosurfaceformat.h>
#line 49457 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qabstractvideofilter.sip"
#include <qabstractvideofilter.h>
#line 49460 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


class sipQVideoFilterRunnable : public  ::QVideoFilterRunnable
{
public:
    sipQVideoFilterRunnable();
    sipQVideoFilterRunnable(const  ::QVideoFilterRunnable&);
    virtual ~sipQVideoFilterRunnable();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
     ::QVideoFrame run( ::QVideoFrame*,const  ::QVideoSurfaceFormat&, ::QVideoFilterRunnable::RunFlags);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQVideoFilterRunnable(const sipQVideoFilterRunnable &);
    sipQVideoFilterRunnable &operator = (const sipQVideoFilterRunnable &);

    char sipPyMethods[1];
};

sipQVideoFilterRunnable::sipQVideoFilterRunnable():  ::QVideoFilterRunnable(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQVideoFilterRunnable::sipQVideoFilterRunnable(const  ::QVideoFilterRunnable& a0):  ::QVideoFilterRunnable(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQVideoFilterRunnable::~sipQVideoFilterRunnable()
{
    sipInstanceDestroyed(sipPySelf);
}

 ::QVideoFrame sipQVideoFilterRunnable::run( ::QVideoFrame*a0,const  ::QVideoSurfaceFormat& a1, ::QVideoFilterRunnable::RunFlags a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_QVideoFilterRunnable,sipName_run);

    if (!sipMeth)
        return  ::QVideoFrame();

    extern  ::QVideoFrame sipVH_QtMultimedia_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QVideoFrame*,const  ::QVideoSurfaceFormat&, ::QVideoFilterRunnable::RunFlags);

    return sipVH_QtMultimedia_4(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}


PyDoc_STRVAR(doc_QVideoFilterRunnable_run, "run(self, QVideoFrame, QVideoSurfaceFormat, Union[QVideoFilterRunnable.RunFlags, QVideoFilterRunnable.RunFlag]) -> QVideoFrame");

extern "C" {static PyObject *meth_QVideoFilterRunnable_run(PyObject *, PyObject *);}
static PyObject *meth_QVideoFilterRunnable_run(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::QVideoFrame* a0;
        const  ::QVideoSurfaceFormat* a1;
         ::QVideoFilterRunnable::RunFlags* a2;
        int a2State = 0;
         ::QVideoFilterRunnable *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9J1", &sipSelf, sipType_QVideoFilterRunnable, &sipCpp, sipType_QVideoFrame, &a0, sipType_QVideoSurfaceFormat, &a1, sipType_QVideoFilterRunnable_RunFlags, &a2, &a2State))
        {
             ::QVideoFrame*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QVideoFilterRunnable, sipName_run);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QVideoFrame(sipCpp->run(a0,*a1,*a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(a2,sipType_QVideoFilterRunnable_RunFlags,a2State);

            return sipConvertFromNewType(sipRes,sipType_QVideoFrame,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoFilterRunnable, sipName_run, doc_QVideoFilterRunnable_run);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QVideoFilterRunnable(void *, int);}
static void release_QVideoFilterRunnable(void *sipCppV, int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQVideoFilterRunnable *>(sipCppV);
    else
        delete reinterpret_cast< ::QVideoFilterRunnable *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QVideoFilterRunnable(sipSimpleWrapper *);}
static void dealloc_QVideoFilterRunnable(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQVideoFilterRunnable *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QVideoFilterRunnable(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QVideoFilterRunnable(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QVideoFilterRunnable(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQVideoFilterRunnable *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new sipQVideoFilterRunnable();

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QVideoFilterRunnable* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QVideoFilterRunnable, &a0))
        {
            sipCpp = new sipQVideoFilterRunnable(*a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QVideoFilterRunnable[] = {
    {SIP_MLNAME_CAST(sipName_run), meth_QVideoFilterRunnable_run, METH_VARARGS, SIP_MLDOC_CAST(doc_QVideoFilterRunnable_run)}
};

static sipEnumMemberDef enummembers_QVideoFilterRunnable[] = {
    {sipName_LastInChain, static_cast<int>( ::QVideoFilterRunnable::LastInChain), 115},
};

PyDoc_STRVAR(doc_QVideoFilterRunnable, "\1QVideoFilterRunnable()\n"
    "QVideoFilterRunnable(QVideoFilterRunnable)");


static pyqt5ClassPluginDef plugin_QVideoFilterRunnable = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QVideoFilterRunnable = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QVideoFilterRunnable,
        {0},
        &plugin_QVideoFilterRunnable
    },
    {
        sipNameNr_QVideoFilterRunnable,
        {0, 0, 1},
        1, methods_QVideoFilterRunnable,
        1, enummembers_QVideoFilterRunnable,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QVideoFilterRunnable,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QVideoFilterRunnable,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QVideoFilterRunnable,
    0,
    0,
    0,
    release_QVideoFilterRunnable,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qabstractvideobuffer.sip"
#include <qabstractvideobuffer.h>
#line 49693 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 49697 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"


class sipQAbstractVideoBuffer : public  ::QAbstractVideoBuffer
{
public:
    sipQAbstractVideoBuffer( ::QAbstractVideoBuffer::HandleType);
    virtual ~sipQAbstractVideoBuffer();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void release();
     ::QVariant handle() const;
    void unmap();
     ::uchar* map( ::QAbstractVideoBuffer::MapMode,int*,int*);
     ::QAbstractVideoBuffer::MapMode mapMode() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQAbstractVideoBuffer(const sipQAbstractVideoBuffer &);
    sipQAbstractVideoBuffer &operator = (const sipQAbstractVideoBuffer &);

    char sipPyMethods[5];
};

sipQAbstractVideoBuffer::sipQAbstractVideoBuffer( ::QAbstractVideoBuffer::HandleType a0):  ::QAbstractVideoBuffer(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAbstractVideoBuffer::~sipQAbstractVideoBuffer()
{
    sipInstanceDestroyed(sipPySelf);
}

void sipQAbstractVideoBuffer::release()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_release);

    if (!sipMeth)
    {
         ::QAbstractVideoBuffer::release();
        return;
    }

    extern void sipVH_QtMultimedia_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtMultimedia_2(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QVariant sipQAbstractVideoBuffer::handle() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_handle);

    if (!sipMeth)
        return  ::QAbstractVideoBuffer::handle();

    extern  ::QVariant sipVH_QtMultimedia_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtMultimedia_3(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQAbstractVideoBuffer::unmap()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,sipName_QAbstractVideoBuffer,sipName_unmap);

    if (!sipMeth)
        return;

    extern void sipVH_QtMultimedia_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtMultimedia_2(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::uchar* sipQAbstractVideoBuffer::map( ::QAbstractVideoBuffer::MapMode a0,int*a1,int*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,sipName_QAbstractVideoBuffer,sipName_map);

    if (!sipMeth)
        return 0;

    extern  ::uchar* sipVH_QtMultimedia_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractVideoBuffer::MapMode,int*,int*, int);

    return sipVH_QtMultimedia_1(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, -1);
}

 ::QAbstractVideoBuffer::MapMode sipQAbstractVideoBuffer::mapMode() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,sipName_QAbstractVideoBuffer,sipName_mapMode);

    if (!sipMeth)
        return ( ::QAbstractVideoBuffer::MapMode)0;

    extern  ::QAbstractVideoBuffer::MapMode sipVH_QtMultimedia_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtMultimedia_0(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QAbstractVideoBuffer_handleType, "handleType(self) -> QAbstractVideoBuffer.HandleType");

extern "C" {static PyObject *meth_QAbstractVideoBuffer_handleType(PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoBuffer_handleType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAbstractVideoBuffer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractVideoBuffer, &sipCpp))
        {
             ::QAbstractVideoBuffer::HandleType sipRes;

            sipRes = sipCpp->handleType();

            return sipConvertFromEnum(sipRes,sipType_QAbstractVideoBuffer_HandleType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractVideoBuffer, sipName_handleType, doc_QAbstractVideoBuffer_handleType);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractVideoBuffer_mapMode, "mapMode(self) -> QAbstractVideoBuffer.MapMode");

extern "C" {static PyObject *meth_QAbstractVideoBuffer_mapMode(PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoBuffer_mapMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const  ::QAbstractVideoBuffer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractVideoBuffer, &sipCpp))
        {
             ::QAbstractVideoBuffer::MapMode sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractVideoBuffer, sipName_mapMode);
                return NULL;
            }

            sipRes = sipCpp->mapMode();

            return sipConvertFromEnum(sipRes,sipType_QAbstractVideoBuffer_MapMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractVideoBuffer, sipName_mapMode, doc_QAbstractVideoBuffer_mapMode);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractVideoBuffer_map, "map(self, QAbstractVideoBuffer.MapMode) -> Tuple[sip.voidptr, int, int]");

extern "C" {static PyObject *meth_QAbstractVideoBuffer_map(PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoBuffer_map(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::QAbstractVideoBuffer::MapMode a0;
        int a1;
        int a2;
         ::QAbstractVideoBuffer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QAbstractVideoBuffer, &sipCpp, sipType_QAbstractVideoBuffer_MapMode, &a0))
        {
            PyObject * sipRes = 0;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractVideoBuffer, sipName_map);
                return NULL;
            }

#line 57 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtMultimedia/qabstractvideobuffer.sip"
        uchar *mem;
        
        Py_BEGIN_ALLOW_THREADS
        mem = sipCpp->map(a0, &a1, &a2);
        Py_END_ALLOW_THREADS
        
        if (mem)
        {
            if (a0 & QAbstractVideoBuffer::WriteOnly)
                sipRes = sipConvertFromVoidPtrAndSize(mem, a1);
            else
                sipRes = sipConvertFromConstVoidPtrAndSize(mem, a1);
        }
        else
        {
            sipRes = Py_None;
            Py_INCREF(sipRes);
        }
#line 49923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtMultimedia/sipQtMultimediapart0.cpp"

            return sipBuildResult(0,"(Rii)",sipRes,a1,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractVideoBuffer, sipName_map, doc_QAbstractVideoBuffer_map);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractVideoBuffer_unmap, "unmap(self)");

extern "C" {static PyObject *meth_QAbstractVideoBuffer_unmap(PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoBuffer_unmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::QAbstractVideoBuffer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractVideoBuffer, &sipCpp))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractVideoBuffer, sipName_unmap);
                return NULL;
            }

            sipCpp->unmap();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractVideoBuffer, sipName_unmap, doc_QAbstractVideoBuffer_unmap);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractVideoBuffer_handle, "handle(self) -> Any");

extern "C" {static PyObject *meth_QAbstractVideoBuffer_handle(PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoBuffer_handle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QAbstractVideoBuffer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractVideoBuffer, &sipCpp))
        {
             ::QVariant*sipRes;

            sipRes = new  ::QVariant((sipSelfWasArg ? sipCpp-> ::QAbstractVideoBuffer::handle() : sipCpp->handle()));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractVideoBuffer, sipName_handle, doc_QAbstractVideoBuffer_handle);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractVideoBuffer_release, "release(self)");

extern "C" {static PyObject *meth_QAbstractVideoBuffer_release(PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoBuffer_release(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QAbstractVideoBuffer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractVideoBuffer, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp-> ::QAbstractVideoBuffer::release() : sipCpp->release());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractVideoBuffer, sipName_release, doc_QAbstractVideoBuffer_release);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QAbstractVideoBuffer(void *, int);}
static void release_QAbstractVideoBuffer(void *sipCppV, int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQAbstractVideoBuffer *>(sipCppV);
    else
        delete reinterpret_cast< ::QAbstractVideoBuffer *>(sipCppV);
}


extern "C" {static void dealloc_QAbstractVideoBuffer(sipSimpleWrapper *);}
static void dealloc_QAbstractVideoBuffer(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQAbstractVideoBuffer *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QAbstractVideoBuffer(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QAbstractVideoBuffer(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QAbstractVideoBuffer(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQAbstractVideoBuffer *sipCpp = 0;

    {
         ::QAbstractVideoBuffer::HandleType a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "E", sipType_QAbstractVideoBuffer_HandleType, &a0))
        {
            sipCpp = new sipQAbstractVideoBuffer(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QAbstractVideoBuffer[] = {
    {SIP_MLNAME_CAST(sipName_handle), meth_QAbstractVideoBuffer_handle, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractVideoBuffer_handle)},
    {SIP_MLNAME_CAST(sipName_handleType), meth_QAbstractVideoBuffer_handleType, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractVideoBuffer_handleType)},
    {SIP_MLNAME_CAST(sipName_map), meth_QAbstractVideoBuffer_map, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractVideoBuffer_map)},
    {SIP_MLNAME_CAST(sipName_mapMode), meth_QAbstractVideoBuffer_mapMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractVideoBuffer_mapMode)},
    {SIP_MLNAME_CAST(sipName_release), meth_QAbstractVideoBuffer_release, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractVideoBuffer_release)},
    {SIP_MLNAME_CAST(sipName_unmap), meth_QAbstractVideoBuffer_unmap, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractVideoBuffer_unmap)}
};

static sipEnumMemberDef enummembers_QAbstractVideoBuffer[] = {
    {sipName_CoreImageHandle, static_cast<int>( ::QAbstractVideoBuffer::CoreImageHandle), 1},
    {sipName_EGLImageHandle, static_cast<int>( ::QAbstractVideoBuffer::EGLImageHandle), 1},
    {sipName_GLTextureHandle, static_cast<int>( ::QAbstractVideoBuffer::GLTextureHandle), 1},
    {sipName_NoHandle, static_cast<int>( ::QAbstractVideoBuffer::NoHandle), 1},
    {sipName_NotMapped, static_cast<int>( ::QAbstractVideoBuffer::NotMapped), 2},
    {sipName_QPixmapHandle, static_cast<int>( ::QAbstractVideoBuffer::QPixmapHandle), 1},
    {sipName_ReadOnly, static_cast<int>( ::QAbstractVideoBuffer::ReadOnly), 2},
    {sipName_ReadWrite, static_cast<int>( ::QAbstractVideoBuffer::ReadWrite), 2},
    {sipName_UserHandle, static_cast<int>( ::QAbstractVideoBuffer::UserHandle), 1},
    {sipName_WriteOnly, static_cast<int>( ::QAbstractVideoBuffer::WriteOnly), 2},
    {sipName_XvShmImageHandle, static_cast<int>( ::QAbstractVideoBuffer::XvShmImageHandle), 1},
};

PyDoc_STRVAR(doc_QAbstractVideoBuffer, "\1QAbstractVideoBuffer(QAbstractVideoBuffer.HandleType)");


static pyqt5ClassPluginDef plugin_QAbstractVideoBuffer = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtMultimedia_QAbstractVideoBuffer = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QAbstractVideoBuffer,
        {0},
        &plugin_QAbstractVideoBuffer
    },
    {
        sipNameNr_QAbstractVideoBuffer,
        {0, 0, 1},
        6, methods_QAbstractVideoBuffer,
        11, enummembers_QAbstractVideoBuffer,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAbstractVideoBuffer,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QAbstractVideoBuffer,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QAbstractVideoBuffer,
    0,
    0,
    0,
    release_QAbstractVideoBuffer,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};
