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

#include "sipAPIQtMultimedia.h"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 29 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmultimedia.sip"
#include <qmultimedia.h>
#line 32 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaobject.sip"
#include <qmediaobject.h>
#line 35 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediacontrol.sip"
#include <qmediacontrol.h>
#line 38 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaservice.sip"
#include <qmediaservice.h>
#line 41 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qvideoframe.sip"
#include <qvideoframe.h>
#line 44 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qvideosurfaceformat.sip"
#include <qvideosurfaceformat.h>
#line 47 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qpymultimedia_qlist.sip"
#include <qvideoframe.h>
#line 50 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qabstractvideobuffer.sip"
#include <qabstractvideobuffer.h>
#line 53 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 56 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qaudiobuffer.sip"
#include <qaudiobuffer.h>
#line 59 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qaudiodeviceinfo.sip"
#include <qaudiodeviceinfo.h>
#line 62 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qaudioformat.sip"
#include <qaudioformat.h>
#line 65 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcamera.sip"
#include <qcamera.h>
#line 68 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcamera.sip"
#include <qcamera.h>
#line 71 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcameraexposure.sip"
#include <qcameraexposure.h>
#line 74 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 56 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcamerafocus.sip"
#include <qcamerafocus.h>
#line 77 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcameraimagecapture.sip"
#include <qcameraimagecapture.h>
#line 80 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcamerainfo.sip"
#include <qcamerainfo.h>
#line 83 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediacontent.sip"
#include <qmediacontent.h>
#line 86 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaencodersettings.sip"
#include <qmediaencodersettings.h>
#line 89 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 57 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaencodersettings.sip"
#include <qmediaencodersettings.h>
#line 92 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 89 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaencodersettings.sip"
#include <qmediaencodersettings.h>
#line 95 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 29 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaplayer.sip"
#include <qmediaplayer.h>
#line 98 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaresource.sip"
#include <qmediaresource.h>
#line 101 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediatimerange.sip"
#include <qmediatimerange.h>
#line 104 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 51 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediatimerange.sip"
#include <qmediatimerange.h>
#line 107 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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', '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,
    '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,
    '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,
    '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', '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,
    'P', 'y', 'Q', 't', '5', '.', 'Q', 't', 'C', 'o', 'r', 'e', '.', 'p', 'y', 'q', 't', 'W', 'r', 'a', 'p', 'p', 'e', 'r', 'T', 'y', 'p', 'e', 0,
    '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,
    '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,
    '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,
    '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,
    '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,
    '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,
    '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', '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,
    '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,
    '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,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'V', 'i', 'd', 'e', 'o', 'B', 'u', 'f', 'f', 'e', 'r', 0,
    's', 'e', 't', 'P', 'i', 'x', 'e', 'l', 'A', 's', 'p', 'e', 'c', 't', 'R', 'a', 't', 'i', 'o', 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,
    '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', '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,
    '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,
    '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,
    '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,
    '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,
    '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', '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,
    '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,
    'p', 'i', 'x', 'e', 'l', 'A', 's', 'p', 'e', 'c', 't', 'R', 'a', 't', 'i', 'o', 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,
    '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,
    'a', 'v', 'a', 'i', 'l', 'a', 'b', 'l', 'e', 'C', 'a', 'm', 'e', 'r', 'a', 's', 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,
    '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,
    '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,
    '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,
    '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,
    '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,
    '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', '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', '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', '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,
    '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,
    's', 'u', 'r', 'f', 'a', 'c', 'e', 'F', 'o', 'r', 'm', 'a', 't', 0,
    'n', 'e', 'a', 'r', 'e', 's', 't', '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,
    '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,
    '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,
    '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,
    'A', 'c', 't', 'i', 'v', 'e', 'S', 't', 'a', 't', 'e', 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,
    '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,
    '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,
    '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,
    's', 'e', 't', 't', 'i', 'n', 'g', 's', 0,
    'a', 'p', 'e', 'r', 't', 'u', 'r', 'e', 0,
    'F', 'l', 'a', 's', 'h', 'O', 'f', 'f', 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,
    '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,
    '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,
    '_', '_', 'i', 's', 'u', 'b', '_', '_', 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,
    '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,
    '_', '_', '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,
    'U', 'n', 'k', 'n', 'o', 'w', 'n', 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,
    '_', '_', 's', 'u', 'b', '_', '_', 0,
    'N', 'o', 'E', 'r', 'r', 'o', 'r', 0,
    'f', 'i', 'l', 't', 'e', 'r', 's', 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,
    '_', '_', 'a', 'n', 'd', '_', '_', 0,
    '_', '_', 'x', 'o', 'r', '_', '_', 0,
    '_', '_', 'i', 'n', 't', '_', '_', 0,
    '_', '_', 'i', 'o', 'r', '_', '_', 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,
    'v', 'o', 'l', 'u', 'm', 'e', 0,
    'u', 'n', 'b', 'i', 'n', 'd', 0,
    'c', 'o', 'd', 'e', 'c', 's', 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,
    'f', 'o', 'r', 'm', 'a', 't', 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,
    'm', 'o', 'd', 'e', 0,
    'f', 'i', 'l', 'e', 0,
    'n', 'e', 'x', 't', 0,
    't', 'y', 'p', 'e', 0,
    'b', 'a', 's', 'e', 0,
    's', 'i', 'z', 'e', 0,
    'f', 'r', 'o', 'm', 0,
    's', 'o', 'r', 't', 0,
    'd', 'a', 't', 'a', 0,
    's', 't', 'o', 'p', 0,
    'F', 'M', '2', 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,
};
#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcamera.sip"
#include <qcamera.h>
#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcameraexposure.sip"
#include <qcameraexposure.h>
#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcamerafocus.sip"
#include <qcamerafocus.h>
#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcameraimagecapture.sip"
#include <qcameraimagecapture.h>
#line 24 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediatimerange.sip"
#include <qmediatimerange.h>
#line 1095 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

QMultimedia::AvailabilityStatus sipVH_QtMultimedia_0(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_1(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_2(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_3(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QMediaControl*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QMediaControl,NULL);

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

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

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

    return sipRes;
}

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

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

QMediaService* sipVH_QtMultimedia_6(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;
}

bool sipVH_QtMultimedia_7(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;
}

bool sipVH_QtMultimedia_8(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;
}

QVideoSurfaceFormat sipVH_QtMultimedia_9(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;
}

QList<QVideoFrame::PixelFormat> sipVH_QtMultimedia_10(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;
}

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

unsigned char* sipVH_QtMultimedia_12(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QAbstractVideoBuffer::MapMode a0,int*a1,int*a2, int sipResKey)
{
    unsigned char* 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_13(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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qabstractvideosurface.sip"
    static struct class_graph {
        const char *name;
        sipTypeDef **type;
        int yes, no;
    } graph[] = {
        {sipName_QRadioData, &sipType_QRadioData, -1, 1},
        {sipName_QMediaPlaylist, &sipType_QMediaPlaylist, -1, 2},
        {sipName_QMediaObject, &sipType_QMediaObject, 17, 3},
        {sipName_QAudioInput, &sipType_QAudioInput, -1, 4},
        {sipName_QAbstractVideoSurface, &sipType_QAbstractVideoSurface, -1, 5},
        {sipName_QAudioOutput, &sipType_QAudioOutput, -1, 6},
        {sipName_QSoundEffect, &sipType_QSoundEffect, -1, 7},
        {sipName_QAudioProbe, &sipType_QAudioProbe, -1, 8},
        {sipName_QCameraImageProcessing, &sipType_QCameraImageProcessing, -1, 9},
        {sipName_QMediaService, &sipType_QMediaService, -1, 10},
        {sipName_QVideoProbe, &sipType_QVideoProbe, -1, 11},
        {sipName_QMediaRecorder, &sipType_QMediaRecorder, 21, 12},
        {sipName_QCameraExposure, &sipType_QCameraExposure, -1, 13},
        {sipName_QMediaControl, &sipType_QMediaControl, -1, 14},
        {sipName_QCameraImageCapture, &sipType_QCameraImageCapture, -1, 15},
        {sipName_QCameraFocus, &sipType_QCameraFocus, -1, 16},
        {sipName_QSound, &sipType_QSound, -1, -1},
        {sipName_QAudioDecoder, &sipType_QAudioDecoder, -1, 18},
        {sipName_QCamera, &sipType_QCamera, -1, 19},
        {sipName_QRadioTuner, &sipType_QRadioTuner, -1, 20},
        {sipName_QMediaPlayer, &sipType_QMediaPlayer, -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 1286 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

    return sipType;
}


/* This defines each external type declared in this module, */
static sipExternalTypeDef externalTypesTable[] = {
    {52, "QGraphicsVideoItem"},
    {112, "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}
};

static sipEnumTypeDef enumTypes[] = {
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QVideoSurfaceFormat__YCbCrColorSpace, {0}}, sipNameNr_YCbCrColorSpace, 109, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QVideoSurfaceFormat__Direction, {0}}, sipNameNr_Direction, 109, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QVideoFrame__PixelFormat, {0}}, sipNameNr_PixelFormat, 105, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QVideoFrame__FieldType, {0}}, sipNameNr_FieldType, 105, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSoundEffect__Status, {0}}, sipNameNr_Status, 101, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSoundEffect__Loop, {0}}, sipNameNr_Loop, 101, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSound__Loop, {0}}, sipNameNr_Loop, 99, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QRadioTuner__SearchMode, {0}}, sipNameNr_SearchMode, 93, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QRadioTuner__StereoMode, {0}}, sipNameNr_StereoMode, 93, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QRadioTuner__Error, {0}}, sipNameNr_Error, 93, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QRadioTuner__Band, {0}}, sipNameNr_Band, 93, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QRadioTuner__State, {0}}, sipNameNr_State, 93, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QRadioData__ProgramType, {0}}, sipNameNr_ProgramType, 90, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QRadioData__Error, {0}}, sipNameNr_Error, 90, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMultimedia__AvailabilityStatus, {0}}, sipNameNr_AvailabilityStatus, 85, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMultimedia__EncodingMode, {0}}, sipNameNr_EncodingMode, 85, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMultimedia__EncodingQuality, {0}}, sipNameNr_EncodingQuality, 85, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMultimedia__SupportEstimate, {0}}, sipNameNr_SupportEstimate, 85, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMediaRecorder__Error, {0}}, sipNameNr_Error, 77, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMediaRecorder__Status, {0}}, sipNameNr_Status, 77, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMediaRecorder__State, {0}}, sipNameNr_State, 77, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMediaPlaylist__Error, {0}}, sipNameNr_Error, 74, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMediaPlaylist__PlaybackMode, {0}}, sipNameNr_PlaybackMode, 74, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMediaPlayer__Error, {0}}, sipNameNr_Error, 68, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMediaPlayer__Flag, {0}}, sipNameNr_Flag, 68, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMediaPlayer__MediaStatus, {0}}, sipNameNr_MediaStatus, 68, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMediaPlayer__State, {0}}, sipNameNr_State, 68, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCameraImageProcessing__WhiteBalanceMode, {0}}, sipNameNr_WhiteBalanceMode, 49, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCameraImageCapture__CaptureDestination, {0}}, sipNameNr_CaptureDestination, 44, slots_QCameraImageCapture_CaptureDestination},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCameraImageCapture__DriveMode, {0}}, sipNameNr_DriveMode, 44, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCameraImageCapture__Error, {0}}, sipNameNr_Error, 44, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCameraFocus__FocusPointMode, {0}}, sipNameNr_FocusPointMode, 38, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCameraFocus__FocusMode, {0}}, sipNameNr_FocusMode, 38, slots_QCameraFocus_FocusMode},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCameraFocusZone__FocusZoneStatus, {0}}, sipNameNr_FocusZoneStatus, 42, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCameraExposure__MeteringMode, {0}}, sipNameNr_MeteringMode, 33, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCameraExposure__ExposureMode, {0}}, sipNameNr_ExposureMode, 33, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCameraExposure__FlashMode, {0}}, sipNameNr_FlashMode, 33, slots_QCameraExposure_FlashMode},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCamera__Position, {0}}, sipNameNr_Position, 22, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCamera__LockType, {0}}, sipNameNr_LockType, 22, slots_QCamera_LockType},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCamera__LockChangeReason, {0}}, sipNameNr_LockChangeReason, 22, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCamera__LockStatus, {0}}, sipNameNr_LockStatus, 22, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCamera__Error, {0}}, sipNameNr_Error, 22, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCamera__CaptureMode, {0}}, sipNameNr_CaptureMode, 22, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCamera__State, {0}}, sipNameNr_State, 22, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCamera__Status, {0}}, sipNameNr_Status, 22, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAudioFormat__Endian, {0}}, sipNameNr_Endian, 15, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAudioFormat__SampleType, {0}}, sipNameNr_SampleType, 15, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAudioDecoder__Error, {0}}, sipNameNr_Error, 10, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAudioDecoder__State, {0}}, sipNameNr_State, 10, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAudio__Mode, {0}}, sipNameNr_Mode, 5, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAudio__State, {0}}, sipNameNr_State, 5, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAudio__Error, {0}}, sipNameNr_Error, 5, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractVideoSurface__Error, {0}}, sipNameNr_Error, 3, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractVideoBuffer__MapMode, {0}}, sipNameNr_MapMode, 0, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractVideoBuffer__HandleType, {0}}, sipNameNr_HandleType, 0, NULL},
};


/*
 * This defines each type in this module.
 */
static sipTypeDef *typesTable[] = {
    &sipTypeDef_QtMultimedia_QAbstractVideoBuffer.super.ctd_base,
    &enumTypes[54].etd_base,
    &enumTypes[53].etd_base,
    &sipTypeDef_QtMultimedia_QAbstractVideoSurface.super.ctd_base,
    &enumTypes[52].etd_base,
    &sipTypeDef_QtMultimedia_QAudio.super.ctd_base,
    &enumTypes[51].etd_base,
    &enumTypes[49].etd_base,
    &enumTypes[50].etd_base,
    &sipTypeDef_QtMultimedia_QAudioBuffer.super.ctd_base,
    &sipTypeDef_QtMultimedia_QAudioDecoder.super.ctd_base,
    &enumTypes[47].etd_base,
    &enumTypes[48].etd_base,
    &sipTypeDef_QtMultimedia_QAudioDeviceInfo.super.ctd_base,
    &sipTypeDef_QtMultimedia_QAudioEncoderSettings.super.ctd_base,
    &sipTypeDef_QtMultimedia_QAudioFormat.super.ctd_base,
    &enumTypes[45].etd_base,
    &enumTypes[46].etd_base,
    &sipTypeDef_QtMultimedia_QAudioInput.super.ctd_base,
    &sipTypeDef_QtMultimedia_QAudioOutput.super.ctd_base,
    &sipTypeDef_QtMultimedia_QAudioProbe.super.ctd_base,
    &sipTypeDef_QtMultimedia_QAudioRecorder.super.ctd_base,
    &sipTypeDef_QtMultimedia_QCamera.super.ctd_base,
    &enumTypes[42].etd_base,
    &sipTypeDef_QtMultimedia_QCamera_CaptureModes.super.ctd_base,
    &enumTypes[41].etd_base,
    &enumTypes[39].etd_base,
    &enumTypes[40].etd_base,
    &enumTypes[38].etd_base,
    &sipTypeDef_QtMultimedia_QCamera_LockTypes.super.ctd_base,
    &enumTypes[37].etd_base,
    &enumTypes[43].etd_base,
    &enumTypes[44].etd_base,
    &sipTypeDef_QtMultimedia_QCameraExposure.super.ctd_base,
    &enumTypes[35].etd_base,
    &enumTypes[36].etd_base,
    &sipTypeDef_QtMultimedia_QCameraExposure_FlashModes.super.ctd_base,
    &enumTypes[34].etd_base,
    &sipTypeDef_QtMultimedia_QCameraFocus.super.ctd_base,
    &enumTypes[32].etd_base,
    &sipTypeDef_QtMultimedia_QCameraFocus_FocusModes.super.ctd_base,
    &enumTypes[31].etd_base,
    &sipTypeDef_QtMultimedia_QCameraFocusZone.super.ctd_base,
    &enumTypes[33].etd_base,
    &sipTypeDef_QtMultimedia_QCameraImageCapture.super.ctd_base,
    &enumTypes[28].etd_base,
    &sipTypeDef_QtMultimedia_QCameraImageCapture_CaptureDestinations.super.ctd_base,
    &enumTypes[29].etd_base,
    &enumTypes[30].etd_base,
    &sipTypeDef_QtMultimedia_QCameraImageProcessing.super.ctd_base,
    &enumTypes[27].etd_base,
    &sipTypeDef_QtMultimedia_QCameraInfo.super.ctd_base,
    0,
    &sipTypeDef_QtMultimedia_QImageEncoderSettings.super.ctd_base,
    &sipTypeDef_QtMultimedia_QList_0100QAudioDeviceInfo.mtd_base,
    &sipTypeDef_QtMultimedia_QList_0100QAudioFormat_Endian.mtd_base,
    &sipTypeDef_QtMultimedia_QList_0100QAudioFormat_SampleType.mtd_base,
    &sipTypeDef_QtMultimedia_QList_0100QCameraFocusZone.mtd_base,
    &sipTypeDef_QtMultimedia_QList_0100QCameraInfo.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.super.ctd_base,
    &sipTypeDef_QtMultimedia_QMediaContent.super.ctd_base,
    &sipTypeDef_QtMultimedia_QMediaControl.super.ctd_base,
    &sipTypeDef_QtMultimedia_QMediaMetaData.super.ctd_base,
    &sipTypeDef_QtMultimedia_QMediaObject.super.ctd_base,
    &sipTypeDef_QtMultimedia_QMediaPlayer.super.ctd_base,
    &enumTypes[23].etd_base,
    &enumTypes[24].etd_base,
    &sipTypeDef_QtMultimedia_QMediaPlayer_Flags.super.ctd_base,
    &enumTypes[25].etd_base,
    &enumTypes[26].etd_base,
    &sipTypeDef_QtMultimedia_QMediaPlaylist.super.ctd_base,
    &enumTypes[21].etd_base,
    &enumTypes[22].etd_base,
    &sipTypeDef_QtMultimedia_QMediaRecorder.super.ctd_base,
    &enumTypes[18].etd_base,
    &enumTypes[20].etd_base,
    &enumTypes[19].etd_base,
    &sipTypeDef_QtMultimedia_QMediaResource.super.ctd_base,
    &sipTypeDef_QtMultimedia_QMediaService.super.ctd_base,
    &sipTypeDef_QtMultimedia_QMediaTimeInterval.super.ctd_base,
    &sipTypeDef_QtMultimedia_QMediaTimeRange.super.ctd_base,
    &sipTypeDef_QtMultimedia_QMultimedia.super.ctd_base,
    &enumTypes[14].etd_base,
    &enumTypes[15].etd_base,
    &enumTypes[16].etd_base,
    &enumTypes[17].etd_base,
    &sipTypeDef_QtMultimedia_QRadioData.super.ctd_base,
    &enumTypes[13].etd_base,
    &enumTypes[12].etd_base,
    &sipTypeDef_QtMultimedia_QRadioTuner.super.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.super.ctd_base,
    &enumTypes[6].etd_base,
    &sipTypeDef_QtMultimedia_QSoundEffect.super.ctd_base,
    &enumTypes[5].etd_base,
    &enumTypes[4].etd_base,
    &sipTypeDef_QtMultimedia_QVideoEncoderSettings.super.ctd_base,
    &sipTypeDef_QtMultimedia_QVideoFrame.super.ctd_base,
    &enumTypes[3].etd_base,
    &enumTypes[2].etd_base,
    &sipTypeDef_QtMultimedia_QVideoProbe.super.ctd_base,
    &sipTypeDef_QtMultimedia_QVideoSurfaceFormat.super.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 virtual handlers that this module implements and can be
 * used by other modules.
 */
static sipVirtHandlerFunc virtHandlersTable[] = {
    (sipVirtHandlerFunc)sipVH_QtMultimedia_0,
    (sipVirtHandlerFunc)sipVH_QtMultimedia_1,
    (sipVirtHandlerFunc)sipVH_QtMultimedia_2,
    (sipVirtHandlerFunc)sipVH_QtMultimedia_3,
    (sipVirtHandlerFunc)sipVH_QtMultimedia_4,
    (sipVirtHandlerFunc)sipVH_QtMultimedia_5,
    (sipVirtHandlerFunc)sipVH_QtMultimedia_6,
    (sipVirtHandlerFunc)sipVH_QtMultimedia_7,
    (sipVirtHandlerFunc)sipVH_QtMultimedia_8,
    (sipVirtHandlerFunc)sipVH_QtMultimedia_9,
    (sipVirtHandlerFunc)sipVH_QtMultimedia_10,
    (sipVirtHandlerFunc)sipVH_QtMultimedia_11,
    (sipVirtHandlerFunc)sipVH_QtMultimedia_12,
    (sipVirtHandlerFunc)sipVH_QtMultimedia_13,
};


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


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


/* This defines this module. */
sipExportedModuleDef sipModuleAPI_QtMultimedia = {
    0,
    SIP_API_MINOR_NR,
    sipNameNr_PyQt5_QtMultimedia,
    0,
    -1,
    sipStrings_QtMultimedia,
    importsTable,
    NULL,
    113,
    typesTable,
    externalTypesTable,
    0,
    NULL,
    2,
    typedefsTable,
    virtHandlersTable,
    NULL,
    convertorsTable,
    {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL},
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL
};


/* The SIP API and the APIs of any imported modules. */
const sipAPIDef *sipAPI_QtMultimedia;
const sipExportedModuleDef *sipModuleAPI_QtMultimedia_QtCore;
const sipExportedModuleDef *sipModuleAPI_QtMultimedia_QtNetwork;
const sipExportedModuleDef *sipModuleAPI_QtMultimedia_QtGui;

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

    /* Get the APIs of the modules that this one is dependent on. */
    sipModuleAPI_QtMultimedia_QtCore = sipModuleAPI_QtMultimedia.em_imports[0].im_module;
    sipModuleAPI_QtMultimedia_QtNetwork = sipModuleAPI_QtMultimedia.em_imports[1].im_module;
    sipModuleAPI_QtMultimedia_QtGui = sipModuleAPI_QtMultimedia.em_imports[2].im_module;

    SIP_MODULE_RETURN(sipModule);
}

#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 1840 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediatimerange.sip"
#include <qmediatimerange.h>
#line 1844 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 66 "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 (SIP_SSIZE_T i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

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

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

            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 1953 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 40 "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_SET_ITEM(l, i, tobj);
    }

    return l;
#line 1986 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtMultimedia_QList_0100QMediaTimeInterval = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_1229,
        {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 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 2017 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediacontent.sip"
#include <qmediacontent.h>
#line 2021 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 66 "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 (SIP_SSIZE_T i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

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

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

            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 2130 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 40 "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_SET_ITEM(l, i, tobj);
    }

    return l;
#line 2163 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtMultimedia_QList_0100QMediaContent = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_3226,
        {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 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 2194 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcamerainfo.sip"
#include <qcamerainfo.h>
#line 2198 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 66 "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 (SIP_SSIZE_T i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

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

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

            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 2307 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 40 "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_SET_ITEM(l, i, tobj);
    }

    return l;
#line 2340 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtMultimedia_QList_0100QCameraInfo = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_4412,
        {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 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 2371 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qaudiodeviceinfo.sip"
#include <qaudiodeviceinfo.h>
#line 2375 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 66 "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 (SIP_SSIZE_T i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

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

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

            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 2484 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 40 "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_SET_ITEM(l, i, tobj);
    }

    return l;
#line 2517 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtMultimedia_QList_0100QAudioDeviceInfo = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_1740,
        {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 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 2548 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaresource.sip"
#include <qmediaresource.h>
#line 2552 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 66 "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 (SIP_SSIZE_T i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

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

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

            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 2661 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 40 "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_SET_ITEM(l, i, tobj);
    }

    return l;
#line 2694 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtMultimedia_QList_0100QMediaResource = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_2566,
        {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 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 2725 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcamerafocus.sip"
#include <qcamerafocus.h>
#line 2729 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 66 "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 (SIP_SSIZE_T i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

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

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

            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 2838 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 40 "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_SET_ITEM(l, i, tobj);
    }

    return l;
#line 2871 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtMultimedia_QList_0100QCameraFocusZone = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_1764,
        {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 227 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qpymultimedia_qlist.sip"
#include <qaudioformat.h>
#line 2902 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qaudioformat.sip"
#include <qaudioformat.h>
#line 2906 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 255 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (SIP_SSIZE_T i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

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

            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 3010 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 231 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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_SET_ITEM(l, i, eobj);
    }

    return l;
#line 3041 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtMultimedia_QList_0100QAudioFormat_SampleType = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_296,
        {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 126 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qpymultimedia_qlist.sip"
#include <qaudioformat.h>
#line 3072 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qaudioformat.sip"
#include <qaudioformat.h>
#line 3076 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 154 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (SIP_SSIZE_T i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

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

            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 3180 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 130 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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_SET_ITEM(l, i, eobj);
    }

    return l;
#line 3211 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtMultimedia_QList_0100QAudioFormat_Endian = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_869,
        {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 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qpymultimedia_qlist.sip"
#include <qvideoframe.h>
#line 3242 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qvideoframe.sip"
#include <qvideoframe.h>
#line 3246 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 54 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 (SIP_SSIZE_T i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

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

            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 3350 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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_SET_ITEM(l, i, eobj);
    }

    return l;
#line 3381 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtMultimedia_QList_0100QVideoFrame_PixelFormat = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_328,
        {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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qvideosurfaceformat.sip"
#include <qvideosurfaceformat.h>
#line 3412 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 3416 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qvideoframe.sip"
#include <qvideoframe.h>
#line 3419 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qabstractvideobuffer.sip"
#include <qabstractvideobuffer.h>
#line 3422 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 3425 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 3428 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 3431 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 3434 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"


PyDoc_STRVAR(doc_QVideoSurfaceFormat_isValid, "QVideoSurfaceFormat.isValid() -> 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, "QVideoSurfaceFormat.pixelFormat() -> 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, "QVideoSurfaceFormat.handleType() -> 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, "QVideoSurfaceFormat.frameSize() -> 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, "QVideoSurfaceFormat.setFrameSize(QSize)\n"
    "QVideoSurfaceFormat.setFrameSize(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, "QVideoSurfaceFormat.frameWidth() -> 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, "QVideoSurfaceFormat.frameHeight() -> 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, "QVideoSurfaceFormat.viewport() -> 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, "QVideoSurfaceFormat.setViewport(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, "QVideoSurfaceFormat.scanLineDirection() -> 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, "QVideoSurfaceFormat.setScanLineDirection(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, "QVideoSurfaceFormat.frameRate() -> 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, "QVideoSurfaceFormat.setFrameRate(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, "QVideoSurfaceFormat.pixelAspectRatio() -> 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, "QVideoSurfaceFormat.setPixelAspectRatio(QSize)\n"
    "QVideoSurfaceFormat.setPixelAspectRatio(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, "QVideoSurfaceFormat.yCbCrColorSpace() -> 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, "QVideoSurfaceFormat.setYCbCrColorSpace(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, "QVideoSurfaceFormat.sizeHint() -> 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, "QVideoSurfaceFormat.propertyNames() -> list-of-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, "QVideoSurfaceFormat.property(str) -> QVariant");

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

    {
        const char* a0;
        PyObject *a0Keep;
        const QVideoSurfaceFormat *sipCpp;

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

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

            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, "QVideoSurfaceFormat.setProperty(str, QVariant)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAJ1", &sipSelf, sipType_QVideoSurfaceFormat, &sipCpp, &a0Keep, &a0, sipType_QVariant, &a1, &a1State))
        {
            sipCpp->setProperty(a0,*a1);
            Py_DECREF(a0Keep);
            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);
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(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), 110},
    {sipName_TopToBottom, static_cast<int>(QVideoSurfaceFormat::TopToBottom), 110},
    {sipName_YCbCr_BT601, static_cast<int>(QVideoSurfaceFormat::YCbCr_BT601), 111},
    {sipName_YCbCr_BT709, static_cast<int>(QVideoSurfaceFormat::YCbCr_BT709), 111},
    {sipName_YCbCr_JPEG, static_cast<int>(QVideoSurfaceFormat::YCbCr_JPEG), 111},
    {sipName_YCbCr_Undefined, static_cast<int>(QVideoSurfaceFormat::YCbCr_Undefined), 111},
    {sipName_YCbCr_xvYCC601, static_cast<int>(QVideoSurfaceFormat::YCbCr_xvYCC601), 111},
    {sipName_YCbCr_xvYCC709, static_cast<int>(QVideoSurfaceFormat::YCbCr_xvYCC709), 111},
};

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


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QVideoSurfaceFormat = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QVideoSurfaceFormat,
        {0}
    },
    {
        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,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QVideoSurfaceFormat,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qvideoprobe.sip"
#include <qvideoprobe.h>
#line 4309 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 4313 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qvideoframe.sip"
#include <qvideoframe.h>
#line 4316 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaobject.sip"
#include <qmediaobject.h>
#line 4319 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediarecorder.sip"
#include <qmediarecorder.h>
#line 4322 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 4325 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4328 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4331 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4334 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 4337 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4340 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 4343 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 4346 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 4349 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4352 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 4355 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4358 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 4361 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 4364 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 4367 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (targetType == sipType_QVideoProbe)
        return ptr;

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

    return NULL;
}


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

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


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


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

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


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QVideoProbe = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QVideoProbe,
        {0}
    },
    {
        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
},
    &QVideoProbe::staticMetaObject,
    0,
    signals_QVideoProbe,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qvideoframe.sip"
#include <qvideoframe.h>
#line 5154 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qabstractvideobuffer.sip"
#include <qabstractvideobuffer.h>
#line 5158 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 5161 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtGui/qimage.sip"
#include <qimage.h>
#line 5164 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 5167 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 5170 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 5173 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"


PyDoc_STRVAR(doc_QVideoFrame_isValid, "QVideoFrame.isValid() -> 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, "QVideoFrame.pixelFormat() -> 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, "QVideoFrame.handleType() -> 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, "QVideoFrame.size() -> 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, "QVideoFrame.width() -> 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, "QVideoFrame.height() -> 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, "QVideoFrame.fieldType() -> 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, "QVideoFrame.setFieldType(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, "QVideoFrame.isMapped() -> 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, "QVideoFrame.isReadable() -> 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, "QVideoFrame.isWritable() -> 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, "QVideoFrame.mapMode() -> 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, "QVideoFrame.map(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, "QVideoFrame.unmap()");

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, "QVideoFrame.bytesPerLine() -> int\n"
    "QVideoFrame.bytesPerLine(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, "QVideoFrame.bits() -> sip.voidptr\n"
    "QVideoFrame.bits(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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 5627 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QVideoFrame.mappedBytes() -> 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, "QVideoFrame.handle() -> QVariant");

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, "QVideoFrame.startTime() -> 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, "QVideoFrame.setStartTime(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, "QVideoFrame.endTime() -> 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, "QVideoFrame.setEndTime(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, "QVideoFrame.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, "QVideoFrame.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, "QVideoFrame.availableMetaData() -> dict-of-str-object");

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, "QVideoFrame.metaData(str) -> QVariant");

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, "QVideoFrame.setMetaData(str, QVariant)");

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, "QVideoFrame.planeCount() -> 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;
}


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

    return NULL;
}


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


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

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


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QVideoFrame = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QVideoFrame,
        {0}
    },
    {
        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,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    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,
    cast_QVideoFrame,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qsoundeffect.sip"
#include <qsoundeffect.h>
#line 6239 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 6243 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 6246 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 100 "sip/QtCore/qurl.sip"
#include <qurl.h>
#line 6249 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 34 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 6252 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 6255 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6258 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6261 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6264 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 6267 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 6270 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 6273 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 6276 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6279 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 6282 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6285 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 6288 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 6291 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 6294 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    return ((sipVH_QtCore_5)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], 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, "QSoundEffect.sender() -> 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 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 6582 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QSoundEffect.receivers(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 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 6641 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QSoundEffect.timerEvent(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 || sipIsDerived((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, "QSoundEffect.childEvent(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 || sipIsDerived((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, "QSoundEffect.customEvent(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 || sipIsDerived((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, "QSoundEffect.connectNotify(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 || sipIsDerived((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, "QSoundEffect.disconnectNotify(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 || sipIsDerived((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, "QSoundEffect.senderSignalIndex() -> 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, "QSoundEffect.isSignalConnected(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, "QSoundEffect.supportedMimeTypes() -> list-of-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, "QSoundEffect.source() -> 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, "QSoundEffect.setSource(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, "QSoundEffect.loopCount() -> 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, "QSoundEffect.loopsRemaining() -> 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, "QSoundEffect.setLoopCount(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, "QSoundEffect.volume() -> 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, "QSoundEffect.setVolume(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, "QSoundEffect.isMuted() -> 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, "QSoundEffect.setMuted(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, "QSoundEffect.isLoaded() -> 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, "QSoundEffect.isPlaying() -> 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, "QSoundEffect.status() -> 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, "QSoundEffect.category() -> 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, "QSoundEffect.setCategory(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, "QSoundEffect.play()");

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, "QSoundEffect.stop()");

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

    if (targetType == sipType_QSoundEffect)
        return ptr;

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

    return NULL;
}


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

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


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[] = {{162, 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), 103},
    {sipName_Infinite, static_cast<int>(QSoundEffect::Infinite), 102},
    {sipName_Loading, static_cast<int>(QSoundEffect::Loading), 103},
    {sipName_Null, static_cast<int>(QSoundEffect::Null), 103},
    {sipName_Ready, static_cast<int>(QSoundEffect::Ready), 103},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QSoundEffect[] = {
    {"categoryChanged()", "\1QSoundEffect.categoryChanged", 0, 0},
    {"statusChanged()", "\1QSoundEffect.statusChanged", 0, 0},
    {"playingChanged()", "\1QSoundEffect.playingChanged", 0, 0},
    {"loadedChanged()", "\1QSoundEffect.loadedChanged", 0, 0},
    {"mutedChanged()", "\1QSoundEffect.mutedChanged", 0, 0},
    {"volumeChanged()", "\1QSoundEffect.volumeChanged", 0, 0},
    {"loopsRemainingChanged()", "\1QSoundEffect.loopsRemainingChanged", 0, 0},
    {"loopCountChanged()", "\1QSoundEffect.loopCountChanged", 0, 0},
    {"sourceChanged()", "\1QSoundEffect.sourceChanged", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QSoundEffect, "\1QSoundEffect(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QSoundEffect = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSoundEffect,
        {0}
    },
    {
        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
},
    &QSoundEffect::staticMetaObject,
    0,
    signals_QSoundEffect,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qsound.sip"
#include <qsound.h>
#line 7498 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7502 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 7505 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 7508 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7511 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7514 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7517 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7520 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 7523 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7526 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 7529 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7532 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 7535 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7538 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 7541 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 7544 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 7547 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

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

const QMetaObject *sipQSound::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf,sipType_QSound);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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, "QSound.loops() -> 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, "QSound.loopsRemaining() -> 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, "QSound.setLoops(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, "QSound.fileName() -> 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, "QSound.isFinished() -> 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, "QSound.stop()");

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

    if (targetType == sipType_QSound)
        return ptr;

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

    return NULL;
}


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

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


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

PyDoc_STRVAR(doc_QSound, "\1QSound(str, QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QSound = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSound,
        {0}
    },
    {
        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
},
    &QSound::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qradiotuner.sip"
#include <qradiotuner.h>
#line 8471 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 8475 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 8478 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qradiodata.sip"
#include <qradiodata.h>
#line 8481 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 133 "sip/QtCore/qpycore_qpair.sip"
#include <qpair.h>
#line 8484 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmultimedia.sip"
#include <qmultimedia.h>
#line 8487 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 8490 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8493 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 34 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 8496 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaservice.sip"
#include <qmediaservice.h>
#line 8499 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 8502 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8505 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8508 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8511 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 8514 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 8517 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8520 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 8523 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8526 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 8529 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 8532 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 8535 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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*);
    void unbind(QObject*);
    bool bind(QObject*);
    QMediaService* service() const;
    bool isAvailable() const;
    QMultimedia::AvailabilityStatus availability() const;

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

const QMetaObject *sipQRadioTuner::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf,sipType_QRadioTuner);
}

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

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

    ((sipVH_QtCore_46)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], 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;
    }

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

    ((sipVH_QtCore_46)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], 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;
    }

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

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

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

    ((sipVH_QtCore_47)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], 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;
    }

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

    ((sipVH_QtCore_9)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], 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);

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

    return ((sipVH_QtCore_26)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], 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);

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

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

void sipQRadioTuner::unbind(QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QRadioTuner::unbind(a0);
        return;
    }

    extern void sipVH_QtMultimedia_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*);

    sipVH_QtMultimedia_5(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQRadioTuner::bind(QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QRadioTuner::bind(a0);

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

    return ((sipVH_QtCore_63)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[63]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

    return sipVH_QtMultimedia_6(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQRadioTuner::isAvailable() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QRadioTuner::isAvailable();

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

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

QMultimedia::AvailabilityStatus sipQRadioTuner::availability() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QRadioTuner::availability();

    extern QMultimedia::AvailabilityStatus sipVH_QtMultimedia_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtMultimedia_0(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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

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, "QRadioTuner.removePropertyWatch(QByteArray)");

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, "QRadioTuner.availability() -> 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 || sipIsDerived((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, "QRadioTuner.state() -> 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, "QRadioTuner.band() -> 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, "QRadioTuner.isBandSupported(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, "QRadioTuner.frequency() -> 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, "QRadioTuner.frequencyStep(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, "QRadioTuner.frequencyRange(QRadioTuner.Band) -> tuple-of-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, "QRadioTuner.isStereo() -> 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, "QRadioTuner.setStereoMode(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, "QRadioTuner.stereoMode() -> 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, "QRadioTuner.signalStrength() -> 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, "QRadioTuner.volume() -> 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, "QRadioTuner.isMuted() -> 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, "QRadioTuner.isSearching() -> 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, "QRadioTuner.isAntennaConnected() -> 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, "QRadioTuner.error() -> 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, "QRadioTuner.errorString() -> 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, "QRadioTuner.radioData() -> 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, "QRadioTuner.searchForward()");

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, "QRadioTuner.searchBackward()");

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, "QRadioTuner.searchAllStations(QRadioTuner.SearchMode 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, "QRadioTuner.cancelSearch()");

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, "QRadioTuner.setBand(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, "QRadioTuner.setFrequency(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, "QRadioTuner.setVolume(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, "QRadioTuner.setMuted(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, "QRadioTuner.start()");

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, "QRadioTuner.stop()");

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

    if (targetType == sipType_QRadioTuner)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QMediaObject)->ctd_cast((QMediaObject *)(QRadioTuner *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

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


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[] = {{67, 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), 94},
    {sipName_ActiveState, static_cast<int>(QRadioTuner::ActiveState), 97},
    {sipName_Auto, static_cast<int>(QRadioTuner::Auto), 98},
    {sipName_FM, static_cast<int>(QRadioTuner::FM), 94},
    {sipName_FM2, static_cast<int>(QRadioTuner::FM2), 94},
    {sipName_ForceMono, static_cast<int>(QRadioTuner::ForceMono), 98},
    {sipName_ForceStereo, static_cast<int>(QRadioTuner::ForceStereo), 98},
    {sipName_LW, static_cast<int>(QRadioTuner::LW), 94},
    {sipName_NoError, static_cast<int>(QRadioTuner::NoError), 95},
    {sipName_OpenError, static_cast<int>(QRadioTuner::OpenError), 95},
    {sipName_OutOfRangeError, static_cast<int>(QRadioTuner::OutOfRangeError), 95},
    {sipName_ResourceError, static_cast<int>(QRadioTuner::ResourceError), 95},
    {sipName_SW, static_cast<int>(QRadioTuner::SW), 94},
    {sipName_SearchFast, static_cast<int>(QRadioTuner::SearchFast), 96},
    {sipName_SearchGetStationId, static_cast<int>(QRadioTuner::SearchGetStationId), 96},
    {sipName_StoppedState, static_cast<int>(QRadioTuner::StoppedState), 97},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QRadioTuner[] = {
    {"antennaConnectedChanged(bool)", "\1QRadioTuner.antennaConnectedChanged[bool]", 0, 0},
    {"stationFound(int,QString)", "\1QRadioTuner.stationFound[int, str]", 0, 0},
    {"mutedChanged(bool)", "\1QRadioTuner.mutedChanged[bool]", 0, 0},
    {"volumeChanged(int)", "\1QRadioTuner.volumeChanged[int]", 0, 0},
    {"signalStrengthChanged(int)", "\1QRadioTuner.signalStrengthChanged[int]", 0, 0},
    {"searchingChanged(bool)", "\1QRadioTuner.searchingChanged[bool]", 0, 0},
    {"stereoStatusChanged(bool)", "\1QRadioTuner.stereoStatusChanged[bool]", 0, 0},
    {"frequencyChanged(int)", "\1QRadioTuner.frequencyChanged[int]", 0, 0},
    {"bandChanged(QRadioTuner::Band)", "\1QRadioTuner.bandChanged[QRadioTuner.Band]", 0, 0},
    {"stateChanged(QRadioTuner::State)", "\1QRadioTuner.stateChanged[QRadioTuner.State]", 0, 0},
    {"error(QRadioTuner::Error)", "\1QRadioTuner.error[QRadioTuner.Error]", &methods_QRadioTuner[8], 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QRadioTuner, "\1QRadioTuner(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QRadioTuner = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QRadioTuner,
        {0}
    },
    {
        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
},
    &QRadioTuner::staticMetaObject,
    0,
    signals_QRadioTuner,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qradiodata.sip"
#include <qradiodata.h>
#line 10220 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaobject.sip"
#include <qmediaobject.h>
#line 10224 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 10227 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 10230 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmultimedia.sip"
#include <qmultimedia.h>
#line 10233 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 10236 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10239 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10242 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10245 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 10248 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 10251 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 10254 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 10257 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10260 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 10263 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10266 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 10269 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 10272 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 10275 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    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:
    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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQRadioData::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf,sipType_QRadioData);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    return sipVH_QtMultimedia_2(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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

    if (targetType == sipType_QRadioData)
        return ptr;

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

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

    return NULL;
}


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

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


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[] = {{162, 0, 0}, {63, 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), 92},
    {sipName_Alarm, static_cast<int>(QRadioData::Alarm), 92},
    {sipName_AlarmTest, static_cast<int>(QRadioData::AlarmTest), 92},
    {sipName_ChildrensProgrammes, static_cast<int>(QRadioData::ChildrensProgrammes), 92},
    {sipName_ClassicRock, static_cast<int>(QRadioData::ClassicRock), 92},
    {sipName_Classical, static_cast<int>(QRadioData::Classical), 92},
    {sipName_College, static_cast<int>(QRadioData::College), 92},
    {sipName_CountryMusic, static_cast<int>(QRadioData::CountryMusic), 92},
    {sipName_Culture, static_cast<int>(QRadioData::Culture), 92},
    {sipName_CurrentAffairs, static_cast<int>(QRadioData::CurrentAffairs), 92},
    {sipName_Documentary, static_cast<int>(QRadioData::Documentary), 92},
    {sipName_Drama, static_cast<int>(QRadioData::Drama), 92},
    {sipName_EasyListening, static_cast<int>(QRadioData::EasyListening), 92},
    {sipName_Education, static_cast<int>(QRadioData::Education), 92},
    {sipName_Finance, static_cast<int>(QRadioData::Finance), 92},
    {sipName_FolkMusic, static_cast<int>(QRadioData::FolkMusic), 92},
    {sipName_Information, static_cast<int>(QRadioData::Information), 92},
    {sipName_JazzMusic, static_cast<int>(QRadioData::JazzMusic), 92},
    {sipName_Language, static_cast<int>(QRadioData::Language), 92},
    {sipName_Leisure, static_cast<int>(QRadioData::Leisure), 92},
    {sipName_LightClassical, static_cast<int>(QRadioData::LightClassical), 92},
    {sipName_NationalMusic, static_cast<int>(QRadioData::NationalMusic), 92},
    {sipName_News, static_cast<int>(QRadioData::News), 92},
    {sipName_NoError, static_cast<int>(QRadioData::NoError), 91},
    {sipName_Nostalgia, static_cast<int>(QRadioData::Nostalgia), 92},
    {sipName_OldiesMusic, static_cast<int>(QRadioData::OldiesMusic), 92},
    {sipName_OpenError, static_cast<int>(QRadioData::OpenError), 91},
    {sipName_OtherMusic, static_cast<int>(QRadioData::OtherMusic), 92},
    {sipName_OutOfRangeError, static_cast<int>(QRadioData::OutOfRangeError), 91},
    {sipName_Personality, static_cast<int>(QRadioData::Personality), 92},
    {sipName_PhoneIn, static_cast<int>(QRadioData::PhoneIn), 92},
    {sipName_PopMusic, static_cast<int>(QRadioData::PopMusic), 92},
    {sipName_Public, static_cast<int>(QRadioData::Public), 92},
    {sipName_Religion, static_cast<int>(QRadioData::Religion), 92},
    {sipName_ReligiousMusic, static_cast<int>(QRadioData::ReligiousMusic), 92},
    {sipName_ReligiousTalk, static_cast<int>(QRadioData::ReligiousTalk), 92},
    {sipName_ResourceError, static_cast<int>(QRadioData::ResourceError), 91},
    {sipName_RhythmAndBlues, static_cast<int>(QRadioData::RhythmAndBlues), 92},
    {sipName_RockMusic, static_cast<int>(QRadioData::RockMusic), 92},
    {sipName_Science, static_cast<int>(QRadioData::Science), 92},
    {sipName_SeriousClassical, static_cast<int>(QRadioData::SeriousClassical), 92},
    {sipName_SocialAffairs, static_cast<int>(QRadioData::SocialAffairs), 92},
    {sipName_Soft, static_cast<int>(QRadioData::Soft), 92},
    {sipName_SoftRhythmAndBlues, static_cast<int>(QRadioData::SoftRhythmAndBlues), 92},
    {sipName_SoftRock, static_cast<int>(QRadioData::SoftRock), 92},
    {sipName_Sport, static_cast<int>(QRadioData::Sport), 92},
    {sipName_Talk, static_cast<int>(QRadioData::Talk), 92},
    {sipName_Top40, static_cast<int>(QRadioData::Top40), 92},
    {sipName_Travel, static_cast<int>(QRadioData::Travel), 92},
    {sipName_Undefined, static_cast<int>(QRadioData::Undefined), 92},
    {sipName_Varied, static_cast<int>(QRadioData::Varied), 92},
    {sipName_Weather, static_cast<int>(QRadioData::Weather), 92},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QRadioData[] = {
    {"alternativeFrequenciesEnabledChanged(bool)", "\1QRadioData.alternativeFrequenciesEnabledChanged[bool]", 0, 0},
    {"radioTextChanged(QString)", "\1QRadioData.radioTextChanged[str]", 0, 0},
    {"stationNameChanged(QString)", "\1QRadioData.stationNameChanged[str]", 0, 0},
    {"programTypeNameChanged(QString)", "\1QRadioData.programTypeNameChanged[str]", 0, 0},
    {"programTypeChanged(QRadioData::ProgramType)", "\1QRadioData.programTypeChanged[QRadioData.ProgramType]", 0, 0},
    {"stationIdChanged(QString)", "\1QRadioData.stationIdChanged[str]", 0, 0},
    {"error(QRadioData::Error)", "\1QRadioData.error[QRadioData.Error]", &methods_QRadioData[5], 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QRadioData, "\1QRadioData(QMediaObject, QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QRadioData = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QRadioData,
        {0}
    },
    {
        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
},
    &QRadioData::staticMetaObject,
    0,
    signals_QRadioData,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmultimedia.sip"
#include <qmultimedia.h>
#line 11432 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"


static sipEnumMemberDef enummembers_QMultimedia[] = {
    {sipName_Available, static_cast<int>(QMultimedia::Available), 86},
    {sipName_AverageBitRateEncoding, static_cast<int>(QMultimedia::AverageBitRateEncoding), 87},
    {sipName_Busy, static_cast<int>(QMultimedia::Busy), 86},
    {sipName_ConstantBitRateEncoding, static_cast<int>(QMultimedia::ConstantBitRateEncoding), 87},
    {sipName_ConstantQualityEncoding, static_cast<int>(QMultimedia::ConstantQualityEncoding), 87},
    {sipName_HighQuality, static_cast<int>(QMultimedia::HighQuality), 88},
    {sipName_LowQuality, static_cast<int>(QMultimedia::LowQuality), 88},
    {sipName_MaybeSupported, static_cast<int>(QMultimedia::MaybeSupported), 89},
    {sipName_NormalQuality, static_cast<int>(QMultimedia::NormalQuality), 88},
    {sipName_NotSupported, static_cast<int>(QMultimedia::NotSupported), 89},
    {sipName_PreferredService, static_cast<int>(QMultimedia::PreferredService), 89},
    {sipName_ProbablySupported, static_cast<int>(QMultimedia::ProbablySupported), 89},
    {sipName_ResourceError, static_cast<int>(QMultimedia::ResourceError), 86},
    {sipName_ServiceMissing, static_cast<int>(QMultimedia::ServiceMissing), 86},
    {sipName_TwoPassEncoding, static_cast<int>(QMultimedia::TwoPassEncoding), 87},
    {sipName_VeryHighQuality, static_cast<int>(QMultimedia::VeryHighQuality), 88},
    {sipName_VeryLowQuality, static_cast<int>(QMultimedia::VeryLowQuality), 88},
};


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QMultimedia = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_NAMESPACE,
        sipNameNr_QMultimedia,
        {0}
    },
    {
        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
},
    0,
    0,
    0,
    0
};

#line 51 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediatimerange.sip"
#include <qmediatimerange.h>
#line 11512 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediatimerange.sip"
#include <qmediatimerange.h>
#line 11516 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 11519 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"


PyDoc_STRVAR(doc_QMediaTimeRange_earliestTime, "QMediaTimeRange.earliestTime() -> 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, "QMediaTimeRange.latestTime() -> 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, "QMediaTimeRange.intervals() -> list-of-QMediaTimeInterval");

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, "QMediaTimeRange.isEmpty() -> 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, "QMediaTimeRange.isContinuous() -> 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, "QMediaTimeRange.contains(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, "QMediaTimeRange.addInterval(int, int)\n"
    "QMediaTimeRange.addInterval(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, "QMediaTimeRange.addTimeRange(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, "QMediaTimeRange.removeInterval(int, int)\n"
    "QMediaTimeRange.removeInterval(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, "QMediaTimeRange.removeTimeRange(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, "QMediaTimeRange.clear()");

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


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

    return NULL;
}


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


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QMediaTimeRange = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMediaTimeRange,
        {0}
    },
    {
        sipNameNr_QMediaTimeRange,
        {0, 0, 1},
        11, methods_QMediaTimeRange,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMediaTimeRange,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QMediaTimeRange,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediatimerange.sip"
#include <qmediatimerange.h>
#line 12264 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"



PyDoc_STRVAR(doc_QMediaTimeInterval_start, "QMediaTimeInterval.start() -> 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, "QMediaTimeInterval.end() -> 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, "QMediaTimeInterval.contains(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, "QMediaTimeInterval.isNormal() -> 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, "QMediaTimeInterval.normalized() -> 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, "QMediaTimeInterval.translated(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);
}


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

    return NULL;
}


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


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QMediaTimeInterval = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMediaTimeInterval,
        {0}
    },
    {
        sipNameNr_QMediaTimeInterval,
        {0, 0, 1},
        6, methods_QMediaTimeInterval,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMediaTimeInterval,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QMediaTimeInterval,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaservice.sip"
#include <qmediaservice.h>
#line 12666 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 12670 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediacontrol.sip"
#include <qmediacontrol.h>
#line 12673 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 12676 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12679 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12682 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12685 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 12688 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12691 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 12694 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 12697 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 12700 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12703 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 12706 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12709 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 12712 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 12715 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 12718 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void releaseControl(QMediaControl*);
    QMediaControl* requestControl(const char*);

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

const QMetaObject *sipQMediaService::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf,sipType_QMediaService);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipQMediaService::releaseControl(QMediaControl*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,sipName_QMediaService,sipName_releaseControl);

    if (!sipMeth)
        return;

    extern void sipVH_QtMultimedia_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMediaControl*);

    sipVH_QtMultimedia_3(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QMediaControl* sipQMediaService::requestControl(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,sipName_QMediaService,sipName_requestControl);

    if (!sipMeth)
        return 0;

    extern QMediaControl* sipVH_QtMultimedia_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_QMediaService, &sipCpp, &a0Keep, &a0))
        {
            QMediaControl*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QMediaService, sipName_requestControl);
                return NULL;
            }

            sipRes = sipCpp->requestControl(a0);
            Py_DECREF(a0Keep);

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

    if (targetType == sipType_QMediaService)
        return ptr;

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

    return NULL;
}


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

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


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


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QMediaService = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMediaService,
        {0}
    },
    {
        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
},
    &QMediaService::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaresource.sip"
#include <qmediaresource.h>
#line 13526 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 100 "sip/QtCore/qurl.sip"
#include <qurl.h>
#line 13530 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 13533 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtNetwork/qnetworkrequest.sip"
#include <qnetworkrequest.h>
#line 13536 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 13539 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"


PyDoc_STRVAR(doc_QMediaResource_isNull, "QMediaResource.isNull() -> 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, "QMediaResource.url() -> 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, "QMediaResource.request() -> 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, "QMediaResource.mimeType() -> 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, "QMediaResource.language() -> 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, "QMediaResource.setLanguage(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, "QMediaResource.audioCodec() -> 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, "QMediaResource.setAudioCodec(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, "QMediaResource.videoCodec() -> 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, "QMediaResource.setVideoCodec(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, "QMediaResource.dataSize() -> 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, "QMediaResource.setDataSize(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, "QMediaResource.audioBitRate() -> 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, "QMediaResource.setAudioBitRate(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, "QMediaResource.sampleRate() -> 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, "QMediaResource.setSampleRate(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, "QMediaResource.channelCount() -> 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, "QMediaResource.setChannelCount(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, "QMediaResource.videoBitRate() -> 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, "QMediaResource.setVideoBitRate(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, "QMediaResource.resolution() -> 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, "QMediaResource.setResolution(QSize)\n"
    "QMediaResource.setResolution(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);
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(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, str mimeType=QString())\n"
    "QMediaResource(QNetworkRequest, str mimeType=QString())\n"
    "QMediaResource(QMediaResource)");


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QMediaResource = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMediaResource,
        {0}
    },
    {
        sipNameNr_QMediaResource,
        {0, 0, 1},
        22, methods_QMediaResource,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMediaResource,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QMediaResource,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaplaylist.sip"
#include <qmediaplaylist.h>
#line 14436 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 14440 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaobject.sip"
#include <qmediaobject.h>
#line 14443 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediacontent.sip"
#include <qmediacontent.h>
#line 14446 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 14449 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 100 "sip/QtCore/qurl.sip"
#include <qurl.h>
#line 14452 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 14455 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtNetwork/qnetworkrequest.sip"
#include <qnetworkrequest.h>
#line 14458 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 14461 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 14464 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14467 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14470 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14473 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 14476 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 14479 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 14482 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 14485 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14488 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 14491 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14494 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 14497 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 14500 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 14503 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    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:
    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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQMediaPlaylist::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf,sipType_QMediaPlaylist);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    return sipVH_QtMultimedia_2(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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, "QMediaPlaylist.sender() -> 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 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 14829 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QMediaPlaylist.receivers(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 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 14888 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QMediaPlaylist.timerEvent(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 || sipIsDerived((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, "QMediaPlaylist.childEvent(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 || sipIsDerived((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, "QMediaPlaylist.customEvent(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 || sipIsDerived((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, "QMediaPlaylist.connectNotify(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 || sipIsDerived((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, "QMediaPlaylist.disconnectNotify(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 || sipIsDerived((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, "QMediaPlaylist.senderSignalIndex() -> 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, "QMediaPlaylist.isSignalConnected(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, "QMediaPlaylist.mediaObject() -> 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 || sipIsDerived((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, "QMediaPlaylist.playbackMode() -> 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, "QMediaPlaylist.setPlaybackMode(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, "QMediaPlaylist.currentIndex() -> 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, "QMediaPlaylist.currentMedia() -> 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, "QMediaPlaylist.nextIndex(int steps=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, "QMediaPlaylist.previousIndex(int steps=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, "QMediaPlaylist.media(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, "QMediaPlaylist.mediaCount() -> 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, "QMediaPlaylist.isEmpty() -> 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, "QMediaPlaylist.isReadOnly() -> 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, "QMediaPlaylist.addMedia(QMediaContent) -> bool\n"
    "QMediaPlaylist.addMedia(list-of-QMediaContent) -> 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, "QMediaPlaylist.insertMedia(int, QMediaContent) -> bool\n"
    "QMediaPlaylist.insertMedia(int, list-of-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, "QMediaPlaylist.removeMedia(int) -> bool\n"
    "QMediaPlaylist.removeMedia(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, "QMediaPlaylist.clear() -> 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, "QMediaPlaylist.load(QNetworkRequest, str format=None)\n"
    "QMediaPlaylist.load(QUrl, str format=None)\n"
    "QMediaPlaylist.load(QIODevice, str format=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;
        PyObject *a1Keep = 0;
        QMediaPlaylist *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|AA", &sipSelf, sipType_QMediaPlaylist, &sipCpp, sipType_QNetworkRequest, &a0, &a1Keep, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->load(*a0,a1);
            Py_END_ALLOW_THREADS
            Py_XDECREF(a1Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QUrl* a0;
        const char* a1 = 0;
        PyObject *a1Keep = 0;
        QMediaPlaylist *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|AA", &sipSelf, sipType_QMediaPlaylist, &sipCpp, sipType_QUrl, &a0, &a1Keep, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->load(*a0,a1);
            Py_END_ALLOW_THREADS
            Py_XDECREF(a1Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QIODevice* a0;
        const char* a1 = 0;
        PyObject *a1Keep = 0;
        QMediaPlaylist *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8|AA", &sipSelf, sipType_QMediaPlaylist, &sipCpp, sipType_QIODevice, &a0, &a1Keep, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->load(a0,a1);
            Py_END_ALLOW_THREADS
            Py_XDECREF(a1Keep);

            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, "QMediaPlaylist.save(QUrl, str format=None) -> bool\n"
    "QMediaPlaylist.save(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;
        PyObject *a1Keep = 0;
        QMediaPlaylist *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|AA", &sipSelf, sipType_QMediaPlaylist, &sipCpp, sipType_QUrl, &a0, &a1Keep, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->save(*a0,a1);
            Py_END_ALLOW_THREADS
            Py_XDECREF(a1Keep);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        QIODevice* a0;
        const char* a1;
        PyObject *a1Keep;
        QMediaPlaylist *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8AA", &sipSelf, sipType_QMediaPlaylist, &sipCpp, sipType_QIODevice, &a0, &a1Keep, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->save(a0,a1);
            Py_END_ALLOW_THREADS
            Py_DECREF(a1Keep);

            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, "QMediaPlaylist.error() -> 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, "QMediaPlaylist.errorString() -> 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_shuffle, "QMediaPlaylist.shuffle()");

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, "QMediaPlaylist.next()");

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, "QMediaPlaylist.previous()");

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

    if (targetType == sipType_QMediaPlaylist)
        return ptr;

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

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

    return NULL;
}


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

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


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[] = {{162, 0, 0}, {63, 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_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), 75},
    {sipName_CurrentItemInLoop, static_cast<int>(QMediaPlaylist::CurrentItemInLoop), 76},
    {sipName_CurrentItemOnce, static_cast<int>(QMediaPlaylist::CurrentItemOnce), 76},
    {sipName_FormatError, static_cast<int>(QMediaPlaylist::FormatError), 75},
    {sipName_FormatNotSupportedError, static_cast<int>(QMediaPlaylist::FormatNotSupportedError), 75},
    {sipName_Loop, static_cast<int>(QMediaPlaylist::Loop), 76},
    {sipName_NetworkError, static_cast<int>(QMediaPlaylist::NetworkError), 75},
    {sipName_NoError, static_cast<int>(QMediaPlaylist::NoError), 75},
    {sipName_Random, static_cast<int>(QMediaPlaylist::Random), 76},
    {sipName_Sequential, static_cast<int>(QMediaPlaylist::Sequential), 76},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QMediaPlaylist[] = {
    {"loadFailed()", "\1QMediaPlaylist.loadFailed", 0, 0},
    {"loaded()", "\1QMediaPlaylist.loaded", 0, 0},
    {"mediaChanged(int,int)", "\1QMediaPlaylist.mediaChanged[int, int]", 0, 0},
    {"mediaRemoved(int,int)", "\1QMediaPlaylist.mediaRemoved[int, int]", 0, 0},
    {"mediaAboutToBeRemoved(int,int)", "\1QMediaPlaylist.mediaAboutToBeRemoved[int, int]", 0, 0},
    {"mediaInserted(int,int)", "\1QMediaPlaylist.mediaInserted[int, int]", 0, 0},
    {"mediaAboutToBeInserted(int,int)", "\1QMediaPlaylist.mediaAboutToBeInserted[int, int]", 0, 0},
    {"currentMediaChanged(QMediaContent)", "\1QMediaPlaylist.currentMediaChanged[QMediaContent]", 0, 0},
    {"playbackModeChanged(QMediaPlaylist::PlaybackMode)", "\1QMediaPlaylist.playbackModeChanged[QMediaPlaylist.PlaybackMode]", 0, 0},
    {"currentIndexChanged(int)", "\1QMediaPlaylist.currentIndexChanged[int]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QMediaPlaylist, "\1QMediaPlaylist(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QMediaPlaylist = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMediaPlaylist,
        {0}
    },
    {
        sipNameNr_QMediaPlaylist,
        {0, 0, 1},
        33, 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
},
    &QMediaPlaylist::staticMetaObject,
    0,
    signals_QMediaPlaylist,
    0
};

#line 29 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaplayer.sip"
#include <qmediaplayer.h>
#line 16107 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaplayer.sip"
#include <qmediaplayer.h>
#line 16111 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"


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

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

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

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

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

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

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

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

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

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

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

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

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

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

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QMediaPlayer::Flags(*a0 | a1);
#line 16348 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
            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___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;
}


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;

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

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

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

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

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

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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


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

    return NULL;
}


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

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

    {
        int a0;

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

            return sipCpp;
        }
    }

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

            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 124 "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 16625 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QMediaPlayer_Flags[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_QMediaPlayer_Flags___and__, and_slot},
    {(void *)slot_QMediaPlayer_Flags___xor__, xor_slot},
    {(void *)slot_QMediaPlayer_Flags___or__, or_slot},
    {(void *)slot_QMediaPlayer_Flags___int__, int_slot},
    {(void *)slot_QMediaPlayer_Flags___ixor__, ixor_slot},
    {(void *)slot_QMediaPlayer_Flags___ior__, ior_slot},
    {(void *)slot_QMediaPlayer_Flags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QMediaPlayer_Flags, "\1QMediaPlayer.Flags(QMediaPlayer.Flags)\n"
    "QMediaPlayer.Flags(int)\n"
    "QMediaPlayer.Flags()");


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QMediaPlayer_Flags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMediaPlayer__Flags,
        {0}
    },
    {
        sipNameNr_Flags,
        {68, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMediaPlayer_Flags,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QMediaPlayer_Flags,
    convertTo_QMediaPlayer_Flags,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 29 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaplayer.sip"
#include <qmediaplayer.h>
#line 16707 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 16711 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 29 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaplayer.sip"
#include <qmediaplayer.h>
#line 16714 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtNetwork/qnetworkconfiguration.sip"
#include <qnetworkconfiguration.h>
#line 16717 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediacontent.sip"
#include <qmediacontent.h>
#line 16720 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 16723 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaplaylist.sip"
#include <qmediaplaylist.h>
#line 16726 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 16729 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmultimedia.sip"
#include <qmultimedia.h>
#line 16732 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 16735 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qabstractvideosurface.sip"
#include <qabstractvideosurface.h>
#line 16738 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 34 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 16741 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 16744 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 16747 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaservice.sip"
#include <qmediaservice.h>
#line 16750 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 16753 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16756 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16759 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16762 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 16765 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 16768 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 16771 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 16774 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 16777 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 16780 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 16783 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 16786 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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*);
    QMediaService* service() const;
    bool isAvailable() const;
    void unbind(QObject*);
    bool bind(QObject*);
    QMultimedia::AvailabilityStatus availability() const;

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

const QMetaObject *sipQMediaPlayer::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf,sipType_QMediaPlayer);
}

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

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

    ((sipVH_QtCore_46)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], 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;
    }

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

    ((sipVH_QtCore_46)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], 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;
    }

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

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

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

    ((sipVH_QtCore_47)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], 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;
    }

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

    ((sipVH_QtCore_9)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], 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);

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

    return ((sipVH_QtCore_26)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], 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);

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

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

QMediaService* sipQMediaPlayer::service() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QMediaPlayer::service();

    extern QMediaService* sipVH_QtMultimedia_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtMultimedia_6(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQMediaPlayer::isAvailable() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QMediaPlayer::isAvailable();

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

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

void sipQMediaPlayer::unbind(QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QMediaPlayer::unbind(a0);
        return;
    }

    extern void sipVH_QtMultimedia_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*);

    sipVH_QtMultimedia_5(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

    return ((sipVH_QtCore_63)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[63]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QMultimedia::AvailabilityStatus sipQMediaPlayer::availability() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QMediaPlayer::availability();

    extern QMultimedia::AvailabilityStatus sipVH_QtMultimedia_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtMultimedia_0(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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

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, "QMediaPlayer.removePropertyWatch(QByteArray)");

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, "QMediaPlayer.hasSupport(str, list-of-str codecs=QStringList(), QMediaPlayer.Flags flags=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, "QMediaPlayer.supportedMimeTypes(QMediaPlayer.Flags flags=0) -> list-of-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, "QMediaPlayer.setVideoOutput(QVideoWidget)\n"
    "QMediaPlayer.setVideoOutput(QGraphicsVideoItem)\n"
    "QMediaPlayer.setVideoOutput(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, "QMediaPlayer.media() -> 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, "QMediaPlayer.mediaStream() -> 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, "QMediaPlayer.playlist() -> 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, "QMediaPlayer.currentMedia() -> 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, "QMediaPlayer.state() -> 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, "QMediaPlayer.mediaStatus() -> 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, "QMediaPlayer.duration() -> 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, "QMediaPlayer.position() -> 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, "QMediaPlayer.volume() -> 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, "QMediaPlayer.isMuted() -> 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, "QMediaPlayer.isAudioAvailable() -> 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, "QMediaPlayer.isVideoAvailable() -> 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, "QMediaPlayer.bufferStatus() -> 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, "QMediaPlayer.isSeekable() -> 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, "QMediaPlayer.playbackRate() -> 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, "QMediaPlayer.error() -> 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, "QMediaPlayer.errorString() -> 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, "QMediaPlayer.currentNetworkConfiguration() -> 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, "QMediaPlayer.availability() -> 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 || sipIsDerived((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, "QMediaPlayer.play()");

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, "QMediaPlayer.pause()");

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, "QMediaPlayer.stop()");

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, "QMediaPlayer.setPosition(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, "QMediaPlayer.setVolume(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, "QMediaPlayer.setMuted(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, "QMediaPlayer.setPlaybackRate(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, "QMediaPlayer.setMedia(QMediaContent, QIODevice stream=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, "QMediaPlayer.setPlaylist(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, "QMediaPlayer.setNetworkConfigurations(list-of-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, "QMediaPlayer.bind(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 || sipIsDerived((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, "QMediaPlayer.unbind(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 || sipIsDerived((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;
}


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

    if (targetType == sipType_QMediaPlayer)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QMediaObject)->ctd_cast((QMediaObject *)(QMediaPlayer *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

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


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


static PyMethodDef methods_QMediaPlayer[] = {
    {SIP_MLNAME_CAST(sipName_addPropertyWatch), (PyCFunction)meth_QMediaPlayer_addPropertyWatch, METH_VARARGS|METH_KEYWORDS, NULL},
    {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_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_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), 69},
    {sipName_BufferedMedia, static_cast<int>(QMediaPlayer::BufferedMedia), 72},
    {sipName_BufferingMedia, static_cast<int>(QMediaPlayer::BufferingMedia), 72},
    {sipName_EndOfMedia, static_cast<int>(QMediaPlayer::EndOfMedia), 72},
    {sipName_FormatError, static_cast<int>(QMediaPlayer::FormatError), 69},
    {sipName_InvalidMedia, static_cast<int>(QMediaPlayer::InvalidMedia), 72},
    {sipName_LoadedMedia, static_cast<int>(QMediaPlayer::LoadedMedia), 72},
    {sipName_LoadingMedia, static_cast<int>(QMediaPlayer::LoadingMedia), 72},
    {sipName_LowLatency, static_cast<int>(QMediaPlayer::LowLatency), 70},
    {sipName_NetworkError, static_cast<int>(QMediaPlayer::NetworkError), 69},
    {sipName_NoError, static_cast<int>(QMediaPlayer::NoError), 69},
    {sipName_NoMedia, static_cast<int>(QMediaPlayer::NoMedia), 72},
    {sipName_PausedState, static_cast<int>(QMediaPlayer::PausedState), 73},
    {sipName_PlayingState, static_cast<int>(QMediaPlayer::PlayingState), 73},
    {sipName_ResourceError, static_cast<int>(QMediaPlayer::ResourceError), 69},
    {sipName_ServiceMissingError, static_cast<int>(QMediaPlayer::ServiceMissingError), 69},
    {sipName_StalledMedia, static_cast<int>(QMediaPlayer::StalledMedia), 72},
    {sipName_StoppedState, static_cast<int>(QMediaPlayer::StoppedState), 73},
    {sipName_StreamPlayback, static_cast<int>(QMediaPlayer::StreamPlayback), 70},
    {sipName_UnknownMediaStatus, static_cast<int>(QMediaPlayer::UnknownMediaStatus), 72},
    {sipName_VideoSurface, static_cast<int>(QMediaPlayer::VideoSurface), 70},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QMediaPlayer[] = {
    {"networkConfigurationChanged(QNetworkConfiguration)", "\1QMediaPlayer.networkConfigurationChanged[QNetworkConfiguration]", 0, 0},
    {"playbackRateChanged(qreal)", "\1QMediaPlayer.playbackRateChanged[float]", 0, 0},
    {"seekableChanged(bool)", "\1QMediaPlayer.seekableChanged[bool]", 0, 0},
    {"bufferStatusChanged(int)", "\1QMediaPlayer.bufferStatusChanged[int]", 0, 0},
    {"videoAvailableChanged(bool)", "\1QMediaPlayer.videoAvailableChanged[bool]", 0, 0},
    {"audioAvailableChanged(bool)", "\1QMediaPlayer.audioAvailableChanged[bool]", 0, 0},
    {"mutedChanged(bool)", "\1QMediaPlayer.mutedChanged[bool]", 0, 0},
    {"volumeChanged(int)", "\1QMediaPlayer.volumeChanged[int]", 0, 0},
    {"positionChanged(qint64)", "\1QMediaPlayer.positionChanged[int]", 0, 0},
    {"durationChanged(qint64)", "\1QMediaPlayer.durationChanged[int]", 0, 0},
    {"mediaStatusChanged(QMediaPlayer::MediaStatus)", "\1QMediaPlayer.mediaStatusChanged[QMediaPlayer.MediaStatus]", 0, 0},
    {"stateChanged(QMediaPlayer::State)", "\1QMediaPlayer.stateChanged[QMediaPlayer.State]", 0, 0},
    {"currentMediaChanged(QMediaContent)", "\1QMediaPlayer.currentMediaChanged[QMediaContent]", 0, 0},
    {"mediaChanged(QMediaContent)", "\1QMediaPlayer.mediaChanged[QMediaContent]", 0, 0},
    {"error(QMediaPlayer::Error)", "\1QMediaPlayer.error[QMediaPlayer.Error]", &methods_QMediaPlayer[11], 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QMediaPlayer, "\1QMediaPlayer(QObject parent=None, QMediaPlayer.Flags flags=0)");


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QMediaPlayer = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMediaPlayer,
        {0}
    },
    {
        sipNameNr_QMediaPlayer,
        {0, 0, 1},
        45, 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
},
    &QMediaPlayer::staticMetaObject,
    0,
    signals_QMediaPlayer,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediametadata.sip"
#include <qmediametadata.h>
#line 18710 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 18714 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"


extern "C" {static PyObject *varget_QMediaMetaData_AlbumArtist(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_AlbumArtist(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::AlbumArtist);

    sipPy = sipGetReference(sipPySelf, -1);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -1, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_AlbumTitle(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_AlbumTitle(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::AlbumTitle);

    sipPy = sipGetReference(sipPySelf, -2);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -2, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_AudioBitRate(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_AudioBitRate(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::AudioBitRate);

    sipPy = sipGetReference(sipPySelf, -3);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -3, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_AudioCodec(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_AudioCodec(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::AudioCodec);

    sipPy = sipGetReference(sipPySelf, -4);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -4, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_Author(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Author(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::Author);

    sipPy = sipGetReference(sipPySelf, -5);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -5, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_AverageLevel(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_AverageLevel(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::AverageLevel);

    sipPy = sipGetReference(sipPySelf, -6);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -6, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_CameraManufacturer(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_CameraManufacturer(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::CameraManufacturer);

    sipPy = sipGetReference(sipPySelf, -7);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -7, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_CameraModel(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_CameraModel(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::CameraModel);

    sipPy = sipGetReference(sipPySelf, -8);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -8, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_Category(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Category(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::Category);

    sipPy = sipGetReference(sipPySelf, -9);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -9, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_ChannelCount(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_ChannelCount(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::ChannelCount);

    sipPy = sipGetReference(sipPySelf, -10);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -10, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_ChapterNumber(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_ChapterNumber(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::ChapterNumber);

    sipPy = sipGetReference(sipPySelf, -11);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -11, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_Comment(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Comment(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::Comment);

    sipPy = sipGetReference(sipPySelf, -12);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -12, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_Composer(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Composer(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::Composer);

    sipPy = sipGetReference(sipPySelf, -13);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -13, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_Conductor(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Conductor(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::Conductor);

    sipPy = sipGetReference(sipPySelf, -14);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -14, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_Contrast(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Contrast(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::Contrast);

    sipPy = sipGetReference(sipPySelf, -15);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -15, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_ContributingArtist(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_ContributingArtist(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::ContributingArtist);

    sipPy = sipGetReference(sipPySelf, -16);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -16, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_Copyright(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Copyright(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::Copyright);

    sipPy = sipGetReference(sipPySelf, -17);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -17, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_CoverArtImage(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_CoverArtImage(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::CoverArtImage);

    sipPy = sipGetReference(sipPySelf, -18);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -18, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_CoverArtUrlLarge(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_CoverArtUrlLarge(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::CoverArtUrlLarge);

    sipPy = sipGetReference(sipPySelf, -19);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -19, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_CoverArtUrlSmall(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_CoverArtUrlSmall(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::CoverArtUrlSmall);

    sipPy = sipGetReference(sipPySelf, -20);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -20, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_Date(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Date(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::Date);

    sipPy = sipGetReference(sipPySelf, -21);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -21, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_DateTimeDigitized(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_DateTimeDigitized(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::DateTimeDigitized);

    sipPy = sipGetReference(sipPySelf, -22);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -22, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_DateTimeOriginal(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_DateTimeOriginal(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::DateTimeOriginal);

    sipPy = sipGetReference(sipPySelf, -23);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -23, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_Description(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Description(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::Description);

    sipPy = sipGetReference(sipPySelf, -24);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -24, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_DeviceSettingDescription(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_DeviceSettingDescription(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::DeviceSettingDescription);

    sipPy = sipGetReference(sipPySelf, -25);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -25, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_DigitalZoomRatio(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_DigitalZoomRatio(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::DigitalZoomRatio);

    sipPy = sipGetReference(sipPySelf, -26);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -26, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_Director(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Director(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::Director);

    sipPy = sipGetReference(sipPySelf, -27);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -27, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_Duration(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Duration(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::Duration);

    sipPy = sipGetReference(sipPySelf, -28);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -28, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_Event(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Event(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::Event);

    sipPy = sipGetReference(sipPySelf, -29);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -29, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_ExposureBiasValue(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_ExposureBiasValue(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::ExposureBiasValue);

    sipPy = sipGetReference(sipPySelf, -30);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -30, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_ExposureMode(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_ExposureMode(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::ExposureMode);

    sipPy = sipGetReference(sipPySelf, -31);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -31, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_ExposureProgram(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_ExposureProgram(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::ExposureProgram);

    sipPy = sipGetReference(sipPySelf, -32);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -32, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_ExposureTime(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_ExposureTime(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::ExposureTime);

    sipPy = sipGetReference(sipPySelf, -33);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -33, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_FNumber(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_FNumber(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::FNumber);

    sipPy = sipGetReference(sipPySelf, -34);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -34, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_Flash(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Flash(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::Flash);

    sipPy = sipGetReference(sipPySelf, -35);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -35, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_FocalLength(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_FocalLength(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::FocalLength);

    sipPy = sipGetReference(sipPySelf, -36);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -36, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_FocalLengthIn35mmFilm(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_FocalLengthIn35mmFilm(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::FocalLengthIn35mmFilm);

    sipPy = sipGetReference(sipPySelf, -37);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -37, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_GPSAltitude(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_GPSAltitude(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::GPSAltitude);

    sipPy = sipGetReference(sipPySelf, -38);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -38, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_GPSAreaInformation(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_GPSAreaInformation(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::GPSAreaInformation);

    sipPy = sipGetReference(sipPySelf, -39);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -39, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_GPSDOP(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_GPSDOP(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::GPSDOP);

    sipPy = sipGetReference(sipPySelf, -40);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -40, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_GPSImgDirection(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_GPSImgDirection(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::GPSImgDirection);

    sipPy = sipGetReference(sipPySelf, -41);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -41, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_GPSImgDirectionRef(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_GPSImgDirectionRef(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::GPSImgDirectionRef);

    sipPy = sipGetReference(sipPySelf, -42);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -42, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_GPSLatitude(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_GPSLatitude(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::GPSLatitude);

    sipPy = sipGetReference(sipPySelf, -43);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -43, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_GPSLongitude(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_GPSLongitude(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::GPSLongitude);

    sipPy = sipGetReference(sipPySelf, -44);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -44, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_GPSMapDatum(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_GPSMapDatum(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::GPSMapDatum);

    sipPy = sipGetReference(sipPySelf, -45);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -45, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_GPSProcessingMethod(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_GPSProcessingMethod(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::GPSProcessingMethod);

    sipPy = sipGetReference(sipPySelf, -46);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -46, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_GPSSatellites(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_GPSSatellites(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::GPSSatellites);

    sipPy = sipGetReference(sipPySelf, -47);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -47, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_GPSSpeed(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_GPSSpeed(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::GPSSpeed);

    sipPy = sipGetReference(sipPySelf, -48);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -48, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_GPSStatus(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_GPSStatus(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::GPSStatus);

    sipPy = sipGetReference(sipPySelf, -49);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -49, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_GPSTimeStamp(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_GPSTimeStamp(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::GPSTimeStamp);

    sipPy = sipGetReference(sipPySelf, -50);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -50, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_GPSTrack(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_GPSTrack(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::GPSTrack);

    sipPy = sipGetReference(sipPySelf, -51);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -51, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_GPSTrackRef(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_GPSTrackRef(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::GPSTrackRef);

    sipPy = sipGetReference(sipPySelf, -52);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -52, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_GainControl(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_GainControl(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::GainControl);

    sipPy = sipGetReference(sipPySelf, -53);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -53, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_Genre(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Genre(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::Genre);

    sipPy = sipGetReference(sipPySelf, -54);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -54, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_ISOSpeedRatings(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_ISOSpeedRatings(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::ISOSpeedRatings);

    sipPy = sipGetReference(sipPySelf, -55);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -55, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_Keywords(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Keywords(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::Keywords);

    sipPy = sipGetReference(sipPySelf, -56);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -56, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_Language(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Language(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::Language);

    sipPy = sipGetReference(sipPySelf, -57);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -57, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_LeadPerformer(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_LeadPerformer(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::LeadPerformer);

    sipPy = sipGetReference(sipPySelf, -58);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -58, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_LightSource(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_LightSource(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::LightSource);

    sipPy = sipGetReference(sipPySelf, -59);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -59, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_Lyrics(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Lyrics(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::Lyrics);

    sipPy = sipGetReference(sipPySelf, -60);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -60, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_MediaType(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_MediaType(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::MediaType);

    sipPy = sipGetReference(sipPySelf, -61);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -61, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_MeteringMode(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_MeteringMode(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::MeteringMode);

    sipPy = sipGetReference(sipPySelf, -62);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -62, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_Mood(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Mood(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::Mood);

    sipPy = sipGetReference(sipPySelf, -63);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -63, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_Orientation(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Orientation(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::Orientation);

    sipPy = sipGetReference(sipPySelf, -64);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -64, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_ParentalRating(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_ParentalRating(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::ParentalRating);

    sipPy = sipGetReference(sipPySelf, -65);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -65, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_PeakValue(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_PeakValue(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::PeakValue);

    sipPy = sipGetReference(sipPySelf, -66);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -66, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_PixelAspectRatio(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_PixelAspectRatio(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::PixelAspectRatio);

    sipPy = sipGetReference(sipPySelf, -67);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -67, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_PosterImage(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_PosterImage(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::PosterImage);

    sipPy = sipGetReference(sipPySelf, -68);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -68, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_PosterUrl(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_PosterUrl(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::PosterUrl);

    sipPy = sipGetReference(sipPySelf, -69);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -69, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_Publisher(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Publisher(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::Publisher);

    sipPy = sipGetReference(sipPySelf, -70);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -70, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_RatingOrganization(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_RatingOrganization(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::RatingOrganization);

    sipPy = sipGetReference(sipPySelf, -71);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -71, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_Resolution(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Resolution(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::Resolution);

    sipPy = sipGetReference(sipPySelf, -72);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -72, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_SampleRate(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_SampleRate(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::SampleRate);

    sipPy = sipGetReference(sipPySelf, -73);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -73, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_Saturation(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Saturation(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::Saturation);

    sipPy = sipGetReference(sipPySelf, -74);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -74, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_SceneCaptureType(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_SceneCaptureType(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::SceneCaptureType);

    sipPy = sipGetReference(sipPySelf, -75);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -75, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_Sharpness(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Sharpness(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::Sharpness);

    sipPy = sipGetReference(sipPySelf, -76);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -76, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_Size(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Size(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::Size);

    sipPy = sipGetReference(sipPySelf, -77);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -77, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_SubTitle(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_SubTitle(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::SubTitle);

    sipPy = sipGetReference(sipPySelf, -78);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -78, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_Subject(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Subject(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::Subject);

    sipPy = sipGetReference(sipPySelf, -79);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -79, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_SubjectDistance(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_SubjectDistance(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::SubjectDistance);

    sipPy = sipGetReference(sipPySelf, -80);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -80, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_ThumbnailImage(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_ThumbnailImage(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::ThumbnailImage);

    sipPy = sipGetReference(sipPySelf, -81);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -81, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_Title(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Title(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::Title);

    sipPy = sipGetReference(sipPySelf, -82);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -82, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_TrackCount(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_TrackCount(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::TrackCount);

    sipPy = sipGetReference(sipPySelf, -83);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -83, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_TrackNumber(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_TrackNumber(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::TrackNumber);

    sipPy = sipGetReference(sipPySelf, -84);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -84, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_UserRating(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_UserRating(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::UserRating);

    sipPy = sipGetReference(sipPySelf, -85);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -85, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_VideoBitRate(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_VideoBitRate(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::VideoBitRate);

    sipPy = sipGetReference(sipPySelf, -86);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -86, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_VideoCodec(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_VideoCodec(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::VideoCodec);

    sipPy = sipGetReference(sipPySelf, -87);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -87, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_VideoFrameRate(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_VideoFrameRate(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::VideoFrameRate);

    sipPy = sipGetReference(sipPySelf, -88);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -88, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_WhiteBalance(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_WhiteBalance(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::WhiteBalance);

    sipPy = sipGetReference(sipPySelf, -89);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -89, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_Writer(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Writer(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::Writer);

    sipPy = sipGetReference(sipPySelf, -90);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -90, sipPy);

    return sipPy;
}


extern "C" {static PyObject *varget_QMediaMetaData_Year(void *, PyObject *, PyObject *);}
static PyObject *varget_QMediaMetaData_Year(void *, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const QString*sipVal;
    sipVal = new QString(QMediaMetaData::Year);

    sipPy = sipGetReference(sipPySelf, -91);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromNewType(const_cast<QString *>(sipVal), sipType_QString, NULL);
    sipKeepReference(sipPySelf, -91, sipPy);

    return sipPy;
}

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


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QMediaMetaData = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_NAMESPACE,
        sipNameNr_QMediaMetaData,
        {0}
    },
    {
        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
},
    0,
    0,
    0,
    0
};

#line 89 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaencodersettings.sip"
#include <qmediaencodersettings.h>
#line 20505 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 20509 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 20512 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 20515 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmultimedia.sip"
#include <qmultimedia.h>
#line 20518 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 20521 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"


PyDoc_STRVAR(doc_QImageEncoderSettings_isNull, "QImageEncoderSettings.isNull() -> 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, "QImageEncoderSettings.codec() -> 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, "QImageEncoderSettings.setCodec(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, "QImageEncoderSettings.resolution() -> 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, "QImageEncoderSettings.setResolution(QSize)\n"
    "QImageEncoderSettings.setResolution(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, "QImageEncoderSettings.quality() -> 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, "QImageEncoderSettings.setQuality(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, "QImageEncoderSettings.encodingOption(str) -> QVariant");

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, "QImageEncoderSettings.encodingOptions() -> dict-of-str-object");

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, "QImageEncoderSettings.setEncodingOption(str, QVariant)");

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, "QImageEncoderSettings.setEncodingOptions(dict-of-str-object)");

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


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

    return NULL;
}


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


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QImageEncoderSettings = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QImageEncoderSettings,
        {0}
    },
    {
        sipNameNr_QImageEncoderSettings,
        {0, 0, 1},
        11, methods_QImageEncoderSettings,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QImageEncoderSettings,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QImageEncoderSettings,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 57 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaencodersettings.sip"
#include <qmediaencodersettings.h>
#line 21074 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 21078 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 21081 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 21084 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmultimedia.sip"
#include <qmultimedia.h>
#line 21087 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 21090 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"


PyDoc_STRVAR(doc_QVideoEncoderSettings_isNull, "QVideoEncoderSettings.isNull() -> 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, "QVideoEncoderSettings.encodingMode() -> 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, "QVideoEncoderSettings.setEncodingMode(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, "QVideoEncoderSettings.codec() -> 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, "QVideoEncoderSettings.setCodec(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, "QVideoEncoderSettings.resolution() -> 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, "QVideoEncoderSettings.setResolution(QSize)\n"
    "QVideoEncoderSettings.setResolution(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, "QVideoEncoderSettings.frameRate() -> 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, "QVideoEncoderSettings.setFrameRate(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, "QVideoEncoderSettings.bitRate() -> 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, "QVideoEncoderSettings.setBitRate(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, "QVideoEncoderSettings.quality() -> 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, "QVideoEncoderSettings.setQuality(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, "QVideoEncoderSettings.encodingOption(str) -> QVariant");

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, "QVideoEncoderSettings.encodingOptions() -> dict-of-str-object");

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, "QVideoEncoderSettings.setEncodingOption(str, QVariant)");

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, "QVideoEncoderSettings.setEncodingOptions(dict-of-str-object)");

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


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

    return NULL;
}


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


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QVideoEncoderSettings = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QVideoEncoderSettings,
        {0}
    },
    {
        sipNameNr_QVideoEncoderSettings,
        {0, 0, 1},
        17, methods_QVideoEncoderSettings,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QVideoEncoderSettings,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QVideoEncoderSettings,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaencodersettings.sip"
#include <qmediaencodersettings.h>
#line 21811 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 21815 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 21818 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 21821 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmultimedia.sip"
#include <qmultimedia.h>
#line 21824 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"


PyDoc_STRVAR(doc_QAudioEncoderSettings_isNull, "QAudioEncoderSettings.isNull() -> 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, "QAudioEncoderSettings.encodingMode() -> 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, "QAudioEncoderSettings.setEncodingMode(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, "QAudioEncoderSettings.codec() -> 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, "QAudioEncoderSettings.setCodec(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, "QAudioEncoderSettings.bitRate() -> 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, "QAudioEncoderSettings.setBitRate(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, "QAudioEncoderSettings.channelCount() -> 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, "QAudioEncoderSettings.setChannelCount(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, "QAudioEncoderSettings.sampleRate() -> 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, "QAudioEncoderSettings.setSampleRate(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, "QAudioEncoderSettings.quality() -> 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, "QAudioEncoderSettings.setQuality(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, "QAudioEncoderSettings.encodingOption(str) -> QVariant");

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, "QAudioEncoderSettings.encodingOptions() -> dict-of-str-object");

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, "QAudioEncoderSettings.setEncodingOption(str, QVariant)");

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, "QAudioEncoderSettings.setEncodingOptions(dict-of-str-object)");

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


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

    return NULL;
}


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


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QAudioEncoderSettings = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QAudioEncoderSettings,
        {0}
    },
    {
        sipNameNr_QAudioEncoderSettings,
        {0, 0, 1},
        17, methods_QAudioEncoderSettings,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAudioEncoderSettings,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QAudioEncoderSettings,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediacontrol.sip"
#include <qmediacontrol.h>
#line 22530 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 22534 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 22537 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22540 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22543 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 22549 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 22552 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 22555 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 22558 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 22561 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22564 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 22567 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22570 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 22573 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 22576 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 22579 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

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

const QMetaObject *sipQMediaControl::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf,sipType_QMediaControl);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (targetType == sipType_QMediaControl)
        return ptr;

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

    return NULL;
}


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

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


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[] = {{162, 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(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QMediaControl = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMediaControl,
        {0}
    },
    {
        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
},
    &QMediaControl::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediacontent.sip"
#include <qmediacontent.h>
#line 23286 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 100 "sip/QtCore/qurl.sip"
#include <qurl.h>
#line 23290 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtNetwork/qnetworkrequest.sip"
#include <qnetworkrequest.h>
#line 23293 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaresource.sip"
#include <qmediaresource.h>
#line 23296 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 23299 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaplaylist.sip"
#include <qmediaplaylist.h>
#line 23302 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"


PyDoc_STRVAR(doc_QMediaContent_isNull, "QMediaContent.isNull() -> 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, "QMediaContent.canonicalUrl() -> 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, "QMediaContent.canonicalRequest() -> 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, "QMediaContent.canonicalResource() -> 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, "QMediaContent.resources() -> list-of-QMediaResource");

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, "QMediaContent.playlist() -> 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);
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(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(list-of-QMediaResource)\n"
    "QMediaContent(QMediaContent)\n"
    "QMediaContent(QMediaPlaylist, QUrl contentUrl=QUrl())");


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QMediaContent = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMediaContent,
        {0}
    },
    {
        sipNameNr_QMediaContent,
        {0, 0, 1},
        6, methods_QMediaContent,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMediaContent,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QMediaContent,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcamerainfo.sip"
#include <qcamerainfo.h>
#line 23757 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 23761 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcamera.sip"
#include <qcamera.h>
#line 23764 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 23767 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 23770 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"


PyDoc_STRVAR(doc_QCameraInfo_isNull, "QCameraInfo.isNull() -> 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, "QCameraInfo.deviceName() -> 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, "QCameraInfo.description() -> 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, "QCameraInfo.position() -> 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, "QCameraInfo.orientation() -> 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, "QCameraInfo.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, "QCameraInfo.availableCameras(QCamera.Position position=QCamera.UnspecifiedPosition) -> list-of-QCameraInfo");

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


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

    return NULL;
}


/* 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 (sipIsPyOwned(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(QByteArray name=QByteArray())\n"
    "QCameraInfo(QCamera)\n"
    "QCameraInfo(QCameraInfo)");


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QCameraInfo = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QCameraInfo,
        {0}
    },
    {
        sipNameNr_QCameraInfo,
        {0, 0, 1},
        7, methods_QCameraInfo,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QCameraInfo,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QCameraInfo,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcameraimageprocessing.sip"
#include <qcameraimageprocessing.h>
#line 24207 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcamera.sip"
#include <qcamera.h>
#line 24211 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 24214 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24217 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24220 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24223 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 24226 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 24229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 24232 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 24235 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 24238 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 24241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24244 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 24247 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24250 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 24253 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 24256 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 24259 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"


PyDoc_STRVAR(doc_QCameraImageProcessing_isAvailable, "QCameraImageProcessing.isAvailable() -> 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, "QCameraImageProcessing.whiteBalanceMode() -> 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, "QCameraImageProcessing.setWhiteBalanceMode(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, "QCameraImageProcessing.isWhiteBalanceModeSupported(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, "QCameraImageProcessing.manualWhiteBalance() -> 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, "QCameraImageProcessing.setManualWhiteBalance(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, "QCameraImageProcessing.contrast() -> 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, "QCameraImageProcessing.setContrast(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, "QCameraImageProcessing.saturation() -> 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, "QCameraImageProcessing.setSaturation(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, "QCameraImageProcessing.sharpeningLevel() -> 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, "QCameraImageProcessing.setSharpeningLevel(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, "QCameraImageProcessing.denoisingLevel() -> 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, "QCameraImageProcessing.setDenoisingLevel(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;
}


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

    if (targetType == sipType_QCameraImageProcessing)
        return ptr;

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

    return NULL;
}


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


static PyMethodDef methods_QCameraImageProcessing[] = {
    {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_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_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_WhiteBalanceAuto, static_cast<int>(QCameraImageProcessing::WhiteBalanceAuto), 50},
    {sipName_WhiteBalanceCloudy, static_cast<int>(QCameraImageProcessing::WhiteBalanceCloudy), 50},
    {sipName_WhiteBalanceFlash, static_cast<int>(QCameraImageProcessing::WhiteBalanceFlash), 50},
    {sipName_WhiteBalanceFluorescent, static_cast<int>(QCameraImageProcessing::WhiteBalanceFluorescent), 50},
    {sipName_WhiteBalanceManual, static_cast<int>(QCameraImageProcessing::WhiteBalanceManual), 50},
    {sipName_WhiteBalanceShade, static_cast<int>(QCameraImageProcessing::WhiteBalanceShade), 50},
    {sipName_WhiteBalanceSunlight, static_cast<int>(QCameraImageProcessing::WhiteBalanceSunlight), 50},
    {sipName_WhiteBalanceSunset, static_cast<int>(QCameraImageProcessing::WhiteBalanceSunset), 50},
    {sipName_WhiteBalanceTungsten, static_cast<int>(QCameraImageProcessing::WhiteBalanceTungsten), 50},
    {sipName_WhiteBalanceVendor, static_cast<int>(QCameraImageProcessing::WhiteBalanceVendor), 50},
};


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QCameraImageProcessing = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QCameraImageProcessing,
        {0}
    },
    {
        sipNameNr_QCameraImageProcessing,
        {0, 0, 1},
        14, methods_QCameraImageProcessing,
        10, 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
},
    &QCameraImageProcessing::staticMetaObject,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcameraimagecapture.sip"
#include <qcameraimagecapture.h>
#line 24755 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcameraimagecapture.sip"
#include <qcameraimagecapture.h>
#line 24759 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"


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 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QCameraImageCapture::CaptureDestinations::Int() != 0);
#line 24777 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QCameraImageCapture::CaptureDestinations::Int() != a0->operator QCameraImageCapture::CaptureDestinations::Int());
#line 24807 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QCameraImageCapture::CaptureDestinations::Int() == a0->operator QCameraImageCapture::CaptureDestinations::Int());
#line 24843 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_QCameraImageCapture_CaptureDestinations___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QCameraImageCapture::CaptureDestinations* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QCameraImageCapture_CaptureDestinations, &a0, &a0State, &a1))
        {
            QCameraImageCapture::CaptureDestinations*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QCameraImageCapture::CaptureDestinations(*a0 ^ a1);
#line 24946 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_QCameraImageCapture_CaptureDestinations___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QCameraImageCapture::CaptureDestinations* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QCameraImageCapture_CaptureDestinations, &a0, &a0State, &a1))
        {
            QCameraImageCapture::CaptureDestinations*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QCameraImageCapture::CaptureDestinations(*a0 | a1);
#line 24996 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
            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___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;
}


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;

    {
        QCameraImageCapture::CaptureDestinations* a0;
        int a0State = 0;

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

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
        QCameraImageCapture::CaptureDestinations* a0;
        int a0State = 0;

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

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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


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

    return NULL;
}


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

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

    {
        int a0;

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

            return sipCpp;
        }
    }

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

            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 124 "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 25273 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QCameraImageCapture_CaptureDestinations[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_QCameraImageCapture_CaptureDestinations___and__, and_slot},
    {(void *)slot_QCameraImageCapture_CaptureDestinations___xor__, xor_slot},
    {(void *)slot_QCameraImageCapture_CaptureDestinations___or__, or_slot},
    {(void *)slot_QCameraImageCapture_CaptureDestinations___int__, int_slot},
    {(void *)slot_QCameraImageCapture_CaptureDestinations___ixor__, ixor_slot},
    {(void *)slot_QCameraImageCapture_CaptureDestinations___ior__, ior_slot},
    {(void *)slot_QCameraImageCapture_CaptureDestinations___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QCameraImageCapture_CaptureDestinations, "\1QCameraImageCapture.CaptureDestinations(QCameraImageCapture.CaptureDestinations)\n"
    "QCameraImageCapture.CaptureDestinations(int)\n"
    "QCameraImageCapture.CaptureDestinations()");


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QCameraImageCapture_CaptureDestinations = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QCameraImageCapture__CaptureDestinations,
        {0}
    },
    {
        sipNameNr_CaptureDestinations,
        {44, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QCameraImageCapture_CaptureDestinations,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QCameraImageCapture_CaptureDestinations,
    convertTo_QCameraImageCapture_CaptureDestinations,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcameraimagecapture.sip"
#include <qcameraimagecapture.h>
#line 25355 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaobject.sip"
#include <qmediaobject.h>
#line 25359 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 25362 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 25365 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qvideoframe.sip"
#include <qvideoframe.h>
#line 25368 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 25371 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtGui/qimage.sip"
#include <qimage.h>
#line 25374 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcameraimagecapture.sip"
#include <qcameraimagecapture.h>
#line 25377 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qpymultimedia_qlist.sip"
#include <qvideoframe.h>
#line 25380 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 89 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaencodersettings.sip"
#include <qmediaencodersettings.h>
#line 25383 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 25386 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 25389 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 34 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 25392 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmultimedia.sip"
#include <qmultimedia.h>
#line 25395 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 25398 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 25401 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 25404 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 25407 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 25410 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 25413 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 25416 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 25419 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 25422 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 25425 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 25428 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 25431 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 25434 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    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:
    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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQCameraImageCapture::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf,sipType_QCameraImageCapture);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    return sipVH_QtMultimedia_2(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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, "QCameraImageCapture.sender() -> 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 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 25760 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QCameraImageCapture.receivers(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 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 25819 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QCameraImageCapture.timerEvent(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 || sipIsDerived((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, "QCameraImageCapture.childEvent(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 || sipIsDerived((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, "QCameraImageCapture.customEvent(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 || sipIsDerived((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, "QCameraImageCapture.connectNotify(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 || sipIsDerived((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, "QCameraImageCapture.disconnectNotify(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 || sipIsDerived((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, "QCameraImageCapture.senderSignalIndex() -> 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, "QCameraImageCapture.isSignalConnected(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, "QCameraImageCapture.isAvailable() -> 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, "QCameraImageCapture.availability() -> 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, "QCameraImageCapture.mediaObject() -> 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 || sipIsDerived((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, "QCameraImageCapture.error() -> 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, "QCameraImageCapture.errorString() -> 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, "QCameraImageCapture.isReadyForCapture() -> 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, "QCameraImageCapture.supportedImageCodecs() -> list-of-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, "QCameraImageCapture.imageCodecDescription(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, "QCameraImageCapture.supportedResolutions(QImageEncoderSettings settings=QImageEncoderSettings()) -> (list-of-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, "QCameraImageCapture.encodingSettings() -> 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, "QCameraImageCapture.setEncodingSettings(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, "QCameraImageCapture.supportedBufferFormats() -> list-of-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, "QCameraImageCapture.bufferFormat() -> 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, "QCameraImageCapture.setBufferFormat(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, "QCameraImageCapture.isCaptureDestinationSupported(QCameraImageCapture.CaptureDestinations) -> 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, "QCameraImageCapture.captureDestination() -> 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, "QCameraImageCapture.setCaptureDestination(QCameraImageCapture.CaptureDestinations)");

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, "QCameraImageCapture.capture(str file=QString()) -> 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, "QCameraImageCapture.cancelCapture()");

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

    if (targetType == sipType_QCameraImageCapture)
        return ptr;

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

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

    return NULL;
}


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

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


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[] = {{162, 0, 0}, {63, 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), 45},
    {sipName_CaptureToFile, static_cast<int>(QCameraImageCapture::CaptureToFile), 45},
    {sipName_FormatError, static_cast<int>(QCameraImageCapture::FormatError), 48},
    {sipName_NoError, static_cast<int>(QCameraImageCapture::NoError), 48},
    {sipName_NotReadyError, static_cast<int>(QCameraImageCapture::NotReadyError), 48},
    {sipName_NotSupportedFeatureError, static_cast<int>(QCameraImageCapture::NotSupportedFeatureError), 48},
    {sipName_OutOfSpaceError, static_cast<int>(QCameraImageCapture::OutOfSpaceError), 48},
    {sipName_ResourceError, static_cast<int>(QCameraImageCapture::ResourceError), 48},
    {sipName_SingleImageCapture, static_cast<int>(QCameraImageCapture::SingleImageCapture), 47},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QCameraImageCapture[] = {
    {"imageSaved(int,QString)", "\1QCameraImageCapture.imageSaved[int, str]", 0, 0},
    {"imageAvailable(int,QVideoFrame)", "\1QCameraImageCapture.imageAvailable[int, QVideoFrame]", 0, 0},
    {"imageMetadataAvailable(int,QString,QVariant)", "\1QCameraImageCapture.imageMetadataAvailable[int, str, QVariant]", 0, 0},
    {"imageCaptured(int,QImage)", "\1QCameraImageCapture.imageCaptured[int, QImage]", 0, 0},
    {"imageExposed(int)", "\1QCameraImageCapture.imageExposed[int]", 0, 0},
    {"captureDestinationChanged(QCameraImageCapture::CaptureDestinations)", "\1QCameraImageCapture.captureDestinationChanged[QCameraImageCapture.CaptureDestinations]", 0, 0},
    {"bufferFormatChanged(QVideoFrame::PixelFormat)", "\1QCameraImageCapture.bufferFormatChanged[QVideoFrame.PixelFormat]", 0, 0},
    {"readyForCaptureChanged(bool)", "\1QCameraImageCapture.readyForCaptureChanged[bool]", 0, 0},
    {"error(int,QCameraImageCapture::Error,QString)", "\1QCameraImageCapture.error[int, QCameraImageCapture.Error, str]", &methods_QCameraImageCapture[10], 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QCameraImageCapture, "\1QCameraImageCapture(QMediaObject, QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QCameraImageCapture = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QCameraImageCapture,
        {0}
    },
    {
        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
},
    &QCameraImageCapture::staticMetaObject,
    0,
    signals_QCameraImageCapture,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediabindableinterface.sip"
#include <qmediabindableinterface.h>
#line 26799 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaobject.sip"
#include <qmediaobject.h>
#line 26803 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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()
{
    sipCommonDtor(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_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMediaObject*);

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

    return sipVH_QtMultimedia_2(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQMediaBindableInterface::sipProtect_setMediaObject(QMediaObject*a0)
{
    return setMediaObject(a0);
}


PyDoc_STRVAR(doc_QMediaBindableInterface_mediaObject, "QMediaBindableInterface.mediaObject() -> 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, "QMediaBindableInterface.setMediaObject(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;
}


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

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

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


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


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QMediaBindableInterface = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMediaBindableInterface,
        {0}
    },
    {
        sipNameNr_QMediaBindableInterface,
        {0, 0, 1},
        2, methods_QMediaBindableInterface,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMediaBindableInterface,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QMediaBindableInterface,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 56 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcamerafocus.sip"
#include <qcamerafocus.h>
#line 27091 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 56 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcamerafocus.sip"
#include <qcamerafocus.h>
#line 27095 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"


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 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QCameraFocus::FocusModes::Int() != 0);
#line 27113 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QCameraFocus::FocusModes::Int() != a0->operator QCameraFocus::FocusModes::Int());
#line 27143 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QCameraFocus::FocusModes::Int() == a0->operator QCameraFocus::FocusModes::Int());
#line 27179 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_QCameraFocus_FocusModes___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QCameraFocus::FocusModes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QCameraFocus_FocusModes, &a0, &a0State, &a1))
        {
            QCameraFocus::FocusModes*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QCameraFocus::FocusModes(*a0 ^ a1);
#line 27282 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_QCameraFocus_FocusModes___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QCameraFocus::FocusModes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QCameraFocus_FocusModes, &a0, &a0State, &a1))
        {
            QCameraFocus::FocusModes*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QCameraFocus::FocusModes(*a0 | a1);
#line 27332 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
            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___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;
}


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;

    {
        QCameraFocus::FocusModes* a0;
        int a0State = 0;

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

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
        QCameraFocus::FocusModes* a0;
        int a0State = 0;

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

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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


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

    return NULL;
}


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

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

    {
        int a0;

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

            return sipCpp;
        }
    }

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

            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 124 "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 27609 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QCameraFocus_FocusModes[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_QCameraFocus_FocusModes___and__, and_slot},
    {(void *)slot_QCameraFocus_FocusModes___xor__, xor_slot},
    {(void *)slot_QCameraFocus_FocusModes___or__, or_slot},
    {(void *)slot_QCameraFocus_FocusModes___int__, int_slot},
    {(void *)slot_QCameraFocus_FocusModes___ixor__, ixor_slot},
    {(void *)slot_QCameraFocus_FocusModes___ior__, ior_slot},
    {(void *)slot_QCameraFocus_FocusModes___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QCameraFocus_FocusModes, "\1QCameraFocus.FocusModes(QCameraFocus.FocusModes)\n"
    "QCameraFocus.FocusModes(int)\n"
    "QCameraFocus.FocusModes()");


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QCameraFocus_FocusModes = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QCameraFocus__FocusModes,
        {0}
    },
    {
        sipNameNr_FocusModes,
        {38, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QCameraFocus_FocusModes,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QCameraFocus_FocusModes,
    convertTo_QCameraFocus_FocusModes,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 56 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcamerafocus.sip"
#include <qcamerafocus.h>
#line 27691 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcamera.sip"
#include <qcamera.h>
#line 27695 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 27698 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcamerafocus.sip"
#include <qcamerafocus.h>
#line 27701 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 27704 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 56 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcamerafocus.sip"
#include <qcamerafocus.h>
#line 27707 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 27710 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 27713 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 27716 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 27719 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 27722 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 27725 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 27728 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 27731 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 27734 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 27737 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 27740 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 27743 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 27746 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 27749 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 27752 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 27755 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"


PyDoc_STRVAR(doc_QCameraFocus_isAvailable, "QCameraFocus.isAvailable() -> 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, "QCameraFocus.focusMode() -> 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, "QCameraFocus.setFocusMode(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, "QCameraFocus.isFocusModeSupported(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, "QCameraFocus.focusPointMode() -> 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, "QCameraFocus.setFocusPointMode(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, "QCameraFocus.isFocusPointModeSupported(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, "QCameraFocus.customFocusPoint() -> 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, "QCameraFocus.setCustomFocusPoint(QPointF)");

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, "QCameraFocus.focusZones() -> list-of-QCameraFocusZone");

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, "QCameraFocus.maximumOpticalZoom() -> 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, "QCameraFocus.maximumDigitalZoom() -> 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, "QCameraFocus.opticalZoom() -> 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, "QCameraFocus.digitalZoom() -> 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, "QCameraFocus.zoomTo(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 superclass hierarchy. */
extern "C" {static void *cast_QCameraFocus(void *, const sipTypeDef *);}
static void *cast_QCameraFocus(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QCameraFocus)
        return ptr;

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

    return NULL;
}


/* 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[] = {{162, 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), 39},
    {sipName_ContinuousFocus, static_cast<int>(QCameraFocus::ContinuousFocus), 39},
    {sipName_FocusPointAuto, static_cast<int>(QCameraFocus::FocusPointAuto), 41},
    {sipName_FocusPointCenter, static_cast<int>(QCameraFocus::FocusPointCenter), 41},
    {sipName_FocusPointCustom, static_cast<int>(QCameraFocus::FocusPointCustom), 41},
    {sipName_FocusPointFaceDetection, static_cast<int>(QCameraFocus::FocusPointFaceDetection), 41},
    {sipName_HyperfocalFocus, static_cast<int>(QCameraFocus::HyperfocalFocus), 39},
    {sipName_InfinityFocus, static_cast<int>(QCameraFocus::InfinityFocus), 39},
    {sipName_MacroFocus, static_cast<int>(QCameraFocus::MacroFocus), 39},
    {sipName_ManualFocus, static_cast<int>(QCameraFocus::ManualFocus), 39},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QCameraFocus[] = {
    {"maximumDigitalZoomChanged(qreal)", "\1QCameraFocus.maximumDigitalZoomChanged[float]", 0, 0},
    {"maximumOpticalZoomChanged(qreal)", "\1QCameraFocus.maximumOpticalZoomChanged[float]", 0, 0},
    {"focusZonesChanged()", "\1QCameraFocus.focusZonesChanged", 0, 0},
    {"digitalZoomChanged(qreal)", "\1QCameraFocus.digitalZoomChanged[float]", 0, 0},
    {"opticalZoomChanged(qreal)", "\1QCameraFocus.opticalZoomChanged[float]", 0, 0},
    {0, 0, 0, 0}
};


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QCameraFocus = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QCameraFocus,
        {0}
    },
    {
        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
},
    &QCameraFocus::staticMetaObject,
    0,
    signals_QCameraFocus,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcamerafocus.sip"
#include <qcamerafocus.h>
#line 28298 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 28302 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"


PyDoc_STRVAR(doc_QCameraFocusZone_isValid, "QCameraFocusZone.isValid() -> 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, "QCameraFocusZone.area() -> 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, "QCameraFocusZone.status() -> 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);
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(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), 43},
    {sipName_Invalid, static_cast<int>(QCameraFocusZone::Invalid), 43},
    {sipName_Selected, static_cast<int>(QCameraFocusZone::Selected), 43},
    {sipName_Unused, static_cast<int>(QCameraFocusZone::Unused), 43},
};

PyDoc_STRVAR(doc_QCameraFocusZone, "\1QCameraFocusZone(QCameraFocusZone)");


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QCameraFocusZone = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QCameraFocusZone,
        {0}
    },
    {
        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,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QCameraFocusZone,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcameraexposure.sip"
#include <qcameraexposure.h>
#line 28580 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcameraexposure.sip"
#include <qcameraexposure.h>
#line 28584 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"


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 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QCameraExposure::FlashModes::Int() != 0);
#line 28602 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QCameraExposure::FlashModes::Int() != a0->operator QCameraExposure::FlashModes::Int());
#line 28632 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QCameraExposure::FlashModes::Int() == a0->operator QCameraExposure::FlashModes::Int());
#line 28668 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_QCameraExposure_FlashModes___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QCameraExposure::FlashModes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QCameraExposure_FlashModes, &a0, &a0State, &a1))
        {
            QCameraExposure::FlashModes*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QCameraExposure::FlashModes(*a0 ^ a1);
#line 28771 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_QCameraExposure_FlashModes___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QCameraExposure::FlashModes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QCameraExposure_FlashModes, &a0, &a0State, &a1))
        {
            QCameraExposure::FlashModes*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QCameraExposure::FlashModes(*a0 | a1);
#line 28821 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
            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___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;
}


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;

    {
        QCameraExposure::FlashModes* a0;
        int a0State = 0;

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

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
        QCameraExposure::FlashModes* a0;
        int a0State = 0;

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

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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


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

    return NULL;
}


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

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

    {
        int a0;

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

            return sipCpp;
        }
    }

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

            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 124 "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 29098 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QCameraExposure_FlashModes[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_QCameraExposure_FlashModes___and__, and_slot},
    {(void *)slot_QCameraExposure_FlashModes___xor__, xor_slot},
    {(void *)slot_QCameraExposure_FlashModes___or__, or_slot},
    {(void *)slot_QCameraExposure_FlashModes___int__, int_slot},
    {(void *)slot_QCameraExposure_FlashModes___ixor__, ixor_slot},
    {(void *)slot_QCameraExposure_FlashModes___ior__, ior_slot},
    {(void *)slot_QCameraExposure_FlashModes___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QCameraExposure_FlashModes, "\1QCameraExposure.FlashModes(QCameraExposure.FlashModes)\n"
    "QCameraExposure.FlashModes(int)\n"
    "QCameraExposure.FlashModes()");


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QCameraExposure_FlashModes = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QCameraExposure__FlashModes,
        {0}
    },
    {
        sipNameNr_FlashModes,
        {33, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QCameraExposure_FlashModes,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QCameraExposure_FlashModes,
    convertTo_QCameraExposure_FlashModes,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcameraexposure.sip"
#include <qcameraexposure.h>
#line 29180 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcamera.sip"
#include <qcamera.h>
#line 29184 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcameraexposure.sip"
#include <qcameraexposure.h>
#line 29187 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 731 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 29190 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 629 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 29193 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 29196 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 29199 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 29202 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 29205 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 29208 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 29211 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 29214 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 29217 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 29220 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 29223 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 29226 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 29229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 29232 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 29235 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 29238 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 29241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 29244 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"


PyDoc_STRVAR(doc_QCameraExposure_isAvailable, "QCameraExposure.isAvailable() -> 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, "QCameraExposure.flashMode() -> 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, "QCameraExposure.isFlashModeSupported(QCameraExposure.FlashModes) -> 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, "QCameraExposure.isFlashReady() -> 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, "QCameraExposure.exposureMode() -> 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, "QCameraExposure.isExposureModeSupported(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, "QCameraExposure.exposureCompensation() -> 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, "QCameraExposure.meteringMode() -> 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, "QCameraExposure.isMeteringModeSupported(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, "QCameraExposure.spotMeteringPoint() -> 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, "QCameraExposure.setSpotMeteringPoint(QPointF)");

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, "QCameraExposure.isoSensitivity() -> 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, "QCameraExposure.aperture() -> 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, "QCameraExposure.shutterSpeed() -> 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, "QCameraExposure.requestedIsoSensitivity() -> 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, "QCameraExposure.requestedAperture() -> 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, "QCameraExposure.requestedShutterSpeed() -> 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, "QCameraExposure.supportedIsoSensitivities() -> (list-of-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, "QCameraExposure.supportedApertures() -> (list-of-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, "QCameraExposure.supportedShutterSpeeds() -> (list-of-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, "QCameraExposure.setFlashMode(QCameraExposure.FlashModes)");

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, "QCameraExposure.setExposureMode(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, "QCameraExposure.setMeteringMode(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, "QCameraExposure.setExposureCompensation(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, "QCameraExposure.setManualIsoSensitivity(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, "QCameraExposure.setAutoIsoSensitivity()");

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, "QCameraExposure.setManualAperture(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, "QCameraExposure.setAutoAperture()");

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, "QCameraExposure.setManualShutterSpeed(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, "QCameraExposure.setAutoShutterSpeed()");

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

    if (targetType == sipType_QCameraExposure)
        return ptr;

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

    return NULL;
}


/* 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[] = {{162, 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_ExposureAuto, static_cast<int>(QCameraExposure::ExposureAuto), 34},
    {sipName_ExposureBacklight, static_cast<int>(QCameraExposure::ExposureBacklight), 34},
    {sipName_ExposureBeach, static_cast<int>(QCameraExposure::ExposureBeach), 34},
    {sipName_ExposureLargeAperture, static_cast<int>(QCameraExposure::ExposureLargeAperture), 34},
    {sipName_ExposureManual, static_cast<int>(QCameraExposure::ExposureManual), 34},
    {sipName_ExposureModeVendor, static_cast<int>(QCameraExposure::ExposureModeVendor), 34},
    {sipName_ExposureNight, static_cast<int>(QCameraExposure::ExposureNight), 34},
    {sipName_ExposurePortrait, static_cast<int>(QCameraExposure::ExposurePortrait), 34},
    {sipName_ExposureSmallAperture, static_cast<int>(QCameraExposure::ExposureSmallAperture), 34},
    {sipName_ExposureSnow, static_cast<int>(QCameraExposure::ExposureSnow), 34},
    {sipName_ExposureSports, static_cast<int>(QCameraExposure::ExposureSports), 34},
    {sipName_ExposureSpotlight, static_cast<int>(QCameraExposure::ExposureSpotlight), 34},
    {sipName_FlashAuto, static_cast<int>(QCameraExposure::FlashAuto), 35},
    {sipName_FlashFill, static_cast<int>(QCameraExposure::FlashFill), 35},
    {sipName_FlashManual, static_cast<int>(QCameraExposure::FlashManual), 35},
    {sipName_FlashOff, static_cast<int>(QCameraExposure::FlashOff), 35},
    {sipName_FlashOn, static_cast<int>(QCameraExposure::FlashOn), 35},
    {sipName_FlashRedEyeReduction, static_cast<int>(QCameraExposure::FlashRedEyeReduction), 35},
    {sipName_FlashSlowSyncFrontCurtain, static_cast<int>(QCameraExposure::FlashSlowSyncFrontCurtain), 35},
    {sipName_FlashSlowSyncRearCurtain, static_cast<int>(QCameraExposure::FlashSlowSyncRearCurtain), 35},
    {sipName_FlashTorch, static_cast<int>(QCameraExposure::FlashTorch), 35},
    {sipName_FlashVideoLight, static_cast<int>(QCameraExposure::FlashVideoLight), 35},
    {sipName_MeteringAverage, static_cast<int>(QCameraExposure::MeteringAverage), 37},
    {sipName_MeteringMatrix, static_cast<int>(QCameraExposure::MeteringMatrix), 37},
    {sipName_MeteringSpot, static_cast<int>(QCameraExposure::MeteringSpot), 37},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QCameraExposure[] = {
    {"exposureCompensationChanged(qreal)", "\1QCameraExposure.exposureCompensationChanged[float]", 0, 0},
    {"isoSensitivityChanged(int)", "\1QCameraExposure.isoSensitivityChanged[int]", 0, 0},
    {"shutterSpeedRangeChanged()", "\1QCameraExposure.shutterSpeedRangeChanged", 0, 0},
    {"shutterSpeedChanged(qreal)", "\1QCameraExposure.shutterSpeedChanged[float]", 0, 0},
    {"apertureRangeChanged()", "\1QCameraExposure.apertureRangeChanged", 0, 0},
    {"apertureChanged(qreal)", "\1QCameraExposure.apertureChanged[float]", 0, 0},
    {"flashReady(bool)", "\1QCameraExposure.flashReady[bool]", 0, 0},
    {0, 0, 0, 0}
};


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QCameraExposure = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QCameraExposure,
        {0}
    },
    {
        sipNameNr_QCameraExposure,
        {0, 0, 1},
        30, methods_QCameraExposure,
        25, 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
},
    &QCameraExposure::staticMetaObject,
    0,
    signals_QCameraExposure,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcamera.sip"
#include <qcamera.h>
#line 30227 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcamera.sip"
#include <qcamera.h>
#line 30231 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"


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 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QCamera::LockTypes::Int() != 0);
#line 30249 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QCamera::LockTypes::Int() != a0->operator QCamera::LockTypes::Int());
#line 30279 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QCamera::LockTypes::Int() == a0->operator QCamera::LockTypes::Int());
#line 30315 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_QCamera_LockTypes___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QCamera::LockTypes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QCamera_LockTypes, &a0, &a0State, &a1))
        {
            QCamera::LockTypes*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QCamera::LockTypes(*a0 ^ a1);
#line 30418 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_QCamera_LockTypes___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

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

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

    {
        QCamera::LockTypes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QCamera_LockTypes, &a0, &a0State, &a1))
        {
            QCamera::LockTypes*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QCamera::LockTypes(*a0 | a1);
#line 30468 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
            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___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;
}


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;

    {
        QCamera::LockTypes* a0;
        int a0State = 0;

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

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
        QCamera::LockTypes* a0;
        int a0State = 0;

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

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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


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

    return NULL;
}


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

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

    {
        int a0;

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

            return sipCpp;
        }
    }

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

            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 124 "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 30745 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QCamera_LockTypes[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_QCamera_LockTypes___and__, and_slot},
    {(void *)slot_QCamera_LockTypes___xor__, xor_slot},
    {(void *)slot_QCamera_LockTypes___or__, or_slot},
    {(void *)slot_QCamera_LockTypes___int__, int_slot},
    {(void *)slot_QCamera_LockTypes___ixor__, ixor_slot},
    {(void *)slot_QCamera_LockTypes___ior__, ior_slot},
    {(void *)slot_QCamera_LockTypes___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QCamera_LockTypes, "\1QCamera.LockTypes(QCamera.LockTypes)\n"
    "QCamera.LockTypes(int)\n"
    "QCamera.LockTypes()");


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QCamera_LockTypes = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QCamera__LockTypes,
        {0}
    },
    {
        sipNameNr_LockTypes,
        {22, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QCamera_LockTypes,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QCamera_LockTypes,
    convertTo_QCamera_LockTypes,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcamera.sip"
#include <qcamera.h>
#line 30827 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcamera.sip"
#include <qcamera.h>
#line 30831 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"


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 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QCamera::CaptureModes::Int() != 0);
#line 30849 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QCamera::CaptureModes::Int() != a0->operator QCamera::CaptureModes::Int());
#line 30879 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QCamera::CaptureModes::Int() == a0->operator QCamera::CaptureModes::Int());
#line 30915 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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___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___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___xor__(PyObject *,PyObject *);}
static PyObject *slot_QCamera_CaptureModes___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QCamera::CaptureModes* a0;
        int a0State = 0;
        QCamera::CaptureModes* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QCamera_CaptureModes, &a0, &a0State, sipType_QCamera_CaptureModes, &a1, &a1State))
        {
            QCamera::CaptureModes*sipRes;

            sipRes = new QCamera::CaptureModes((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QCamera_CaptureModes,a0State);
            sipReleaseType(a1,sipType_QCamera_CaptureModes,a1State);

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

    {
        QCamera::CaptureModes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QCamera_CaptureModes, &a0, &a0State, &a1))
        {
            QCamera::CaptureModes*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QCamera::CaptureModes(*a0 ^ a1);
#line 31018 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
            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___or__(PyObject *,PyObject *);}
static PyObject *slot_QCamera_CaptureModes___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QCamera::CaptureModes* a0;
        int a0State = 0;
        QCamera::CaptureModes* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QCamera_CaptureModes, &a0, &a0State, sipType_QCamera_CaptureModes, &a1, &a1State))
        {
            QCamera::CaptureModes*sipRes;

            sipRes = new QCamera::CaptureModes((*a0 | *a1));
            sipReleaseType(a0,sipType_QCamera_CaptureModes,a0State);
            sipReleaseType(a1,sipType_QCamera_CaptureModes,a1State);

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

    {
        QCamera::CaptureModes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QCamera_CaptureModes, &a0, &a0State, &a1))
        {
            QCamera::CaptureModes*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QCamera::CaptureModes(*a0 | a1);
#line 31068 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
            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___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;
}


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;

    {
        QCamera::CaptureModes* a0;
        int a0State = 0;

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

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
        QCamera::CaptureModes* a0;
        int a0State = 0;

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

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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


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

    return NULL;
}


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

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

    {
        int a0;

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

            return sipCpp;
        }
    }

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

            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 124 "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 31345 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QCamera_CaptureModes[] = {
    {(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___invert__, invert_slot},
    {(void *)slot_QCamera_CaptureModes___and__, and_slot},
    {(void *)slot_QCamera_CaptureModes___xor__, xor_slot},
    {(void *)slot_QCamera_CaptureModes___or__, or_slot},
    {(void *)slot_QCamera_CaptureModes___int__, int_slot},
    {(void *)slot_QCamera_CaptureModes___ixor__, ixor_slot},
    {(void *)slot_QCamera_CaptureModes___ior__, ior_slot},
    {(void *)slot_QCamera_CaptureModes___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QCamera_CaptureModes, "\1QCamera.CaptureModes(QCamera.CaptureModes)\n"
    "QCamera.CaptureModes(int)\n"
    "QCamera.CaptureModes()");


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QCamera_CaptureModes = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QCamera__CaptureModes,
        {0}
    },
    {
        sipNameNr_CaptureModes,
        {22, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QCamera_CaptureModes,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QCamera_CaptureModes,
    convertTo_QCamera_CaptureModes,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcamera.sip"
#include <qcamera.h>
#line 31427 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 31431 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 31434 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcamerainfo.sip"
#include <qcamerainfo.h>
#line 31437 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcamera.sip"
#include <qcamera.h>
#line 31440 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcamera.sip"
#include <qcamera.h>
#line 31443 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 31446 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qabstractvideosurface.sip"
#include <qabstractvideosurface.h>
#line 31449 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcameraimageprocessing.sip"
#include <qcameraimageprocessing.h>
#line 31452 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 56 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcamerafocus.sip"
#include <qcamerafocus.h>
#line 31455 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qcameraexposure.sip"
#include <qcameraexposure.h>
#line 31458 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmultimedia.sip"
#include <qmultimedia.h>
#line 31461 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 31464 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 31467 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 34 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 31470 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaservice.sip"
#include <qmediaservice.h>
#line 31473 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 31476 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31479 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31482 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31485 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 31488 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 31491 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 31494 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 31497 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 31500 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 31503 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 31506 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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*);
    void unbind(QObject*);
    bool bind(QObject*);
    QMediaService* service() const;
    bool isAvailable() const;
    QMultimedia::AvailabilityStatus availability() const;

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

const QMetaObject *sipQCamera::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf,sipType_QCamera);
}

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

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

    ((sipVH_QtCore_46)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], 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;
    }

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

    ((sipVH_QtCore_46)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], 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;
    }

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

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

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

    ((sipVH_QtCore_47)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], 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;
    }

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

    ((sipVH_QtCore_9)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], 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);

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

    return ((sipVH_QtCore_26)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], 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);

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

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

void sipQCamera::unbind(QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QCamera::unbind(a0);
        return;
    }

    extern void sipVH_QtMultimedia_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*);

    sipVH_QtMultimedia_5(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQCamera::bind(QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QCamera::bind(a0);

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

    return ((sipVH_QtCore_63)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[63]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

    return sipVH_QtMultimedia_6(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQCamera::isAvailable() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QCamera::isAvailable();

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

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

QMultimedia::AvailabilityStatus sipQCamera::availability() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QCamera::availability();

    extern QMultimedia::AvailabilityStatus sipVH_QtMultimedia_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtMultimedia_0(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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

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, "QCamera.removePropertyWatch(QByteArray)");

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, "QCamera.availableDevices() -> list-of-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, "QCamera.deviceDescription(QByteArray) -> 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, "QCamera.availability() -> 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 || sipIsDerived((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, "QCamera.state() -> 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, "QCamera.status() -> 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, "QCamera.captureMode() -> 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, "QCamera.isCaptureModeSupported(QCamera.CaptureModes) -> 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, "QCamera.exposure() -> 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, "QCamera.focus() -> 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, "QCamera.imageProcessing() -> 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, "QCamera.setViewfinder(QVideoWidget)\n"
    "QCamera.setViewfinder(QGraphicsVideoItem)\n"
    "QCamera.setViewfinder(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, "QCamera.error() -> 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, "QCamera.errorString() -> 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, "QCamera.supportedLocks() -> 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, "QCamera.requestedLocks() -> 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, "QCamera.lockStatus() -> QCamera.LockStatus\n"
    "QCamera.lockStatus(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, "QCamera.setCaptureMode(QCamera.CaptureModes)");

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, "QCamera.load()");

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, "QCamera.unload()");

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, "QCamera.start()");

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, "QCamera.stop()");

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, "QCamera.searchAndLock()\n"
    "QCamera.searchAndLock(QCamera.LockTypes)");

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, "QCamera.unlock()\n"
    "QCamera.unlock(QCamera.LockTypes)");

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


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

    if (targetType == sipType_QCamera)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QMediaObject)->ctd_cast((QMediaObject *)(QCamera *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

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


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[] = {{67, 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_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_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)}
};

static sipEnumMemberDef enummembers_QCamera[] = {
    {sipName_ActiveState, static_cast<int>(QCamera::ActiveState), 31},
    {sipName_ActiveStatus, static_cast<int>(QCamera::ActiveStatus), 32},
    {sipName_BackFace, static_cast<int>(QCamera::BackFace), 30},
    {sipName_CameraError, static_cast<int>(QCamera::CameraError), 25},
    {sipName_CaptureStillImage, static_cast<int>(QCamera::CaptureStillImage), 23},
    {sipName_CaptureVideo, static_cast<int>(QCamera::CaptureVideo), 23},
    {sipName_CaptureViewfinder, static_cast<int>(QCamera::CaptureViewfinder), 23},
    {sipName_FrontFace, static_cast<int>(QCamera::FrontFace), 30},
    {sipName_InvalidRequestError, static_cast<int>(QCamera::InvalidRequestError), 25},
    {sipName_LoadedState, static_cast<int>(QCamera::LoadedState), 31},
    {sipName_LoadedStatus, static_cast<int>(QCamera::LoadedStatus), 32},
    {sipName_LoadingStatus, static_cast<int>(QCamera::LoadingStatus), 32},
    {sipName_LockAcquired, static_cast<int>(QCamera::LockAcquired), 26},
    {sipName_LockExposure, static_cast<int>(QCamera::LockExposure), 28},
    {sipName_LockFailed, static_cast<int>(QCamera::LockFailed), 26},
    {sipName_LockFocus, static_cast<int>(QCamera::LockFocus), 28},
    {sipName_LockLost, static_cast<int>(QCamera::LockLost), 26},
    {sipName_LockTemporaryLost, static_cast<int>(QCamera::LockTemporaryLost), 26},
    {sipName_LockWhiteBalance, static_cast<int>(QCamera::LockWhiteBalance), 28},
    {sipName_Locked, static_cast<int>(QCamera::Locked), 27},
    {sipName_NoError, static_cast<int>(QCamera::NoError), 25},
    {sipName_NoLock, static_cast<int>(QCamera::NoLock), 28},
    {sipName_NotSupportedFeatureError, static_cast<int>(QCamera::NotSupportedFeatureError), 25},
    {sipName_Searching, static_cast<int>(QCamera::Searching), 27},
    {sipName_ServiceMissingError, static_cast<int>(QCamera::ServiceMissingError), 25},
    {sipName_StandbyStatus, static_cast<int>(QCamera::StandbyStatus), 32},
    {sipName_StartingStatus, static_cast<int>(QCamera::StartingStatus), 32},
    {sipName_StoppingStatus, static_cast<int>(QCamera::StoppingStatus), 32},
    {sipName_UnavailableStatus, static_cast<int>(QCamera::UnavailableStatus), 32},
    {sipName_UnloadedState, static_cast<int>(QCamera::UnloadedState), 31},
    {sipName_UnloadedStatus, static_cast<int>(QCamera::UnloadedStatus), 32},
    {sipName_UnloadingStatus, static_cast<int>(QCamera::UnloadingStatus), 32},
    {sipName_Unlocked, static_cast<int>(QCamera::Unlocked), 27},
    {sipName_UnspecifiedPosition, static_cast<int>(QCamera::UnspecifiedPosition), 30},
    {sipName_UserRequest, static_cast<int>(QCamera::UserRequest), 26},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QCamera[] = {
    {"lockStatusChanged(QCamera::LockStatus,QCamera::LockChangeReason)", "\1QCamera.lockStatusChanged[QCamera.LockStatus, QCamera.LockChangeReason]", 0, 0},
    {"lockStatusChanged(QCamera::LockType,QCamera::LockStatus,QCamera::LockChangeReason)", "\1QCamera.lockStatusChanged[QCamera.LockType, QCamera.LockStatus, QCamera.LockChangeReason]", 0, 0},
    {"lockFailed()", "\1QCamera.lockFailed", 0, 0},
    {"locked()", "\1QCamera.locked", 0, 0},
    {"statusChanged(QCamera::Status)", "\1QCamera.statusChanged[QCamera.Status]", 0, 0},
    {"captureModeChanged(QCamera::CaptureModes)", "\1QCamera.captureModeChanged[QCamera.CaptureModes]", 0, 0},
    {"stateChanged(QCamera::State)", "\1QCamera.stateChanged[QCamera.State]", 0, 0},
    {"error(QCamera::Error)", "\1QCamera.error[QCamera.Error]", &methods_QCamera[9], 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QCamera, "\1QCamera(QObject parent=None)\n"
    "QCamera(QByteArray, QObject parent=None)\n"
    "QCamera(QCameraInfo, QObject parent=None)\n"
    "QCamera(QCamera.Position, QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QCamera = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QCamera,
        {0}
    },
    {
        sipNameNr_QCamera,
        {0, 0, 1},
        34, 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
},
    &QCamera::staticMetaObject,
    0,
    signals_QCamera,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qaudiorecorder.sip"
#include <qaudiorecorder.h>
#line 33219 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 33223 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 33226 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 34 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 33229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaobject.sip"
#include <qmediaobject.h>
#line 33232 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmultimedia.sip"
#include <qmultimedia.h>
#line 33235 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 33238 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 100 "sip/QtCore/qurl.sip"
#include <qurl.h>
#line 33241 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediarecorder.sip"
#include <qmediarecorder.h>
#line 33244 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaencodersettings.sip"
#include <qmediaencodersettings.h>
#line 33247 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 57 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaencodersettings.sip"
#include <qmediaencodersettings.h>
#line 33250 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 731 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 33253 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 33256 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 33259 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 629 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 33262 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 33265 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33268 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33271 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33274 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 33277 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 33280 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 33283 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33286 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 33289 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33292 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 33295 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 33298 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 33301 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQAudioRecorder::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf,sipType_QAudioRecorder);
}

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

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

    ((sipVH_QtCore_46)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], 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;
    }

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

    ((sipVH_QtCore_46)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], 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;
    }

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

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

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

    ((sipVH_QtCore_47)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], 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;
    }

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

    ((sipVH_QtCore_9)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], 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);

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

    return ((sipVH_QtCore_26)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], 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);

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

    return ((sipVH_QtCore_5)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], 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_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMediaObject*);

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

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

    if (targetType == sipType_QAudioRecorder)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QMediaRecorder)->ctd_cast((QMediaRecorder *)(QAudioRecorder *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

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


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


/* Define this type's signals. */
static const pyqt5QtSignal signals_QAudioRecorder[] = {
    {"availableAudioInputsChanged()", "\1QAudioRecorder.availableAudioInputsChanged", 0, 0},
    {"audioInputChanged(QString)", "\1QAudioRecorder.audioInputChanged[str]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QAudioRecorder, "\1QAudioRecorder(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QAudioRecorder = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QAudioRecorder,
        {0}
    },
    {
        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
},
    &QAudioRecorder::staticMetaObject,
    0,
    signals_QAudioRecorder,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediarecorder.sip"
#include <qmediarecorder.h>
#line 34229 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaobject.sip"
#include <qmediaobject.h>
#line 34233 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 34236 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmultimedia.sip"
#include <qmultimedia.h>
#line 34239 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 34242 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 34245 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 100 "sip/QtCore/qurl.sip"
#include <qurl.h>
#line 34248 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 34 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 34251 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaencodersettings.sip"
#include <qmediaencodersettings.h>
#line 34254 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 57 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaencodersettings.sip"
#include <qmediaencodersettings.h>
#line 34257 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 731 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 34260 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 34263 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 34266 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 629 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 34269 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 34272 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34275 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34278 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34281 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 34284 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 34287 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 34290 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34293 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 34296 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34299 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 34302 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 34305 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 34308 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    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:
    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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQMediaRecorder::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf,sipType_QMediaRecorder);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    return sipVH_QtMultimedia_2(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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, "QMediaRecorder.sender() -> 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 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 34634 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QMediaRecorder.receivers(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 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 34693 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QMediaRecorder.timerEvent(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 || sipIsDerived((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, "QMediaRecorder.childEvent(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 || sipIsDerived((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, "QMediaRecorder.customEvent(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 || sipIsDerived((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, "QMediaRecorder.connectNotify(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 || sipIsDerived((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, "QMediaRecorder.disconnectNotify(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 || sipIsDerived((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, "QMediaRecorder.senderSignalIndex() -> 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, "QMediaRecorder.isSignalConnected(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, "QMediaRecorder.mediaObject() -> 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 || sipIsDerived((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, "QMediaRecorder.isAvailable() -> 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, "QMediaRecorder.availability() -> 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, "QMediaRecorder.outputLocation() -> 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, "QMediaRecorder.setOutputLocation(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, "QMediaRecorder.actualLocation() -> 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, "QMediaRecorder.state() -> 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, "QMediaRecorder.status() -> 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, "QMediaRecorder.error() -> 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, "QMediaRecorder.errorString() -> 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, "QMediaRecorder.duration() -> 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, "QMediaRecorder.isMuted() -> 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, "QMediaRecorder.volume() -> 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, "QMediaRecorder.supportedContainers() -> list-of-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, "QMediaRecorder.containerDescription(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, "QMediaRecorder.supportedAudioCodecs() -> list-of-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, "QMediaRecorder.audioCodecDescription(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, "QMediaRecorder.supportedAudioSampleRates(QAudioEncoderSettings settings=QAudioEncoderSettings()) -> (list-of-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, "QMediaRecorder.supportedVideoCodecs() -> list-of-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, "QMediaRecorder.videoCodecDescription(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, "QMediaRecorder.supportedResolutions(QVideoEncoderSettings settings=QVideoEncoderSettings()) -> (list-of-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, "QMediaRecorder.supportedFrameRates(QVideoEncoderSettings settings=QVideoEncoderSettings()) -> (list-of-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, "QMediaRecorder.audioSettings() -> 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, "QMediaRecorder.videoSettings() -> 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, "QMediaRecorder.containerFormat() -> 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, "QMediaRecorder.setAudioSettings(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, "QMediaRecorder.setVideoSettings(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, "QMediaRecorder.setContainerFormat(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, "QMediaRecorder.setEncodingSettings(QAudioEncoderSettings, QVideoEncoderSettings video=QVideoEncoderSettings(), str container=QString())");

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, "QMediaRecorder.isMetaDataAvailable() -> 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, "QMediaRecorder.isMetaDataWritable() -> 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, "QMediaRecorder.metaData(str) -> QVariant");

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, "QMediaRecorder.setMetaData(str, QVariant)");

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, "QMediaRecorder.availableMetaData() -> list-of-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, "QMediaRecorder.record()");

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, "QMediaRecorder.pause()");

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, "QMediaRecorder.stop()");

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

    if (targetType == sipType_QMediaRecorder)
        return ptr;

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

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

    return NULL;
}


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

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


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[] = {{162, 0, 0}, {63, 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), 80},
    {sipName_FormatError, static_cast<int>(QMediaRecorder::FormatError), 78},
    {sipName_LoadedStatus, static_cast<int>(QMediaRecorder::LoadedStatus), 80},
    {sipName_LoadingStatus, static_cast<int>(QMediaRecorder::LoadingStatus), 80},
    {sipName_NoError, static_cast<int>(QMediaRecorder::NoError), 78},
    {sipName_OutOfSpaceError, static_cast<int>(QMediaRecorder::OutOfSpaceError), 78},
    {sipName_PausedState, static_cast<int>(QMediaRecorder::PausedState), 79},
    {sipName_PausedStatus, static_cast<int>(QMediaRecorder::PausedStatus), 80},
    {sipName_RecordingState, static_cast<int>(QMediaRecorder::RecordingState), 79},
    {sipName_RecordingStatus, static_cast<int>(QMediaRecorder::RecordingStatus), 80},
    {sipName_ResourceError, static_cast<int>(QMediaRecorder::ResourceError), 78},
    {sipName_StartingStatus, static_cast<int>(QMediaRecorder::StartingStatus), 80},
    {sipName_StoppedState, static_cast<int>(QMediaRecorder::StoppedState), 79},
    {sipName_UnavailableStatus, static_cast<int>(QMediaRecorder::UnavailableStatus), 80},
    {sipName_UnloadedStatus, static_cast<int>(QMediaRecorder::UnloadedStatus), 80},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QMediaRecorder[] = {
    {"availabilityChanged(QMultimedia::AvailabilityStatus)", "\1QMediaRecorder.availabilityChanged[QMultimedia.AvailabilityStatus]", 0, 0},
    {"metaDataChanged(QString,QVariant)", "\1QMediaRecorder.metaDataChanged[str, QVariant]", 0, 0},
    {"metaDataWritableChanged(bool)", "\1QMediaRecorder.metaDataWritableChanged[bool]", 0, 0},
    {"metaDataAvailableChanged(bool)", "\1QMediaRecorder.metaDataAvailableChanged[bool]", 0, 0},
    {"actualLocationChanged(QUrl)", "\1QMediaRecorder.actualLocationChanged[QUrl]", 0, 0},
    {"volumeChanged(qreal)", "\1QMediaRecorder.volumeChanged[float]", 0, 0},
    {"mutedChanged(bool)", "\1QMediaRecorder.mutedChanged[bool]", 0, 0},
    {"durationChanged(qint64)", "\1QMediaRecorder.durationChanged[int]", 0, 0},
    {"statusChanged(QMediaRecorder::Status)", "\1QMediaRecorder.statusChanged[QMediaRecorder.Status]", 0, 0},
    {"stateChanged(QMediaRecorder::State)", "\1QMediaRecorder.stateChanged[QMediaRecorder.State]", 0, 0},
    {"error(QMediaRecorder::Error)", "\1QMediaRecorder.error[QMediaRecorder.Error]", &methods_QMediaRecorder[12], 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QMediaRecorder, "\1QMediaRecorder(QMediaObject, QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QMediaRecorder = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMediaRecorder,
        {0}
    },
    {
        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
},
    &QMediaRecorder::staticMetaObject,
    0,
    signals_QMediaRecorder,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qaudioprobe.sip"
#include <qaudioprobe.h>
#line 36269 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 36273 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qaudiobuffer.sip"
#include <qaudiobuffer.h>
#line 36276 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaobject.sip"
#include <qmediaobject.h>
#line 36279 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediarecorder.sip"
#include <qmediarecorder.h>
#line 36282 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 36285 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 36288 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 36291 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 36294 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 36297 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 36300 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 36303 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 36306 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 36309 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 36312 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 36315 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 36318 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 36321 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 36324 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 36327 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

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

const QMetaObject *sipQAudioProbe::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf,sipType_QAudioProbe);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (targetType == sipType_QAudioProbe)
        return ptr;

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

    return NULL;
}


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

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


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


/* Define this type's signals. */
static const pyqt5QtSignal signals_QAudioProbe[] = {
    {"flush()", "\1QAudioProbe.flush", 0, 0},
    {"audioBufferProbed(QAudioBuffer)", "\1QAudioProbe.audioBufferProbed[QAudioBuffer]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QAudioProbe, "\1QAudioProbe(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QAudioProbe = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QAudioProbe,
        {0}
    },
    {
        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
},
    &QAudioProbe::staticMetaObject,
    0,
    signals_QAudioProbe,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qaudiooutput.sip"
#include <qaudiooutput.h>
#line 37114 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qaudioformat.sip"
#include <qaudioformat.h>
#line 37118 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 37121 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qaudiodeviceinfo.sip"
#include <qaudiodeviceinfo.h>
#line 37124 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 37127 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qaudio.sip"
#include <qaudio.h>
#line 37130 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 37133 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 37136 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 37139 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 37142 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 37145 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 37148 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 37151 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 37154 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 37157 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 37160 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 37163 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 37166 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 37169 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 37172 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 37175 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

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

const QMetaObject *sipQAudioOutput::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf,sipType_QAudioOutput);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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, "QAudioOutput.reset()");

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, "QAudioOutput.suspend()");

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, "QAudioOutput.resume()");

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, "QAudioOutput.setBufferSize(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, "QAudioOutput.bufferSize() -> 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, "QAudioOutput.bytesFree() -> 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, "QAudioOutput.periodSize() -> 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, "QAudioOutput.setNotifyInterval(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, "QAudioOutput.notifyInterval() -> 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, "QAudioOutput.processedUSecs() -> 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, "QAudioOutput.elapsedUSecs() -> 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, "QAudioOutput.error() -> 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, "QAudioOutput.state() -> 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, "QAudioOutput.setVolume(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, "QAudioOutput.volume() -> 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, "QAudioOutput.category() -> 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, "QAudioOutput.setCategory(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 superclass hierarchy. */
extern "C" {static void *cast_QAudioOutput(void *, const sipTypeDef *);}
static void *cast_QAudioOutput(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QAudioOutput)
        return ptr;

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

    return NULL;
}


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

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


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


/* Define this type's signals. */
static const pyqt5QtSignal signals_QAudioOutput[] = {
    {"notify()", "\1QAudioOutput.notify", 0, 0},
    {"stateChanged(QAudio::State)", "\1QAudioOutput.stateChanged[QAudio.State]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QAudioOutput, "\1QAudioOutput(QAudioFormat format=QAudioFormat(), QObject parent=None)\n"
    "QAudioOutput(QAudioDeviceInfo, QAudioFormat format=QAudioFormat(), QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QAudioOutput = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QAudioOutput,
        {0}
    },
    {
        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
},
    &QAudioOutput::staticMetaObject,
    0,
    signals_QAudioOutput,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qaudioinput.sip"
#include <qaudioinput.h>
#line 38494 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qaudioformat.sip"
#include <qaudioformat.h>
#line 38498 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 38501 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qaudiodeviceinfo.sip"
#include <qaudiodeviceinfo.h>
#line 38504 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qaudio.sip"
#include <qaudio.h>
#line 38507 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 38510 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 38513 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 38516 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 38519 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 38522 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 38525 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 38528 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 38531 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 38534 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 38537 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 38540 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 38543 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 38546 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 38549 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 38552 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 38555 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

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

const QMetaObject *sipQAudioInput::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf,sipType_QAudioInput);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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, "QAudioInput.reset()");

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, "QAudioInput.suspend()");

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, "QAudioInput.resume()");

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, "QAudioInput.setBufferSize(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, "QAudioInput.bufferSize() -> 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, "QAudioInput.bytesReady() -> 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, "QAudioInput.periodSize() -> 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, "QAudioInput.setNotifyInterval(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, "QAudioInput.notifyInterval() -> 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, "QAudioInput.processedUSecs() -> 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, "QAudioInput.elapsedUSecs() -> 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, "QAudioInput.error() -> 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, "QAudioInput.state() -> 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, "QAudioInput.setVolume(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, "QAudioInput.volume() -> 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 superclass hierarchy. */
extern "C" {static void *cast_QAudioInput(void *, const sipTypeDef *);}
static void *cast_QAudioInput(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QAudioInput)
        return ptr;

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

    return NULL;
}


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

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


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


/* Define this type's signals. */
static const pyqt5QtSignal signals_QAudioInput[] = {
    {"notify()", "\1QAudioInput.notify", 0, 0},
    {"stateChanged(QAudio::State)", "\1QAudioInput.stateChanged[QAudio.State]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QAudioInput, "\1QAudioInput(QAudioFormat format=QAudioFormat(), QObject parent=None)\n"
    "QAudioInput(QAudioDeviceInfo, QAudioFormat format=QAudioFormat(), QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QAudioInput = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QAudioInput,
        {0}
    },
    {
        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
},
    &QAudioInput::staticMetaObject,
    0,
    signals_QAudioInput,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qaudioformat.sip"
#include <qaudioformat.h>
#line 39816 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 39820 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"


PyDoc_STRVAR(doc_QAudioFormat_isValid, "QAudioFormat.isValid() -> 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, "QAudioFormat.setSampleSize(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, "QAudioFormat.sampleSize() -> 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, "QAudioFormat.setCodec(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, "QAudioFormat.codec() -> 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, "QAudioFormat.setByteOrder(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, "QAudioFormat.byteOrder() -> 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, "QAudioFormat.setSampleType(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, "QAudioFormat.sampleType() -> 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, "QAudioFormat.setSampleRate(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, "QAudioFormat.sampleRate() -> 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, "QAudioFormat.setChannelCount(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, "QAudioFormat.channelCount() -> 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, "QAudioFormat.bytesForDuration(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, "QAudioFormat.durationForBytes(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, "QAudioFormat.bytesForFrames(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, "QAudioFormat.framesForBytes(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, "QAudioFormat.framesForDuration(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, "QAudioFormat.durationForFrames(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, "QAudioFormat.bytesPerFrame() -> 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);
}


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

    return NULL;
}


/* 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 (sipIsPyOwned(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), 16},
    {sipName_Float, static_cast<int>(QAudioFormat::Float), 17},
    {sipName_LittleEndian, static_cast<int>(QAudioFormat::LittleEndian), 16},
    {sipName_SignedInt, static_cast<int>(QAudioFormat::SignedInt), 17},
    {sipName_UnSignedInt, static_cast<int>(QAudioFormat::UnSignedInt), 17},
    {sipName_Unknown, static_cast<int>(QAudioFormat::Unknown), 17},
};

PyDoc_STRVAR(doc_QAudioFormat, "\1QAudioFormat()\n"
    "QAudioFormat(QAudioFormat)");


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QAudioFormat = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QAudioFormat,
        {0}
    },
    {
        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,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QAudioFormat,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qaudiodeviceinfo.sip"
#include <qaudiodeviceinfo.h>
#line 40615 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 629 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 40619 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 40622 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qaudio.sip"
#include <qaudio.h>
#line 40625 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 227 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qpymultimedia_qlist.sip"
#include <qaudioformat.h>
#line 40628 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qaudioformat.sip"
#include <qaudioformat.h>
#line 40631 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 126 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qpymultimedia_qlist.sip"
#include <qaudioformat.h>
#line 40634 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 34 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 40637 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 40640 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"


PyDoc_STRVAR(doc_QAudioDeviceInfo_isNull, "QAudioDeviceInfo.isNull() -> 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, "QAudioDeviceInfo.deviceName() -> 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, "QAudioDeviceInfo.isFormatSupported(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, "QAudioDeviceInfo.preferredFormat() -> 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, "QAudioDeviceInfo.nearestFormat(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, "QAudioDeviceInfo.supportedCodecs() -> list-of-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, "QAudioDeviceInfo.supportedSampleSizes() -> list-of-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, "QAudioDeviceInfo.supportedByteOrders() -> list-of-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, "QAudioDeviceInfo.supportedSampleTypes() -> list-of-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, "QAudioDeviceInfo.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, "QAudioDeviceInfo.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, "QAudioDeviceInfo.availableDevices(QAudio.Mode) -> list-of-QAudioDeviceInfo");

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, "QAudioDeviceInfo.supportedSampleRates() -> list-of-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, "QAudioDeviceInfo.supportedChannelCounts() -> list-of-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);
}


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

    return NULL;
}


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


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QAudioDeviceInfo = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QAudioDeviceInfo,
        {0}
    },
    {
        sipNameNr_QAudioDeviceInfo,
        {0, 0, 1},
        14, methods_QAudioDeviceInfo,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAudioDeviceInfo,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QAudioDeviceInfo,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qaudiodecoder.sip"
#include <qaudiodecoder.h>
#line 41248 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 41252 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qaudioformat.sip"
#include <qaudioformat.h>
#line 41255 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qaudiobuffer.sip"
#include <qaudiobuffer.h>
#line 41258 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 41261 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 41264 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmultimedia.sip"
#include <qmultimedia.h>
#line 41267 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 34 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 41270 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 41273 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 41276 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaservice.sip"
#include <qmediaservice.h>
#line 41279 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 41282 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 41285 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 41288 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 41291 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 41294 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 41297 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 41300 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 41303 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 41306 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 41309 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 41312 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 41315 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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*);
    QMediaService* service() const;
    QMultimedia::AvailabilityStatus availability() const;
    bool isAvailable() const;
    void unbind(QObject*);
    bool bind(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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQAudioDecoder::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf,sipType_QAudioDecoder);
}

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

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

    ((sipVH_QtCore_46)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], 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;
    }

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

    ((sipVH_QtCore_46)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], 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;
    }

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

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

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

    ((sipVH_QtCore_47)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], 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;
    }

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

    ((sipVH_QtCore_9)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], 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);

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

    return ((sipVH_QtCore_26)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], 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);

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

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

QMediaService* sipQAudioDecoder::service() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QAudioDecoder::service();

    extern QMediaService* sipVH_QtMultimedia_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

    return sipVH_QtMultimedia_0(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQAudioDecoder::isAvailable() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QAudioDecoder::isAvailable();

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

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

void sipQAudioDecoder::unbind(QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QAudioDecoder::unbind(a0);
        return;
    }

    extern void sipVH_QtMultimedia_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*);

    sipVH_QtMultimedia_5(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQAudioDecoder::bind(QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QAudioDecoder::bind(a0);

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

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

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, "QAudioDecoder.removePropertyWatch(QByteArray)");

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, "QAudioDecoder.hasSupport(str, list-of-str codecs=QStringList()) -> 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, "QAudioDecoder.state() -> 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, "QAudioDecoder.sourceFilename() -> 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, "QAudioDecoder.setSourceFilename(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, "QAudioDecoder.sourceDevice() -> 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, "QAudioDecoder.setSourceDevice(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, "QAudioDecoder.audioFormat() -> 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, "QAudioDecoder.setAudioFormat(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, "QAudioDecoder.error() -> 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, "QAudioDecoder.errorString() -> 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, "QAudioDecoder.read() -> 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, "QAudioDecoder.bufferAvailable() -> 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, "QAudioDecoder.position() -> 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, "QAudioDecoder.duration() -> 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, "QAudioDecoder.start()");

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, "QAudioDecoder.stop()");

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

    if (targetType == sipType_QAudioDecoder)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QMediaObject)->ctd_cast((QMediaObject *)(QAudioDecoder *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

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


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[] = {{67, 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), 11},
    {sipName_DecodingState, static_cast<int>(QAudioDecoder::DecodingState), 12},
    {sipName_FormatError, static_cast<int>(QAudioDecoder::FormatError), 11},
    {sipName_NoError, static_cast<int>(QAudioDecoder::NoError), 11},
    {sipName_ResourceError, static_cast<int>(QAudioDecoder::ResourceError), 11},
    {sipName_ServiceMissingError, static_cast<int>(QAudioDecoder::ServiceMissingError), 11},
    {sipName_StoppedState, static_cast<int>(QAudioDecoder::StoppedState), 12},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QAudioDecoder[] = {
    {"durationChanged(qint64)", "\1QAudioDecoder.durationChanged[int]", 0, 0},
    {"positionChanged(qint64)", "\1QAudioDecoder.positionChanged[int]", 0, 0},
    {"sourceChanged()", "\1QAudioDecoder.sourceChanged", 0, 0},
    {"formatChanged(QAudioFormat)", "\1QAudioDecoder.formatChanged[QAudioFormat]", 0, 0},
    {"stateChanged(QAudioDecoder::State)", "\1QAudioDecoder.stateChanged[QAudioDecoder.State]", 0, 0},
    {"finished()", "\1QAudioDecoder.finished", 0, 0},
    {"bufferReady()", "\1QAudioDecoder.bufferReady", 0, 0},
    {"bufferAvailableChanged(bool)", "\1QAudioDecoder.bufferAvailableChanged[bool]", 0, 0},
    {"error(QAudioDecoder::Error)", "\1QAudioDecoder.error[QAudioDecoder.Error]", &methods_QAudioDecoder[9], 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QAudioDecoder, "\1QAudioDecoder(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QAudioDecoder = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QAudioDecoder,
        {0}
    },
    {
        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
},
    &QAudioDecoder::staticMetaObject,
    0,
    signals_QAudioDecoder,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaobject.sip"
#include <qmediaobject.h>
#line 42720 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 42724 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmediaservice.sip"
#include <qmediaservice.h>
#line 42727 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 42730 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qmultimedia.sip"
#include <qmultimedia.h>
#line 42733 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 42736 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 42739 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 34 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 42742 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 42745 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 42748 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 42751 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 42754 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 42757 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 42760 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 42763 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 42766 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 42769 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 42772 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 42775 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 42778 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void unbind(QObject*);
    bool bind(QObject*);
    QMediaService* service() const;
    QMultimedia::AvailabilityStatus availability() const;
    bool isAvailable() const;

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

const QMetaObject *sipQMediaObject::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf,sipType_QMediaObject);
}

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

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

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

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

    ((sipVH_QtCore_46)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMediaObject::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QMediaObject::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMediaObject::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QMediaObject::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMediaObject::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QMediaObject::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMediaObject::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QMediaObject::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQMediaObject::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QMediaObject::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQMediaObject::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QMediaObject::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMediaObject::unbind(QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_unbind);

    if (!sipMeth)
    {
        QMediaObject::unbind(a0);
        return;
    }

    extern void sipVH_QtMultimedia_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*);

    sipVH_QtMultimedia_5(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQMediaObject::bind(QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_bind);

    if (!sipMeth)
        return QMediaObject::bind(a0);

    typedef bool (*sipVH_QtCore_63)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*);

    return ((sipVH_QtCore_63)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[63]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QMediaService* sipQMediaObject::service() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_service);

    if (!sipMeth)
        return QMediaObject::service();

    extern QMediaService* sipVH_QtMultimedia_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtMultimedia_6(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QMultimedia::AvailabilityStatus sipQMediaObject::availability() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_availability);

    if (!sipMeth)
        return QMediaObject::availability();

    extern QMultimedia::AvailabilityStatus sipVH_QtMultimedia_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtMultimedia_0(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQMediaObject::isAvailable() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_isAvailable);

    if (!sipMeth)
        return QMediaObject::isAvailable();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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, "QMediaObject.sender() -> 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 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 43161 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QMediaObject.receivers(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 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 43220 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QMediaObject.timerEvent(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 || sipIsDerived((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, "QMediaObject.childEvent(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 || sipIsDerived((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, "QMediaObject.customEvent(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 || sipIsDerived((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, "QMediaObject.connectNotify(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 || sipIsDerived((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, "QMediaObject.disconnectNotify(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 || sipIsDerived((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, "QMediaObject.senderSignalIndex() -> 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, "QMediaObject.isSignalConnected(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, "QMediaObject.isAvailable() -> 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 || sipIsDerived((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, "QMediaObject.availability() -> 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 || sipIsDerived((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, "QMediaObject.service() -> 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 || sipIsDerived((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, "QMediaObject.notifyInterval() -> 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, "QMediaObject.setNotifyInterval(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, "QMediaObject.bind(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 || sipIsDerived((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, "QMediaObject.unbind(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 || sipIsDerived((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, "QMediaObject.isMetaDataAvailable() -> 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, "QMediaObject.metaData(str) -> QVariant");

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, "QMediaObject.availableMetaData() -> list-of-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, "QMediaObject.addPropertyWatch(QByteArray)");

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, "QMediaObject.removePropertyWatch(QByteArray)");

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 superclass hierarchy. */
extern "C" {static void *cast_QMediaObject(void *, const sipTypeDef *);}
static void *cast_QMediaObject(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QMediaObject)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QMediaObject *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQMediaObject *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QMediaObject(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{162, 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)}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QMediaObject[] = {
    {"availabilityChanged(QMultimedia::AvailabilityStatus)", "\1QMediaObject.availabilityChanged[QMultimedia.AvailabilityStatus]", 0, 0},
    {"metaDataChanged()", "\1QMediaObject.metaDataChanged", 0, 0},
    {"metaDataChanged(QString,QVariant)", "\1QMediaObject.metaDataChanged[str, QVariant]", 0, 0},
    {"metaDataAvailableChanged(bool)", "\1QMediaObject.metaDataAvailableChanged[bool]", 0, 0},
    {"notifyIntervalChanged(int)", "\1QMediaObject.notifyIntervalChanged[int]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QMediaObject, "\1QMediaObject(QObject, QMediaService)");


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QMediaObject = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMediaObject,
        {0}
    },
    {
        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
},
    &QMediaObject::staticMetaObject,
    0,
    signals_QMediaObject,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qaudiobuffer.sip"
#include <qaudiobuffer.h>
#line 43937 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 43941 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qaudioformat.sip"
#include <qaudioformat.h>
#line 43944 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"


PyDoc_STRVAR(doc_QAudioBuffer_isValid, "QAudioBuffer.isValid() -> 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, "QAudioBuffer.format() -> 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, "QAudioBuffer.frameCount() -> 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, "QAudioBuffer.sampleCount() -> 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, "QAudioBuffer.byteCount() -> 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, "QAudioBuffer.duration() -> 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, "QAudioBuffer.startTime() -> 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, "QAudioBuffer.constData() -> 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, "QAudioBuffer.data() -> 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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QAudioBuffer(void *, const sipTypeDef *);}
static void *cast_QAudioBuffer(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QAudioBuffer)
        return ptr;

    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 (sipIsPyOwned(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(QByteArray, QAudioFormat, int startTime=-1)\n"
    "QAudioBuffer(int, QAudioFormat, int startTime=-1)\n"
    "QAudioBuffer(QAudioBuffer)");


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QAudioBuffer = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QAudioBuffer,
        {0}
    },
    {
        sipNameNr_QAudioBuffer,
        {0, 0, 1},
        9, methods_QAudioBuffer,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAudioBuffer,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QAudioBuffer,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qaudio.sip"
#include <qaudio.h>
#line 44384 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"


static sipEnumMemberDef enummembers_QAudio[] = {
    {sipName_ActiveState, static_cast<int>(QAudio::ActiveState), 8},
    {sipName_AudioInput, static_cast<int>(QAudio::AudioInput), 7},
    {sipName_AudioOutput, static_cast<int>(QAudio::AudioOutput), 7},
    {sipName_FatalError, static_cast<int>(QAudio::FatalError), 6},
    {sipName_IOError, static_cast<int>(QAudio::IOError), 6},
    {sipName_IdleState, static_cast<int>(QAudio::IdleState), 8},
    {sipName_NoError, static_cast<int>(QAudio::NoError), 6},
    {sipName_OpenError, static_cast<int>(QAudio::OpenError), 6},
    {sipName_StoppedState, static_cast<int>(QAudio::StoppedState), 8},
    {sipName_SuspendedState, static_cast<int>(QAudio::SuspendedState), 8},
    {sipName_UnderrunError, static_cast<int>(QAudio::UnderrunError), 6},
};


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QAudio = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_NAMESPACE,
        sipNameNr_QAudio,
        {0}
    },
    {
        sipNameNr_QAudio,
        {0, 0, 1},
        0, 0,
        11, 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
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qabstractvideosurface.sip"
#include <qabstractvideosurface.h>
#line 44458 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 44462 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 44465 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qvideosurfaceformat.sip"
#include <qvideosurfaceformat.h>
#line 44468 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qvideoframe.sip"
#include <qvideoframe.h>
#line 44471 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qpymultimedia_qlist.sip"
#include <qvideoframe.h>
#line 44474 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qabstractvideobuffer.sip"
#include <qabstractvideobuffer.h>
#line 44477 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 44480 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 44483 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 44486 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 44489 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 44492 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 44495 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 44498 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 44501 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 44504 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 44507 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 44510 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 44513 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 44516 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 44519 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 44522 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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:
    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 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;

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()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQAbstractVideoSurface::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf,sipType_QAbstractVideoSurface);
}

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));
}

void sipQAbstractVideoSurface::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QAbstractVideoSurface::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractVideoSurface::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QAbstractVideoSurface::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractVideoSurface::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QAbstractVideoSurface::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractVideoSurface::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QAbstractVideoSurface::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractVideoSurface::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QAbstractVideoSurface::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQAbstractVideoSurface::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QAbstractVideoSurface::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

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);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQAbstractVideoSurface::present(const QVideoFrame& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,sipName_QAbstractVideoSurface,sipName_present);

    if (!sipMeth)
        return 0;

    extern bool sipVH_QtMultimedia_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVideoFrame&);

    return sipVH_QtMultimedia_7(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractVideoSurface::stop()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_stop);

    if (!sipMeth)
    {
        QAbstractVideoSurface::stop();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQAbstractVideoSurface::start(const QVideoSurfaceFormat& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_start);

    if (!sipMeth)
        return QAbstractVideoSurface::start(a0);

    extern bool sipVH_QtMultimedia_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVideoSurfaceFormat&);

    return sipVH_QtMultimedia_8(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVideoSurfaceFormat sipQAbstractVideoSurface::nearestFormat(const QVideoSurfaceFormat& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_nearestFormat);

    if (!sipMeth)
        return QAbstractVideoSurface::nearestFormat(a0);

    extern QVideoSurfaceFormat sipVH_QtMultimedia_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVideoSurfaceFormat&);

    return sipVH_QtMultimedia_9(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQAbstractVideoSurface::isFormatSupported(const QVideoSurfaceFormat& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_isFormatSupported);

    if (!sipMeth)
        return QAbstractVideoSurface::isFormatSupported(a0);

    extern bool sipVH_QtMultimedia_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVideoSurfaceFormat&);

    return sipVH_QtMultimedia_8(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], 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[12]),sipPySelf,sipName_QAbstractVideoSurface,sipName_supportedPixelFormats);

    if (!sipMeth)
        return QList<QVideoFrame::PixelFormat>();

    extern QList<QVideoFrame::PixelFormat> sipVH_QtMultimedia_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractVideoBuffer::HandleType);

    return sipVH_QtMultimedia_10(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], 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, "QAbstractVideoSurface.sender() -> 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 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 44921 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QAbstractVideoSurface.receivers(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 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 44980 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QAbstractVideoSurface.timerEvent(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 || sipIsDerived((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, "QAbstractVideoSurface.childEvent(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 || sipIsDerived((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, "QAbstractVideoSurface.customEvent(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 || sipIsDerived((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, "QAbstractVideoSurface.connectNotify(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 || sipIsDerived((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, "QAbstractVideoSurface.disconnectNotify(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 || sipIsDerived((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, "QAbstractVideoSurface.senderSignalIndex() -> 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, "QAbstractVideoSurface.isSignalConnected(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, "QAbstractVideoSurface.supportedPixelFormats(QAbstractVideoBuffer.HandleType type=QAbstractVideoBuffer.NoHandle) -> list-of-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, "QAbstractVideoSurface.isFormatSupported(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 || sipIsDerived((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, "QAbstractVideoSurface.nearestFormat(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 || sipIsDerived((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, "QAbstractVideoSurface.surfaceFormat() -> 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, "QAbstractVideoSurface.start(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 || sipIsDerived((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, "QAbstractVideoSurface.stop()");

extern "C" {static PyObject *meth_QAbstractVideoSurface_stop(PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoSurface_stop(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((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, "QAbstractVideoSurface.isActive() -> 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, "QAbstractVideoSurface.present(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, "QAbstractVideoSurface.error() -> 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, "QAbstractVideoSurface.setError(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, "QAbstractVideoSurface.nativeResolution() -> 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, "QAbstractVideoSurface.setNativeResolution(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 superclass hierarchy. */
extern "C" {static void *cast_QAbstractVideoSurface(void *, const sipTypeDef *);}
static void *cast_QAbstractVideoSurface(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QAbstractVideoSurface)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QAbstractVideoSurface *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* 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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQAbstractVideoSurface *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QAbstractVideoSurface(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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[] = {{162, 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), 4},
    {sipName_NoError, static_cast<int>(QAbstractVideoSurface::NoError), 4},
    {sipName_ResourceError, static_cast<int>(QAbstractVideoSurface::ResourceError), 4},
    {sipName_StoppedError, static_cast<int>(QAbstractVideoSurface::StoppedError), 4},
    {sipName_UnsupportedFormatError, static_cast<int>(QAbstractVideoSurface::UnsupportedFormatError), 4},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QAbstractVideoSurface[] = {
    {"nativeResolutionChanged(QSize)", "\1QAbstractVideoSurface.nativeResolutionChanged[QSize]", 0, 0},
    {"supportedFormatsChanged()", "\1QAbstractVideoSurface.supportedFormatsChanged", 0, 0},
    {"surfaceFormatChanged(QVideoSurfaceFormat)", "\1QAbstractVideoSurface.surfaceFormatChanged[QVideoSurfaceFormat]", 0, 0},
    {"activeChanged(bool)", "\1QAbstractVideoSurface.activeChanged[bool]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QAbstractVideoSurface, "\1QAbstractVideoSurface(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QAbstractVideoSurface = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QAbstractVideoSurface,
        {0}
    },
    {
        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
},
    &QAbstractVideoSurface::staticMetaObject,
    0,
    signals_QAbstractVideoSurface,
    0
};

#line 26 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/sip/QtMultimedia/qabstractvideobuffer.sip"
#include <qabstractvideobuffer.h>
#line 45720 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/QtMultimedia/sipQtMultimediapart0.cpp"

#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 45724 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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()
{
    sipCommonDtor(sipPySelf);
}

void sipQAbstractVideoBuffer::release()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_release);

    if (!sipMeth)
    {
        QAbstractVideoBuffer::release();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], 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_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtMultimedia_11(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQAbstractVideoBuffer::unmap()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,sipName_QAbstractVideoBuffer,sipName_unmap);

    if (!sipMeth)
        return;

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtMultimedia_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], 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 unsigned char* sipVH_QtMultimedia_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractVideoBuffer::MapMode,int*,int*, int);

    return sipVH_QtMultimedia_12(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, -92);
}

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_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtMultimedia_13(sipGILState, sipModuleAPI_QtMultimedia_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QAbstractVideoBuffer_handleType, "QAbstractVideoBuffer.handleType() -> 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, "QAbstractVideoBuffer.mapMode() -> 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, "QAbstractVideoBuffer.map(QAbstractVideoBuffer.MapMode) -> (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/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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 45947 "/usr/src/ports/python3-pyqt5/python3-pyqt5-5.4.2-1.i686/build/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, "QAbstractVideoBuffer.unmap()");

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, "QAbstractVideoBuffer.handle() -> QVariant");

extern "C" {static PyObject *meth_QAbstractVideoBuffer_handle(PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoBuffer_handle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((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, "QAbstractVideoBuffer.release()");

extern "C" {static PyObject *meth_QAbstractVideoBuffer_release(PyObject *, PyObject *);}
static PyObject *meth_QAbstractVideoBuffer_release(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QAbstractVideoBuffer(void *, const sipTypeDef *);}
static void *cast_QAbstractVideoBuffer(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QAbstractVideoBuffer)
        return ptr;

    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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipQAbstractVideoBuffer *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QAbstractVideoBuffer(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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)");


pyqt5ClassTypeDef sipTypeDef_QtMultimedia_QAbstractVideoBuffer = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QAbstractVideoBuffer,
        {0}
    },
    {
        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,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    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,
    cast_QAbstractVideoBuffer,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};
