/*
 * Module code.
 *
 * Generated by SIP 4.18.1
 *
 * Copyright (c) 2015 Riverbank Computing Limited <info@riverbankcomputing.com>
 * 
 * This file is part of PyQt4.
 * 
 * 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 "sipAPIQtDeclarative.h"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativeproperty.sip"
#include <qdeclarativeproperty.h>
#line 35 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtNetwork/qnetworkaccessmanager.sip"
#include <qnetworkaccessmanager.h>
#line 38 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 163 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qrect.sip"
#include <qrect.h>
#line 41 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 44 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 47 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 50 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qimage.sip"
#include <qimage.h>
#line 53 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativeengine.sip"
#include <qdeclarativeengine.h>
#line 56 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativecontext.sip"
#include <qdeclarativecontext.h>
#line 59 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativeerror.sip"
#include <qdeclarativeerror.h>
#line 62 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativelist.sip"
#include <qdeclarativelist.h>
#line 65 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativescriptstring.sip"
#include <qdeclarativescriptstring.h>
#line 68 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

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

void sipVH_QtDeclarative_0(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QDeclarativeProperty& a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "N",new QDeclarativeProperty(a0),sipType_QDeclarativeProperty,NULL);

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

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

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

    return sipRes;
}

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

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

QPixmap sipVH_QtDeclarative_3(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QString& a0,QSize*a1,const QSize& a2)
{
    QPixmap sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NDN",new QString(a0),sipType_QString,NULL,a1,sipType_QSize,NULL,new QSize(a2),sipType_QSize,NULL);

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

    return sipRes;
}

QImage sipVH_QtDeclarative_4(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QString& a0,QSize*a1,const QSize& a2)
{
    QImage sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NDN",new QString(a0),sipType_QString,NULL,a1,sipType_QSize,NULL,new QSize(a2),sipType_QSize,NULL);

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

    return sipRes;
}

void sipVH_QtDeclarative_5(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QDeclarativeEngine*a0,const char*a1)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "DA",a0,sipType_QDeclarativeEngine,NULL,a1);

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

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

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

QObject* sipVH_QtDeclarative_7(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QDeclarativeContext*a0)
{
    QObject* sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QDeclarativeContext,NULL);

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

    return sipRes;
}


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

#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativeengine.sip"
    static struct class_graph {
        const char *name;
        sipTypeDef **type;
        int yes, no;
    } graph[] = {
        {sipName_QDeclarativeView, &sipType_QDeclarativeView, -1, 1},
        {sipName_QDeclarativeEngine, &sipType_QDeclarativeEngine, -1, 2},
        {sipName_QDeclarativeComponent, &sipType_QDeclarativeComponent, -1, 3},
        {sipName_QDeclarativeItem, &sipType_QDeclarativeItem, -1, 4},
        {sipName_QDeclarativeContext, &sipType_QDeclarativeContext, -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 546 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

    return sipType;
}
static sipEnumTypeDef enumTypes[] = {
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDeclarativeView__Status, {0}}, sipNameNr_Status, 22, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDeclarativeView__ResizeMode, {0}}, sipNameNr_ResizeMode, 22, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDeclarativeProperty__Type, {0}}, sipNameNr_Type, 16, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDeclarativeProperty__PropertyTypeCategory, {0}}, sipNameNr_PropertyTypeCategory, 16, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDeclarativeItem__TransformOrigin, {0}}, sipNameNr_TransformOrigin, 10, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDeclarativeImageProvider__ImageType, {0}}, sipNameNr_ImageType, 8, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDeclarativeEngine__ObjectOwnership, {0}}, sipNameNr_ObjectOwnership, 3, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDeclarativeComponent__Status, {0}}, sipNameNr_Status, 0, NULL},
};


/*
 * This defines each type in this module.
 */
static sipTypeDef *typesTable[] = {
    &sipTypeDef_QtDeclarative_QDeclarativeComponent.super.ctd_base,
    &enumTypes[7].etd_base,
    &sipTypeDef_QtDeclarative_QDeclarativeContext.super.ctd_base,
    &sipTypeDef_QtDeclarative_QDeclarativeEngine.super.ctd_base,
    &enumTypes[6].etd_base,
    &sipTypeDef_QtDeclarative_QDeclarativeError.super.ctd_base,
    &sipTypeDef_QtDeclarative_QDeclarativeExpression.super.ctd_base,
    &sipTypeDef_QtDeclarative_QDeclarativeExtensionPlugin.super.ctd_base,
    &sipTypeDef_QtDeclarative_QDeclarativeImageProvider.super.ctd_base,
    &enumTypes[5].etd_base,
    &sipTypeDef_QtDeclarative_QDeclarativeItem.super.ctd_base,
    &enumTypes[4].etd_base,
    &sipTypeDef_QtDeclarative_QDeclarativeListProperty_0100QObject.mtd_base,
    &sipTypeDef_QtDeclarative_QDeclarativeListReference.super.ctd_base,
    &sipTypeDef_QtDeclarative_QDeclarativeNetworkAccessManagerFactory.super.ctd_base,
    &sipTypeDef_QtDeclarative_QDeclarativeParserStatus.super.ctd_base,
    &sipTypeDef_QtDeclarative_QDeclarativeProperty.super.ctd_base,
    &enumTypes[3].etd_base,
    &enumTypes[2].etd_base,
    &sipTypeDef_QtDeclarative_QDeclarativePropertyMap.super.ctd_base,
    &sipTypeDef_QtDeclarative_QDeclarativePropertyValueSource.super.ctd_base,
    &sipTypeDef_QtDeclarative_QDeclarativeScriptString.super.ctd_base,
    &sipTypeDef_QtDeclarative_QDeclarativeView.super.ctd_base,
    &enumTypes[1].etd_base,
    &enumTypes[0].etd_base,
    &sipTypeDef_QtDeclarative_QList_0100QDeclarativeError.mtd_base,
    &sipTypeDef_QtDeclarative_QPyDeclarativePropertyValueSource.super.ctd_base,
};


/*
 * This defines the virtual handlers that this module implements and can be
 * used by other modules.
 */
static sipVirtHandlerFunc virtHandlersTable[] = {
    (sipVirtHandlerFunc)sipVH_QtDeclarative_0,
    (sipVirtHandlerFunc)sipVH_QtDeclarative_1,
    (sipVirtHandlerFunc)sipVH_QtDeclarative_2,
    (sipVirtHandlerFunc)sipVH_QtDeclarative_3,
    (sipVirtHandlerFunc)sipVH_QtDeclarative_4,
    (sipVirtHandlerFunc)sipVH_QtDeclarative_5,
    (sipVirtHandlerFunc)sipVH_QtDeclarative_6,
    (sipVirtHandlerFunc)sipVH_QtDeclarative_7,
};


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


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


/* This defines this module. */
sipExportedModuleDef sipModuleAPI_QtDeclarative = {
    0,
    SIP_API_MINOR_NR,
    sipNameNr_PyQt4_QtDeclarative,
    0,
    -1,
    sipStrings_QtDeclarative,
    importsTable,
    NULL,
    27,
    typesTable,
    NULL,
    0,
    NULL,
    0,
    NULL,
    virtHandlersTable,
    NULL,
    convertorsTable,
    {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL},
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL
};


/* The SIP API and the APIs of any imported modules. */
const sipAPIDef *sipAPI_QtDeclarative;
const sipExportedModuleDef *sipModuleAPI_QtDeclarative_QtCore;
const sipExportedModuleDef *sipModuleAPI_QtDeclarative_QtNetwork;
const sipExportedModuleDef *sipModuleAPI_QtDeclarative_QtGui;

sip_qt_metaobject_func sip_QtDeclarative_qt_metaobject;
sip_qt_metacall_func sip_QtDeclarative_qt_metacall;
sip_qt_metacast_func sip_QtDeclarative_qt_metacast;


/* The Python module initialisation function. */
#if PY_MAJOR_VERSION >= 3
#define SIP_MODULE_ENTRY        PyInit_QtDeclarative
#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        initQtDeclarative
#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,
        "PyQt4.QtDeclarative",
        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_PyQt4_QtDeclarative, sip_methods);
#else
    sipModule = Py_InitModule(const_cast<char *>(sipName_PyQt4_QtDeclarative), 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_QtDeclarative = reinterpret_cast<const sipAPIDef *>(PyCapsule_GetPointer(sip_capiobj, SIP_MODULE_NAME "._C_API"));
#else
    sipAPI_QtDeclarative = reinterpret_cast<const sipAPIDef *>(PyCObject_AsVoidPtr(sip_capiobj));
#endif

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

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

    sip_QtDeclarative_qt_metaobject = (sip_qt_metaobject_func)sipImportSymbol("qtcore_qt_metaobject");
    sip_QtDeclarative_qt_metacall = (sip_qt_metacall_func)sipImportSymbol("qtcore_qt_metacall");
    sip_QtDeclarative_qt_metacast = (sip_qt_metacast_func)sipImportSymbol("qtcore_qt_metacast");

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

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

    /* Get the APIs of the modules that this one is dependent on. */
    sipModuleAPI_QtDeclarative_QtCore = sipModuleAPI_QtDeclarative.em_imports[0].im_module;
    sipModuleAPI_QtDeclarative_QtNetwork = sipModuleAPI_QtDeclarative.em_imports[1].im_module;
    sipModuleAPI_QtDeclarative_QtGui = sipModuleAPI_QtDeclarative.em_imports[2].im_module;
#line 114 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativeengine.sip"
qpydeclarative_post_init(sipModuleDict);
#line 792 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

    SIP_MODULE_RETURN(sipModule);
}

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 799 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativeerror.sip"
#include <qdeclarativeerror.h>
#line 803 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"


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


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


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


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



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

#line 59 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_QDeclarativeError, SIP_NOT_NONE));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<QDeclarativeError> *ql = new QList<QDeclarativeError>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        int state;
        QDeclarativeError *t = reinterpret_cast<QDeclarativeError *>(sipConvertToType(itm, sipType_QDeclarativeError, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_QDeclarativeError, state);

            delete ql;
            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_QDeclarativeError, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 893 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
}


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

#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QDeclarativeError *t = new QDeclarativeError(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_QDeclarativeError, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 927 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtDeclarative_QList_0100QDeclarativeError = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_607,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100QDeclarativeError,
    array_QList_0100QDeclarativeError,
    copy_QList_0100QDeclarativeError,
    release_QList_0100QDeclarativeError,
    convertTo_QList_0100QDeclarativeError,
    convertFrom_QList_0100QDeclarativeError
};

#line 25 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qpydeclarativepropertyvaluesource.sip"
#include <qpydeclarativepropertyvaluesource.h>
#line 958 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 962 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 965 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 968 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 971 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 974 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 977 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 980 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 983 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 986 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 989 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 992 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 995 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 998 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativeproperty.sip"
#include <qdeclarativeproperty.h>
#line 1001 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"


class sipQPyDeclarativePropertyValueSource : public QPyDeclarativePropertyValueSource
{
public:
    sipQPyDeclarativePropertyValueSource(QObject*);
    virtual ~sipQPyDeclarativePropertyValueSource();

    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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() const;

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[8];
};

sipQPyDeclarativePropertyValueSource::sipQPyDeclarativePropertyValueSource(QObject*a0): QPyDeclarativePropertyValueSource(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQPyDeclarativePropertyValueSource::~sipQPyDeclarativePropertyValueSource()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQPyDeclarativePropertyValueSource::metaObject() const
{
    return sip_QtDeclarative_qt_metaobject(sipPySelf,sipType_QPyDeclarativePropertyValueSource);
}

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

    if (_id >= 0)
        _id = sip_QtDeclarative_qt_metacall(sipPySelf,sipType_QPyDeclarativePropertyValueSource,_c,_id,_a);

    return _id;
}

void *sipQPyDeclarativePropertyValueSource::qt_metacast(const char *_clname)
{
    return (sip_QtDeclarative_qt_metacast(sipPySelf, sipType_QPyDeclarativePropertyValueSource, _clname)) ? this : QPyDeclarativePropertyValueSource::qt_metacast(_clname);
}

void sipQPyDeclarativePropertyValueSource::setTarget(const QDeclarativeProperty& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_QPyDeclarativePropertyValueSource,sipName_setTarget);

    if (!sipMeth)
        return;

    extern void sipVH_QtDeclarative_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QDeclarativeProperty&);

    sipVH_QtDeclarative_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQPyDeclarativePropertyValueSource::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQPyDeclarativePropertyValueSource::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_17)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    return ((sipVH_QtCore_18)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

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

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

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

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

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

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

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

void sipQPyDeclarativePropertyValueSource::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQPyDeclarativePropertyValueSource::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

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


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

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

    {
        const sipQPyDeclarativePropertyValueSource *sipCpp;

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

#line 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 1295 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

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

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

    return NULL;
}


PyDoc_STRVAR(doc_QPyDeclarativePropertyValueSource_receivers, "receivers(self, QT_SIGNAL) -> int");

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

    {
        char* a0;
        const sipQPyDeclarativePropertyValueSource *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QPyDeclarativePropertyValueSource, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 1341 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

    {
        QTimerEvent* a0;
        sipQPyDeclarativePropertyValueSource *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

    {
        QChildEvent* a0;
        sipQPyDeclarativePropertyValueSource *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

    {
        QEvent* a0;
        sipQPyDeclarativePropertyValueSource *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QPyDeclarativePropertyValueSource_connectNotify, "connectNotify(self, QT_SIGNAL)");

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

    {
        char* a0;
        sipQPyDeclarativePropertyValueSource *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QPyDeclarativePropertyValueSource, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QPyDeclarativePropertyValueSource_disconnectNotify, "disconnectNotify(self, QT_SIGNAL)");

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

    {
        char* a0;
        sipQPyDeclarativePropertyValueSource *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QPyDeclarativePropertyValueSource, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

    {
        const sipQPyDeclarativePropertyValueSource *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_QDeclarativePropertyValueSource)
        return static_cast<QDeclarativePropertyValueSource *>(sipCpp);

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QPyDeclarativePropertyValueSource(sipSimpleWrapper *);}
static void dealloc_QPyDeclarativePropertyValueSource(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQPyDeclarativePropertyValueSource *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

    {
        QObject* a0 = 0;

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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QPyDeclarativePropertyValueSource[] = {{141, 0, 0}, {20, 255, 1}};


static PyMethodDef methods_QPyDeclarativePropertyValueSource[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QPyDeclarativePropertyValueSource_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QPyDeclarativePropertyValueSource_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QPyDeclarativePropertyValueSource_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QPyDeclarativePropertyValueSource_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QPyDeclarativePropertyValueSource_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QPyDeclarativePropertyValueSource_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QPyDeclarativePropertyValueSource_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QPyDeclarativePropertyValueSource_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QPyDeclarativePropertyValueSource, "\1QPyDeclarativePropertyValueSource(parent: QObject = None)");


pyqt4ClassTypeDef sipTypeDef_QtDeclarative_QPyDeclarativePropertyValueSource = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QPyDeclarativePropertyValueSource,
        {0}
    },
    {
        sipNameNr_QPyDeclarativePropertyValueSource,
        {0, 0, 1},
        8, methods_QPyDeclarativePropertyValueSource,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QPyDeclarativePropertyValueSource,
    -1,
    -1,
    supers_QPyDeclarativePropertyValueSource,
    0,
    init_type_QPyDeclarativePropertyValueSource,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QPyDeclarativePropertyValueSource,
    0,
    0,
    0,
    release_QPyDeclarativePropertyValueSource,
    cast_QPyDeclarativePropertyValueSource,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QPyDeclarativePropertyValueSource::staticMetaObject,
    0,
    0
};

#line 24 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qpydeclarativelistproperty.sip"
#include <QDeclarativeListProperty>
#line 1684 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 1688 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qpydeclarativelistproperty.sip"
#if defined(SIP_USE_PYCAPSULE)
extern "C" {
static void qpydeclarative_QPyDeclarativeListProperty_delete(PyObject *capsule)
{
    delete reinterpret_cast<QDeclarativeListProperty<QObject> *>(PyCapsule_GetPointer(capsule, 0));
}
}
#else
extern "C" {
static void qpydeclarative_QPyDeclarativeListProperty_delete(void *ptr)
{
    delete reinterpret_cast<QDeclarativeListProperty<QObject> *>(ptr);
}
}
#endif
#line 1705 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"


extern "C" {static void assign_QDeclarativeListProperty_0100QObject(void *, SIP_SSIZE_T, const void *);}
static void assign_QDeclarativeListProperty_0100QObject(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QDeclarativeListProperty<QObject> *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QDeclarativeListProperty<QObject> *>(sipSrc);
}


extern "C" {static void *array_QDeclarativeListProperty_0100QObject(SIP_SSIZE_T);}
static void *array_QDeclarativeListProperty_0100QObject(SIP_SSIZE_T sipNrElem)
{
    return new QDeclarativeListProperty<QObject>[sipNrElem];
}


extern "C" {static void *copy_QDeclarativeListProperty_0100QObject(const void *, SIP_SSIZE_T);}
static void *copy_QDeclarativeListProperty_0100QObject(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QDeclarativeListProperty<QObject>(reinterpret_cast<const QDeclarativeListProperty<QObject> *>(sipSrc)[sipSrcIdx]);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QDeclarativeListProperty_0100QObject(void *, int);}
static void release_QDeclarativeListProperty_0100QObject(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QDeclarativeListProperty<QObject> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QDeclarativeListProperty_0100QObject(PyObject *, void **, int *, PyObject *);}
static int convertTo_QDeclarativeListProperty_0100QObject(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *)
{
    QDeclarativeListProperty<QObject> **sipCppPtr = reinterpret_cast<QDeclarativeListProperty<QObject> **>(sipCppPtrV);

#line 56 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qpydeclarativelistproperty.sip"
    if (sipIsErr == NULL)
    {
#if defined(SIP_USE_PYCAPSULE)
        return PyCapsule_CheckExact(sipPy);
#else
        return PyCObject_Check(sipPy);
#endif
    }

#if defined(SIP_USE_PYCAPSULE)
    *sipCppPtr = reinterpret_cast<QDeclarativeListProperty<QObject> *>(
            PyCapsule_GetPointer(sipPy, 0));
#else
    *sipCppPtr = reinterpret_cast<QDeclarativeListProperty<QObject> *>(
            PyCObject_AsVoidPtr(sipPy));
#endif

    // It isn't a temporary copy.
    return 0;
#line 1765 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
}


extern "C" {static PyObject *convertFrom_QDeclarativeListProperty_0100QObject(void *, PyObject *);}
static PyObject *convertFrom_QDeclarativeListProperty_0100QObject(void *sipCppV, PyObject *)
{
   QDeclarativeListProperty<QObject> *sipCpp = reinterpret_cast<QDeclarativeListProperty<QObject> *>(sipCppV);

#line 46 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qpydeclarativelistproperty.sip"
#if defined(SIP_USE_PYCAPSULE)
    return PyCapsule_New(sipCpp, 0,
            qpydeclarative_QPyDeclarativeListProperty_delete);
#else
    return PyCObject_FromVoidPtr(sipCpp,
            qpydeclarative_QPyDeclarativeListProperty_delete);
#endif
#line 1782 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtDeclarative_QDeclarativeListProperty_0100QObject = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_190,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QDeclarativeListProperty_0100QObject,
    array_QDeclarativeListProperty_0100QObject,
    copy_QDeclarativeListProperty_0100QObject,
    release_QDeclarativeListProperty_0100QObject,
    convertTo_QDeclarativeListProperty_0100QObject,
    convertFrom_QDeclarativeListProperty_0100QObject
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativeview.sip"
#include <qdeclarativeview.h>
#line 1813 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1817 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 102 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 1820 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 1823 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1826 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1829 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 528 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1832 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 565 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1835 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 1838 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 1841 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativeerror.sip"
#include <qdeclarativeerror.h>
#line 1844 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 1144 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 1847 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativecontext.sip"
#include <qdeclarativecontext.h>
#line 1850 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativeengine.sip"
#include <qdeclarativeengine.h>
#line 1853 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 1856 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1859 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 1862 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 1865 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 1868 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 1871 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 1970 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 1874 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 163 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qrect.sip"
#include <qrect.h>
#line 1877 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 651 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1880 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 600 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1883 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1886 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 256 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1889 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 478 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1892 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 509 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1895 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 743 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1898 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 769 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1901 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 796 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1904 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 785 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1907 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 622 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1910 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 1913 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 1916 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qbrush.sip"
#include <qbrush.h>
#line 1919 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1922 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 1925 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 114 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 1928 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 1931 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 354 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 1934 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 1937 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qrect.sip"
#include <qrect.h>
#line 1940 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 1943 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 1946 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 1949 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 1952 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1955 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 1958 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 1961 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qscrollbar.sip"
#include <qscrollbar.h>
#line 1964 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 1967 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qframe.sip"
#include <qframe.h>
#line 1970 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1973 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1976 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 1979 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 1982 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1985 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 1988 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1991 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 1994 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 1997 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qfont.sip"
#include <qfont.h>
#line 2000 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2003 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 2006 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 2009 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 611 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2012 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 858 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2015 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 407 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2018 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 578 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2021 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 552 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2024 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 2027 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 56 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 2030 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 2033 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 2036 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qaction.sip"
#include <qaction.h>
#line 2039 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qlayout.sip"
#include <qlayout.h>
#line 2042 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qregion.sip"
#include <qregion.h>
#line 2045 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 2048 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2051 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 2054 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 2057 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qicon.sip"
#include <qicon.h>
#line 2060 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 2063 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 2066 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2069 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 2072 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 2075 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 2078 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 2081 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 2084 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"


class sipQDeclarativeView : public QDeclarativeView
{
public:
    sipQDeclarativeView(QWidget*);
    sipQDeclarativeView(const QUrl&,QWidget*);
    virtual ~sipQDeclarativeView();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() const;
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtect_resetInputContext();
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    void sipProtectVirt_enabledChange(bool,bool);
    void sipProtectVirt_paletteChange(bool,const QPalette&);
    void sipProtectVirt_fontChange(bool,const QFont&);
    void sipProtectVirt_windowActivationChange(bool,bool);
    void sipProtectVirt_languageChange(bool);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtect_drawFrame(QPainter*);
    void sipProtect_setViewportMargins(int,int,int,int);
    void sipProtect_setViewportMargins(const QMargins&);
    void sipProtect_setupViewport(QWidget*);
    bool sipProtectVirt_event(bool,QEvent*);
    bool sipProtectVirt_viewportEvent(bool,QEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_scrollContentsBy(bool,int,int);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtectVirt_drawBackground(bool,QPainter*,const QRectF&);
    void sipProtectVirt_drawForeground(bool,QPainter*,const QRectF&);
    void sipProtectVirt_drawItems(bool,QPainter*,int,QGraphicsItem**,const QStyleOptionGraphicsItem*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    bool sipProtectVirt_eventFilter(bool,QObject*,QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void changeEvent(QEvent*);
    QSize minimumSizeHint() const;
    void drawItems(QPainter*,int,QGraphicsItem**,const QStyleOptionGraphicsItem*);
    void drawForeground(QPainter*,const QRectF&);
    void drawBackground(QPainter*,const QRectF&);
    void inputMethodEvent(QInputMethodEvent*);
    void showEvent(QShowEvent*);
    void scrollContentsBy(int,int);
    void wheelEvent(QWheelEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    bool focusNextPrevChild(bool);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void dropEvent(QDropEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    bool viewportEvent(QEvent*);
    bool event(QEvent*);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    bool eventFilter(QObject*,QEvent*);
    void timerEvent(QTimerEvent*);
    void paintEvent(QPaintEvent*);
    void resizeEvent(QResizeEvent*);
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[52];
};

sipQDeclarativeView::sipQDeclarativeView(QWidget*a0): QDeclarativeView(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDeclarativeView::sipQDeclarativeView(const QUrl& a0,QWidget*a1): QDeclarativeView(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDeclarativeView::~sipQDeclarativeView()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQDeclarativeView::metaObject() const
{
    return sip_QtDeclarative_qt_metaobject(sipPySelf,sipType_QDeclarativeView);
}

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

    if (_id >= 0)
        _id = sip_QtDeclarative_qt_metacall(sipPySelf,sipType_QDeclarativeView,_c,_id,_a);

    return _id;
}

void *sipQDeclarativeView::qt_metacast(const char *_clname)
{
    return (sip_QtDeclarative_qt_metacast(sipPySelf, sipType_QDeclarativeView, _clname)) ? this : QDeclarativeView::qt_metacast(_clname);
}

void sipQDeclarativeView::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQDeclarativeView::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_17)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

void sipQDeclarativeView::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QDeclarativeView::languageChange();
        return;
    }

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

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

void sipQDeclarativeView::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QDeclarativeView::windowActivationChange(a0);
        return;
    }

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

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

void sipQDeclarativeView::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QDeclarativeView::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

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

void sipQDeclarativeView::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QDeclarativeView::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQDeclarativeView::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QDeclarativeView::enabledChange(a0);
        return;
    }

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

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

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

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

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

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

    return ((sipVH_QtGui_14)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    ((sipVH_QtGui_19)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_20)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_22)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_23)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_17)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_17)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return ((sipVH_QtGui_27)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    ((sipVH_QtCore_17)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return ((sipVH_QtGui_4)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipQDeclarativeView::drawItems(QPainter*a0,int a1,QGraphicsItem**a2,const QStyleOptionGraphicsItem*a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QDeclarativeView::drawItems(a0,a1,a2,a3);
        return;
    }

    typedef void (*sipVH_QtGui_184)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,int,QGraphicsItem**,const QStyleOptionGraphicsItem*);

    ((sipVH_QtGui_184)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[184]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipQDeclarativeView::drawForeground(QPainter*a0,const QRectF& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QDeclarativeView::drawForeground(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_185)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QRectF&);

    ((sipVH_QtGui_185)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[185]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipQDeclarativeView::drawBackground(QPainter*a0,const QRectF& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QDeclarativeView::drawBackground(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_185)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QRectF&);

    ((sipVH_QtGui_185)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[185]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

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

    ((sipVH_QtGui_13)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_1)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQDeclarativeView::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QDeclarativeView::scrollContentsBy(a0,a1);
        return;
    }

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

    ((sipVH_QtGui_32)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[32]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

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

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

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

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

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

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

    ((sipVH_QtGui_26)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_26)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_26)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_26)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_25)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_25)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return ((sipVH_QtGui_11)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_24)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_24)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_15)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_17)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_16)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_18)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_21)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQDeclarativeView::viewportEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QDeclarativeView::viewportEvent(a0);

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

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

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

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

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

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

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

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

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

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

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

    return ((sipVH_QtGui_12)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return ((sipVH_QtCore_18)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    return ((sipVH_QtGui_4)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

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

void sipQDeclarativeView::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQDeclarativeView::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

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

void sipQDeclarativeView::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQDeclarativeView::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQDeclarativeView::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQDeclarativeView::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQDeclarativeView::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQDeclarativeView::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQDeclarativeView::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQDeclarativeView::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQDeclarativeView::sipProtect_resetInputContext()
{
    QWidget::resetInputContext();
}

void sipQDeclarativeView::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQDeclarativeView::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQDeclarativeView::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQDeclarativeView::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQDeclarativeView::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

void sipQDeclarativeView::sipProtectVirt_enabledChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::enabledChange(a0) : enabledChange(a0));
}

void sipQDeclarativeView::sipProtectVirt_paletteChange(bool sipSelfWasArg,const QPalette& a0)
{
    (sipSelfWasArg ? QWidget::paletteChange(a0) : paletteChange(a0));
}

void sipQDeclarativeView::sipProtectVirt_fontChange(bool sipSelfWasArg,const QFont& a0)
{
    (sipSelfWasArg ? QWidget::fontChange(a0) : fontChange(a0));
}

void sipQDeclarativeView::sipProtectVirt_windowActivationChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::windowActivationChange(a0) : windowActivationChange(a0));
}

void sipQDeclarativeView::sipProtectVirt_languageChange(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QWidget::languageChange() : languageChange());
}

void sipQDeclarativeView::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QFrame::changeEvent(a0) : changeEvent(a0));
}

void sipQDeclarativeView::sipProtect_drawFrame(QPainter*a0)
{
    QFrame::drawFrame(a0);
}

void sipQDeclarativeView::sipProtect_setViewportMargins(int a0,int a1,int a2,int a3)
{
    QAbstractScrollArea::setViewportMargins(a0,a1,a2,a3);
}

void sipQDeclarativeView::sipProtect_setViewportMargins(const QMargins& a0)
{
    QAbstractScrollArea::setViewportMargins(a0);
}

void sipQDeclarativeView::sipProtect_setupViewport(QWidget*a0)
{
    QGraphicsView::setupViewport(a0);
}

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

bool sipQDeclarativeView::sipProtectVirt_viewportEvent(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QGraphicsView::viewportEvent(a0) : viewportEvent(a0));
}

void sipQDeclarativeView::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QGraphicsView::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQDeclarativeView::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QGraphicsView::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQDeclarativeView::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QGraphicsView::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQDeclarativeView::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QGraphicsView::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQDeclarativeView::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsView::dropEvent(a0) : dropEvent(a0));
}

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

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

bool sipQDeclarativeView::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QGraphicsView::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

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

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

void sipQDeclarativeView::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsView::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQDeclarativeView::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsView::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQDeclarativeView::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsView::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQDeclarativeView::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsView::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQDeclarativeView::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QGraphicsView::wheelEvent(a0) : wheelEvent(a0));
}

void sipQDeclarativeView::sipProtectVirt_scrollContentsBy(bool sipSelfWasArg,int a0,int a1)
{
    (sipSelfWasArg ? QGraphicsView::scrollContentsBy(a0,a1) : scrollContentsBy(a0,a1));
}

void sipQDeclarativeView::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QGraphicsView::showEvent(a0) : showEvent(a0));
}

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

void sipQDeclarativeView::sipProtectVirt_drawBackground(bool sipSelfWasArg,QPainter*a0,const QRectF& a1)
{
    (sipSelfWasArg ? QGraphicsView::drawBackground(a0,a1) : drawBackground(a0,a1));
}

void sipQDeclarativeView::sipProtectVirt_drawForeground(bool sipSelfWasArg,QPainter*a0,const QRectF& a1)
{
    (sipSelfWasArg ? QGraphicsView::drawForeground(a0,a1) : drawForeground(a0,a1));
}

void sipQDeclarativeView::sipProtectVirt_drawItems(bool sipSelfWasArg,QPainter*a0,int a1,QGraphicsItem**a2,const QStyleOptionGraphicsItem*a3)
{
    (sipSelfWasArg ? QGraphicsView::drawItems(a0,a1,a2,a3) : drawItems(a0,a1,a2,a3));
}

void sipQDeclarativeView::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QDeclarativeView::resizeEvent(a0) : resizeEvent(a0));
}

void sipQDeclarativeView::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QDeclarativeView::paintEvent(a0) : paintEvent(a0));
}

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

bool sipQDeclarativeView::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QDeclarativeView::eventFilter(a0,a1) : eventFilter(a0,a1));
}


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

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

    {
        const sipQDeclarativeView *sipCpp;

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

#line 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 3496 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

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

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

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_receivers, "receivers(self, QT_SIGNAL) -> int");

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

    {
        char* a0;
        const sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QDeclarativeView, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 3542 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

    {
        QChildEvent* a0;
        sipQDeclarativeView *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

    {
        QEvent* a0;
        sipQDeclarativeView *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_connectNotify, "connectNotify(self, QT_SIGNAL)");

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

    {
        char* a0;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QDeclarativeView, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_disconnectNotify, "disconnectNotify(self, QT_SIGNAL)");

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

    {
        char* a0;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QDeclarativeView, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

    {
        const sipQDeclarativeView *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_enterEvent, "enterEvent(self, QEvent)");

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

    {
        QEvent* a0;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeView, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_enterEvent, doc_QDeclarativeView_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_leaveEvent, "leaveEvent(self, QEvent)");

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

    {
        QEvent* a0;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeView, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_leaveEvent, doc_QDeclarativeView_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_moveEvent, "moveEvent(self, QMoveEvent)");

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

    {
        QMoveEvent* a0;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeView, &sipCpp, sipType_QMoveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_moveEvent, doc_QDeclarativeView_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_closeEvent, "closeEvent(self, QCloseEvent)");

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

    {
        QCloseEvent* a0;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeView, &sipCpp, sipType_QCloseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_closeEvent, doc_QDeclarativeView_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_tabletEvent, "tabletEvent(self, QTabletEvent)");

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

    {
        QTabletEvent* a0;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeView, &sipCpp, sipType_QTabletEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_tabletEvent, doc_QDeclarativeView_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_actionEvent, "actionEvent(self, QActionEvent)");

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

    {
        QActionEvent* a0;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeView, &sipCpp, sipType_QActionEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_actionEvent, doc_QDeclarativeView_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_hideEvent, "hideEvent(self, QHideEvent)");

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

    {
        QHideEvent* a0;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeView, &sipCpp, sipType_QHideEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_hideEvent, doc_QDeclarativeView_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_metric, "metric(self, QPaintDevice.PaintDeviceMetric) -> int");

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

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QDeclarativeView, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_metric, doc_QDeclarativeView_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_resetInputContext, "resetInputContext(self)");

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

    {
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDeclarativeView, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_resetInputContext();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_resetInputContext, doc_QDeclarativeView_resetInputContext);

    return NULL;
}


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

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

    {
        sipQDeclarativeView *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_create, "create(self, window: int = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)");

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

    {
        WId a0 = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQDeclarativeView *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|mbb", &sipSelf, sipType_QDeclarativeView, &sipCpp, &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_create(a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_create, doc_QDeclarativeView_create);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_destroy, "destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)");

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

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQDeclarativeView *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QDeclarativeView, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_destroy(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_destroy, doc_QDeclarativeView_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_focusNextChild, "focusNextChild(self) -> bool");

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

    {
        sipQDeclarativeView *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusNextChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_focusNextChild, doc_QDeclarativeView_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_focusPreviousChild, "focusPreviousChild(self) -> bool");

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

    {
        sipQDeclarativeView *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusPreviousChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_focusPreviousChild, doc_QDeclarativeView_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_enabledChange, "enabledChange(self, bool)");

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

    {
        bool a0;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QDeclarativeView, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enabledChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_enabledChange, doc_QDeclarativeView_enabledChange);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_paletteChange, "paletteChange(self, QPalette)");

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

    {
        const QPalette* a0;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QDeclarativeView, &sipCpp, sipType_QPalette, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paletteChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_paletteChange, doc_QDeclarativeView_paletteChange);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_fontChange, "fontChange(self, QFont)");

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

    {
        const QFont* a0;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QDeclarativeView, &sipCpp, sipType_QFont, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_fontChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_fontChange, doc_QDeclarativeView_fontChange);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_windowActivationChange, "windowActivationChange(self, bool)");

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

    {
        bool a0;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QDeclarativeView, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_windowActivationChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_windowActivationChange, doc_QDeclarativeView_windowActivationChange);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_languageChange, "languageChange(self)");

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

    {
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDeclarativeView, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_languageChange(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_languageChange, doc_QDeclarativeView_languageChange);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_changeEvent, "changeEvent(self, QEvent)");

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

    {
        QEvent* a0;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeView, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_changeEvent, doc_QDeclarativeView_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_drawFrame, "drawFrame(self, QPainter)");

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

    {
        QPainter* a0;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeView, &sipCpp, sipType_QPainter, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_drawFrame(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_drawFrame, doc_QDeclarativeView_drawFrame);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_setViewportMargins, "setViewportMargins(self, int, int, int, int)\n"
    "setViewportMargins(self, QMargins)");

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

    {
        int a0;
        int a1;
        int a2;
        int a3;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Biiii", &sipSelf, sipType_QDeclarativeView, &sipCpp, &a0, &a1, &a2, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setViewportMargins(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QMargins* a0;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QDeclarativeView, &sipCpp, sipType_QMargins, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setViewportMargins(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_setViewportMargins, doc_QDeclarativeView_setViewportMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_setupViewport, "setupViewport(self, QWidget)");

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

    {
        QWidget* a0;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeView, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setupViewport(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_setupViewport, doc_QDeclarativeView_setupViewport);

    return NULL;
}


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

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

    {
        QEvent* a0;
        sipQDeclarativeView *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_event, doc_QDeclarativeView_event);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_viewportEvent, "viewportEvent(self, QEvent) -> bool");

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

    {
        QEvent* a0;
        sipQDeclarativeView *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_viewportEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_viewportEvent, doc_QDeclarativeView_viewportEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_contextMenuEvent, "contextMenuEvent(self, QContextMenuEvent)");

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

    {
        QContextMenuEvent* a0;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeView, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_dragEnterEvent, "dragEnterEvent(self, QDragEnterEvent)");

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

    {
        QDragEnterEvent* a0;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeView, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_dragLeaveEvent, "dragLeaveEvent(self, QDragLeaveEvent)");

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

    {
        QDragLeaveEvent* a0;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeView, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_dragMoveEvent, "dragMoveEvent(self, QDragMoveEvent)");

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

    {
        QDragMoveEvent* a0;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeView, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_dropEvent, "dropEvent(self, QDropEvent)");

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

    {
        QDropEvent* a0;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeView, &sipCpp, sipType_QDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

    {
        QFocusEvent* a0;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeView, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_focusInEvent, doc_QDeclarativeView_focusInEvent);

    return NULL;
}


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

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

    {
        QFocusEvent* a0;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeView, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_focusOutEvent, doc_QDeclarativeView_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_focusNextPrevChild, "focusNextPrevChild(self, bool) -> bool");

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

    {
        bool a0;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QDeclarativeView, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_focusNextPrevChild, doc_QDeclarativeView_focusNextPrevChild);

    return NULL;
}


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

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

    {
        QKeyEvent* a0;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeView, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_keyPressEvent, doc_QDeclarativeView_keyPressEvent);

    return NULL;
}


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

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

    {
        QKeyEvent* a0;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeView, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_keyReleaseEvent, doc_QDeclarativeView_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_mouseDoubleClickEvent, "mouseDoubleClickEvent(self, QMouseEvent)");

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

    {
        QMouseEvent* a0;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_mousePressEvent, "mousePressEvent(self, QMouseEvent)");

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

    {
        QMouseEvent* a0;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_mouseMoveEvent, "mouseMoveEvent(self, QMouseEvent)");

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

    {
        QMouseEvent* a0;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_mouseReleaseEvent, "mouseReleaseEvent(self, QMouseEvent)");

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

    {
        QMouseEvent* a0;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_wheelEvent, "wheelEvent(self, QWheelEvent)");

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

    {
        QWheelEvent* a0;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeView, &sipCpp, sipType_QWheelEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_scrollContentsBy, "scrollContentsBy(self, int, int)");

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

    {
        int a0;
        int a1;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QDeclarativeView, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_scrollContentsBy(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_scrollContentsBy, doc_QDeclarativeView_scrollContentsBy);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_showEvent, "showEvent(self, QShowEvent)");

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

    {
        QShowEvent* a0;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeView, &sipCpp, sipType_QShowEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_showEvent, doc_QDeclarativeView_showEvent);

    return NULL;
}


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

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

    {
        QInputMethodEvent* a0;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeView, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_inputMethodEvent, doc_QDeclarativeView_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_drawBackground, "drawBackground(self, QPainter, QRectF)");

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

    {
        QPainter* a0;
        const QRectF* a1;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J9", &sipSelf, sipType_QDeclarativeView, &sipCpp, sipType_QPainter, &a0, sipType_QRectF, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_drawBackground(sipSelfWasArg,a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_drawBackground, doc_QDeclarativeView_drawBackground);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_drawForeground, "drawForeground(self, QPainter, QRectF)");

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

    {
        QPainter* a0;
        const QRectF* a1;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J9", &sipSelf, sipType_QDeclarativeView, &sipCpp, sipType_QPainter, &a0, sipType_QRectF, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_drawForeground(sipSelfWasArg,a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_drawForeground, doc_QDeclarativeView_drawForeground);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_drawItems, "drawItems(self, QPainter, List, List)");

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

    {
        QPainter* a0;
        PyObject * a1;
        PyObject * a2;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8TT", &sipSelf, sipType_QDeclarativeView, &sipCpp, sipType_QPainter, &a0, &PyList_Type, &a1, &PyList_Type, &a2))
        {
            int sipIsErr = 0;

#line 166 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qgraphicsview.sip"
        // PyQt takes lists as the items and options arguments.
        
        // Adjust the number items according to the actual list lengths.
        SIP_SSIZE_T numItems = PyList_GET_SIZE(a1);
        
        if (numItems > PyList_GET_SIZE(a2))
            numItems = PyList_GET_SIZE(a2);
        
        // Allocate temporary storage for the C++ conversions.
        QGraphicsItem **items = new QGraphicsItem *[numItems];
        QStyleOptionGraphicsItem *options = new QStyleOptionGraphicsItem[numItems];
        
        for (int i = 0; i < numItems; ++i)
        {
            void *cpp;
        
            cpp = sipForceConvertToType(PyList_GET_ITEM(a1, i), sipType_QGraphicsItem, NULL, SIP_NO_CONVERTORS, NULL, &sipIsErr);
            items[i] = reinterpret_cast<QGraphicsItem *>(cpp);
        
            cpp = sipForceConvertToType(PyList_GET_ITEM(a2, i), sipType_QStyleOptionGraphicsItem, NULL, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &sipIsErr);
            options[i] = *reinterpret_cast<QStyleOptionGraphicsItem *>(cpp);
        }
        
        if (!sipIsErr)
        {
            Py_BEGIN_ALLOW_THREADS
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if (sipSelfWasArg)
                sipCpp->QGraphicsView::drawItems(a0, numItems, items, options);
            else
                sipCpp->drawItems(a0, numItems, items, options);
        #else
            sipCpp->sipProtectVirt_drawItems(sipSelfWasArg, a0, numItems, items, options);
        #endif
            Py_END_ALLOW_THREADS
        }
        
        delete[] items;
        delete[] options;
#line 5192 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

            if (sipIsErr)
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_drawItems, doc_QDeclarativeView_drawItems);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_source, "source(self) -> QUrl");

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

    {
        const QDeclarativeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeView, &sipCpp))
        {
            QUrl*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QUrl(sipCpp->source());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_source, doc_QDeclarativeView_source);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_setSource, "setSource(self, QUrl)");

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

    {
        const QUrl* a0;
        QDeclarativeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QDeclarativeView, &sipCpp, sipType_QUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSource(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_engine, "engine(self) -> QDeclarativeEngine");

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

    {
        const QDeclarativeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeView, &sipCpp))
        {
            QDeclarativeEngine*sipRes;
            PyObject *sipResObj;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->engine();
            Py_END_ALLOW_THREADS

            sipResObj = sipConvertFromType(sipRes,sipType_QDeclarativeEngine,NULL);

            sipKeepReference(sipSelf, -7, sipResObj);

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_engine, doc_QDeclarativeView_engine);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_rootContext, "rootContext(self) -> QDeclarativeContext");

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

    {
        const QDeclarativeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeView, &sipCpp))
        {
            QDeclarativeContext*sipRes;
            PyObject *sipResObj;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->rootContext();
            Py_END_ALLOW_THREADS

            sipResObj = sipConvertFromType(sipRes,sipType_QDeclarativeContext,NULL);

            sipKeepReference(sipSelf, -8, sipResObj);

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_rootContext, doc_QDeclarativeView_rootContext);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_rootObject, "rootObject(self) -> QGraphicsObject");

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

    {
        const QDeclarativeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeView, &sipCpp))
        {
            QGraphicsObject*sipRes;
            PyObject *sipResObj;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->rootObject();
            Py_END_ALLOW_THREADS

            sipResObj = sipConvertFromType(sipRes,sipType_QGraphicsObject,NULL);

            sipKeepReference(sipSelf, -9, sipResObj);

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_rootObject, doc_QDeclarativeView_rootObject);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_resizeMode, "resizeMode(self) -> QDeclarativeView.ResizeMode");

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

    {
        const QDeclarativeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeView, &sipCpp))
        {
            QDeclarativeView::ResizeMode sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->resizeMode();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QDeclarativeView_ResizeMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_resizeMode, doc_QDeclarativeView_resizeMode);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_setResizeMode, "setResizeMode(self, QDeclarativeView.ResizeMode)");

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

    {
        QDeclarativeView::ResizeMode a0;
        QDeclarativeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QDeclarativeView, &sipCpp, sipType_QDeclarativeView_ResizeMode, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setResizeMode(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_setResizeMode, doc_QDeclarativeView_setResizeMode);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_status, "status(self) -> QDeclarativeView.Status");

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

    {
        const QDeclarativeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeView, &sipCpp))
        {
            QDeclarativeView::Status sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->status();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QDeclarativeView_Status);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_status, doc_QDeclarativeView_status);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_errors, "errors(self) -> object");

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

    {
        const QDeclarativeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeView, &sipCpp))
        {
            QList<QDeclarativeError>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QDeclarativeError>(sipCpp->errors());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_errors, doc_QDeclarativeView_errors);

    return NULL;
}


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

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

    {
        const QDeclarativeView *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((sipSelfWasArg ? sipCpp->QDeclarativeView::sizeHint() : sipCpp->sizeHint()));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_initialSize, "initialSize(self) -> QSize");

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

    {
        const QDeclarativeView *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize(sipCpp->initialSize());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_initialSize, doc_QDeclarativeView_initialSize);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_resizeEvent, "resizeEvent(self, QResizeEvent)");

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

    {
        QResizeEvent* a0;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeView, &sipCpp, sipType_QResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_resizeEvent, doc_QDeclarativeView_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_paintEvent, "paintEvent(self, QPaintEvent)");

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

    {
        QPaintEvent* a0;
        sipQDeclarativeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeView, &sipCpp, sipType_QPaintEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_paintEvent, doc_QDeclarativeView_paintEvent);

    return NULL;
}


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

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

    {
        QTimerEvent* a0;
        sipQDeclarativeView *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeView_eventFilter, "eventFilter(self, QObject, QEvent) -> bool");

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

    {
        QObject* a0;
        QEvent* a1;
        sipQDeclarativeView *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeView, sipName_eventFilter, doc_QDeclarativeView_eventFilter);

    return NULL;
}


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

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QDeclarativeView(sipSimpleWrapper *);}
static void dealloc_QDeclarativeView(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQDeclarativeView *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

    {
        QWidget* a0 = 0;

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

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQDeclarativeView(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QUrl* a0;
        QWidget* a1 = 0;

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

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J9|JH", sipType_QUrl, &a0, sipType_QWidget, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQDeclarativeView(*a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_QDeclarativeView[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QDeclarativeView_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QDeclarativeView_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QDeclarativeView_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QDeclarativeView_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QDeclarativeView_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QDeclarativeView_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QDeclarativeView_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QDeclarativeView_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QDeclarativeView_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QDeclarativeView_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QDeclarativeView_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QDeclarativeView_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QDeclarativeView_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_drawBackground), (PyCFunction)meth_QDeclarativeView_drawBackground, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_drawForeground), (PyCFunction)meth_QDeclarativeView_drawForeground, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_drawFrame), (PyCFunction)meth_QDeclarativeView_drawFrame, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_drawItems), (PyCFunction)meth_QDeclarativeView_drawItems, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QDeclarativeView_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enabledChange), (PyCFunction)meth_QDeclarativeView_enabledChange, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_engine), meth_QDeclarativeView_engine, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeView_engine)},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QDeclarativeView_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_errors), meth_QDeclarativeView_errors, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeView_errors)},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QDeclarativeView_event, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_QDeclarativeView_eventFilter, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDeclarativeView_eventFilter)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QDeclarativeView_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QDeclarativeView_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QDeclarativeView_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QDeclarativeView_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QDeclarativeView_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_fontChange), (PyCFunction)meth_QDeclarativeView_fontChange, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QDeclarativeView_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initialSize), meth_QDeclarativeView_initialSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeView_initialSize)},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QDeclarativeView_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QDeclarativeView_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QDeclarativeView_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_languageChange), (PyCFunction)meth_QDeclarativeView_languageChange, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QDeclarativeView_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QDeclarativeView_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QDeclarativeView_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QDeclarativeView_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QDeclarativeView_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QDeclarativeView_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QDeclarativeView_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QDeclarativeView_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDeclarativeView_paintEvent)},
    {SIP_MLNAME_CAST(sipName_paletteChange), (PyCFunction)meth_QDeclarativeView_paletteChange, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QDeclarativeView_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resetInputContext), (PyCFunction)meth_QDeclarativeView_resetInputContext, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QDeclarativeView_resizeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDeclarativeView_resizeEvent)},
    {SIP_MLNAME_CAST(sipName_resizeMode), meth_QDeclarativeView_resizeMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeView_resizeMode)},
    {SIP_MLNAME_CAST(sipName_rootContext), meth_QDeclarativeView_rootContext, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeView_rootContext)},
    {SIP_MLNAME_CAST(sipName_rootObject), meth_QDeclarativeView_rootObject, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeView_rootObject)},
    {SIP_MLNAME_CAST(sipName_scrollContentsBy), (PyCFunction)meth_QDeclarativeView_scrollContentsBy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QDeclarativeView_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QDeclarativeView_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setResizeMode), meth_QDeclarativeView_setResizeMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeView_setResizeMode)},
    {SIP_MLNAME_CAST(sipName_setSource), meth_QDeclarativeView_setSource, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeView_setSource)},
    {SIP_MLNAME_CAST(sipName_setViewportMargins), (PyCFunction)meth_QDeclarativeView_setViewportMargins, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setupViewport), (PyCFunction)meth_QDeclarativeView_setupViewport, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QDeclarativeView_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QDeclarativeView_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeView_sizeHint)},
    {SIP_MLNAME_CAST(sipName_source), meth_QDeclarativeView_source, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeView_source)},
    {SIP_MLNAME_CAST(sipName_status), meth_QDeclarativeView_status, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeView_status)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QDeclarativeView_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QDeclarativeView_timerEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDeclarativeView_timerEvent)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QDeclarativeView_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewportEvent), (PyCFunction)meth_QDeclarativeView_viewportEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QDeclarativeView_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_windowActivationChange), (PyCFunction)meth_QDeclarativeView_windowActivationChange, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QDeclarativeView[] = {
    {sipName_Error, static_cast<int>(QDeclarativeView::Error), 24},
    {sipName_Loading, static_cast<int>(QDeclarativeView::Loading), 24},
    {sipName_Null, static_cast<int>(QDeclarativeView::Null), 24},
    {sipName_Ready, static_cast<int>(QDeclarativeView::Ready), 24},
    {sipName_SizeRootObjectToView, static_cast<int>(QDeclarativeView::SizeRootObjectToView), 23},
    {sipName_SizeViewToRootObject, static_cast<int>(QDeclarativeView::SizeViewToRootObject), 23},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_QDeclarativeView[] = {
    {"statusChanged(QDeclarativeView::Status)", "\1statusChanged(self, QDeclarativeView.Status)", 0, 0},
    {"sceneResized(QSize)", "\1sceneResized(self, QSize)", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QDeclarativeView, "\1QDeclarativeView(parent: QWidget = None)\n"
    "QDeclarativeView(QUrl, parent: QWidget = None)");


pyqt4ClassTypeDef sipTypeDef_QtDeclarative_QDeclarativeView = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QDeclarativeView,
        {0}
    },
    {
        sipNameNr_QDeclarativeView,
        {0, 0, 1},
        68, methods_QDeclarativeView,
        6, enummembers_QDeclarativeView,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDeclarativeView,
    -1,
    -1,
    supers_QDeclarativeView,
    0,
    init_type_QDeclarativeView,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDeclarativeView,
    0,
    0,
    0,
    release_QDeclarativeView,
    cast_QDeclarativeView,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QDeclarativeView::staticMetaObject,
    0,
    signals_QDeclarativeView,
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativescriptstring.sip"
#include <qdeclarativescriptstring.h>
#line 5925 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 5929 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 5932 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativecontext.sip"
#include <qdeclarativecontext.h>
#line 5935 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"


PyDoc_STRVAR(doc_QDeclarativeScriptString_context, "context(self) -> QDeclarativeContext");

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

    {
        const QDeclarativeScriptString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeScriptString, &sipCpp))
        {
            QDeclarativeContext*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->context();
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeScriptString, sipName_context, doc_QDeclarativeScriptString_context);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeScriptString_setContext, "setContext(self, QDeclarativeContext)");

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

    {
        QDeclarativeContext* a0;
        PyObject *a0Keep;
        QDeclarativeScriptString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QDeclarativeScriptString, &sipCpp, &a0Keep, sipType_QDeclarativeContext, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setContext(a0);
            Py_END_ALLOW_THREADS

            sipKeepReference(sipSelf, -5, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeScriptString, sipName_setContext, doc_QDeclarativeScriptString_setContext);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeScriptString_scopeObject, "scopeObject(self) -> QObject");

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

    {
        const QDeclarativeScriptString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeScriptString, &sipCpp))
        {
            QObject*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->scopeObject();
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeScriptString, sipName_scopeObject, doc_QDeclarativeScriptString_scopeObject);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeScriptString_setScopeObject, "setScopeObject(self, QObject)");

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

    {
        QObject* a0;
        PyObject *a0Keep;
        QDeclarativeScriptString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QDeclarativeScriptString, &sipCpp, &a0Keep, sipType_QObject, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setScopeObject(a0);
            Py_END_ALLOW_THREADS

            sipKeepReference(sipSelf, -6, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeScriptString, sipName_setScopeObject, doc_QDeclarativeScriptString_setScopeObject);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeScriptString_script, "script(self) -> object");

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

    {
        const QDeclarativeScriptString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeScriptString, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->script());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeScriptString, sipName_script, doc_QDeclarativeScriptString_script);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeScriptString_setScript, "setScript(self, object)");

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

    {
        const QString* a0;
        int a0State = 0;
        QDeclarativeScriptString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDeclarativeScriptString, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setScript(*a0);
            Py_END_ALLOW_THREADS
            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_QDeclarativeScriptString, sipName_setScript, doc_QDeclarativeScriptString_setScript);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDeclarativeScriptString(void *, int);}
static void release_QDeclarativeScriptString(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QDeclarativeScriptString *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


extern "C" {static void *array_QDeclarativeScriptString(SIP_SSIZE_T);}
static void *array_QDeclarativeScriptString(SIP_SSIZE_T sipNrElem)
{
    return new QDeclarativeScriptString[sipNrElem];
}


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


extern "C" {static void dealloc_QDeclarativeScriptString(sipSimpleWrapper *);}
static void dealloc_QDeclarativeScriptString(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QDeclarativeScriptString(sipGetAddress(sipSelf),0);
    }
}


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

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDeclarativeScriptString();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QDeclarativeScriptString* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDeclarativeScriptString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDeclarativeScriptString(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QDeclarativeScriptString[] = {
    {SIP_MLNAME_CAST(sipName_context), meth_QDeclarativeScriptString_context, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeScriptString_context)},
    {SIP_MLNAME_CAST(sipName_scopeObject), meth_QDeclarativeScriptString_scopeObject, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeScriptString_scopeObject)},
    {SIP_MLNAME_CAST(sipName_script), meth_QDeclarativeScriptString_script, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeScriptString_script)},
    {SIP_MLNAME_CAST(sipName_setContext), meth_QDeclarativeScriptString_setContext, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeScriptString_setContext)},
    {SIP_MLNAME_CAST(sipName_setScopeObject), meth_QDeclarativeScriptString_setScopeObject, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeScriptString_setScopeObject)},
    {SIP_MLNAME_CAST(sipName_setScript), meth_QDeclarativeScriptString_setScript, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeScriptString_setScript)}
};

PyDoc_STRVAR(doc_QDeclarativeScriptString, "\1QDeclarativeScriptString()\n"
    "QDeclarativeScriptString(QDeclarativeScriptString)");


pyqt4ClassTypeDef sipTypeDef_QtDeclarative_QDeclarativeScriptString = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDeclarativeScriptString,
        {0}
    },
    {
        sipNameNr_QDeclarativeScriptString,
        {0, 0, 1},
        6, methods_QDeclarativeScriptString,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDeclarativeScriptString,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QDeclarativeScriptString,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDeclarativeScriptString,
    assign_QDeclarativeScriptString,
    array_QDeclarativeScriptString,
    copy_QDeclarativeScriptString,
    release_QDeclarativeScriptString,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativepropertyvaluesource.sip"
#include <qdeclarativepropertyvaluesource.h>
#line 6271 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativeproperty.sip"
#include <qdeclarativeproperty.h>
#line 6275 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"


class sipQDeclarativePropertyValueSource : public QDeclarativePropertyValueSource
{
public:
    sipQDeclarativePropertyValueSource();
    sipQDeclarativePropertyValueSource(const QDeclarativePropertyValueSource&);
    virtual ~sipQDeclarativePropertyValueSource();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void setTarget(const QDeclarativeProperty&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[1];
};

sipQDeclarativePropertyValueSource::sipQDeclarativePropertyValueSource(): QDeclarativePropertyValueSource(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDeclarativePropertyValueSource::sipQDeclarativePropertyValueSource(const QDeclarativePropertyValueSource& a0): QDeclarativePropertyValueSource(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDeclarativePropertyValueSource::~sipQDeclarativePropertyValueSource()
{
    sipCommonDtor(sipPySelf);
}

void sipQDeclarativePropertyValueSource::setTarget(const QDeclarativeProperty& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_QDeclarativePropertyValueSource,sipName_setTarget);

    if (!sipMeth)
        return;

    extern void sipVH_QtDeclarative_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QDeclarativeProperty&);

    sipVH_QtDeclarative_0(sipGILState, 0, sipPySelf, sipMeth, a0);
}


PyDoc_STRVAR(doc_QDeclarativePropertyValueSource_setTarget, "setTarget(self, QDeclarativeProperty)");

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

    {
        const QDeclarativeProperty* a0;
        QDeclarativePropertyValueSource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QDeclarativePropertyValueSource, &sipCpp, sipType_QDeclarativeProperty, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QDeclarativePropertyValueSource, sipName_setTarget);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTarget(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativePropertyValueSource, sipName_setTarget, doc_QDeclarativePropertyValueSource_setTarget);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDeclarativePropertyValueSource(void *, int);}
static void release_QDeclarativePropertyValueSource(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQDeclarativePropertyValueSource *>(sipCppV);
    else
        delete reinterpret_cast<QDeclarativePropertyValueSource *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QDeclarativePropertyValueSource(sipSimpleWrapper *);}
static void dealloc_QDeclarativePropertyValueSource(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQDeclarativePropertyValueSource *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQDeclarativePropertyValueSource();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QDeclarativePropertyValueSource* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDeclarativePropertyValueSource, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQDeclarativePropertyValueSource(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QDeclarativePropertyValueSource[] = {
    {SIP_MLNAME_CAST(sipName_setTarget), meth_QDeclarativePropertyValueSource_setTarget, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativePropertyValueSource_setTarget)}
};

PyDoc_STRVAR(doc_QDeclarativePropertyValueSource, "\1QDeclarativePropertyValueSource()\n"
    "QDeclarativePropertyValueSource(QDeclarativePropertyValueSource)");


pyqt4ClassTypeDef sipTypeDef_QtDeclarative_QDeclarativePropertyValueSource = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_QDeclarativePropertyValueSource,
        {0}
    },
    {
        sipNameNr_QDeclarativePropertyValueSource,
        {0, 0, 1},
        1, methods_QDeclarativePropertyValueSource,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDeclarativePropertyValueSource,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QDeclarativePropertyValueSource,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDeclarativePropertyValueSource,
    0,
    0,
    0,
    release_QDeclarativePropertyValueSource,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativepropertymap.sip"
#include <qdeclarativepropertymap.h>
#line 6499 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 6503 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 6506 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 6509 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 6512 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6515 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6518 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6521 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 6524 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 6527 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6530 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 6533 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 6536 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 6539 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 6542 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"


class sipQDeclarativePropertyMap : public QDeclarativePropertyMap
{
public:
    sipQDeclarativePropertyMap(QObject*);
    virtual ~sipQDeclarativePropertyMap();

    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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() const;

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[7];
};

sipQDeclarativePropertyMap::sipQDeclarativePropertyMap(QObject*a0): QDeclarativePropertyMap(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDeclarativePropertyMap::~sipQDeclarativePropertyMap()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQDeclarativePropertyMap::metaObject() const
{
    return sip_QtDeclarative_qt_metaobject(sipPySelf,sipType_QDeclarativePropertyMap);
}

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

    if (_id >= 0)
        _id = sip_QtDeclarative_qt_metacall(sipPySelf,sipType_QDeclarativePropertyMap,_c,_id,_a);

    return _id;
}

void *sipQDeclarativePropertyMap::qt_metacast(const char *_clname)
{
    return (sip_QtDeclarative_qt_metacast(sipPySelf, sipType_QDeclarativePropertyMap, _clname)) ? this : QDeclarativePropertyMap::qt_metacast(_clname);
}

void sipQDeclarativePropertyMap::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQDeclarativePropertyMap::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_17)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    return ((sipVH_QtCore_18)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

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

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

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

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

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

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

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

void sipQDeclarativePropertyMap::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQDeclarativePropertyMap::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

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


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

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

    {
        const sipQDeclarativePropertyMap *sipCpp;

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

#line 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 6820 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

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

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

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativePropertyMap_receivers, "receivers(self, QT_SIGNAL) -> int");

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

    {
        char* a0;
        const sipQDeclarativePropertyMap *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QDeclarativePropertyMap, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 6866 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

    {
        QTimerEvent* a0;
        sipQDeclarativePropertyMap *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

    {
        QChildEvent* a0;
        sipQDeclarativePropertyMap *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

    {
        QEvent* a0;
        sipQDeclarativePropertyMap *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativePropertyMap_connectNotify, "connectNotify(self, QT_SIGNAL)");

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

    {
        char* a0;
        sipQDeclarativePropertyMap *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QDeclarativePropertyMap, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativePropertyMap_disconnectNotify, "disconnectNotify(self, QT_SIGNAL)");

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

    {
        char* a0;
        sipQDeclarativePropertyMap *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QDeclarativePropertyMap, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

    {
        const sipQDeclarativePropertyMap *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativePropertyMap_value, "value(self, object) -> object");

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

    {
        const QString* a0;
        int a0State = 0;
        const QDeclarativePropertyMap *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->value(*a0));
            Py_END_ALLOW_THREADS
            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_QDeclarativePropertyMap, sipName_value, doc_QDeclarativePropertyMap_value);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativePropertyMap_insert, "insert(self, object, object)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QDeclarativePropertyMap, &sipCpp, sipType_QString,&a0, &a0State, sipType_QVariant,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->insert(*a0,*a1);
            Py_END_ALLOW_THREADS
            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_QDeclarativePropertyMap, sipName_insert, doc_QDeclarativePropertyMap_insert);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativePropertyMap_clear, "clear(self, object)");

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

    {
        const QString* a0;
        int a0State = 0;
        QDeclarativePropertyMap *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDeclarativePropertyMap, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clear(*a0);
            Py_END_ALLOW_THREADS
            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_QDeclarativePropertyMap, sipName_clear, doc_QDeclarativePropertyMap_clear);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativePropertyMap_keys, "keys(self) -> object");

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

    {
        const QDeclarativePropertyMap *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativePropertyMap, &sipCpp))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->keys());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativePropertyMap, sipName_keys, doc_QDeclarativePropertyMap_keys);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativePropertyMap_count, "count(self) -> int");

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

    {
        const QDeclarativePropertyMap *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->count();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativePropertyMap, sipName_count, doc_QDeclarativePropertyMap_count);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativePropertyMap_size, "size(self) -> int");

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

    {
        const QDeclarativePropertyMap *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->size();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativePropertyMap_isEmpty, "isEmpty(self) -> bool");

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

    {
        const QDeclarativePropertyMap *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEmpty();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativePropertyMap, sipName_isEmpty, doc_QDeclarativePropertyMap_isEmpty);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativePropertyMap_contains, "contains(self, object) -> bool");

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

    {
        const QString* a0;
        int a0State = 0;
        const QDeclarativePropertyMap *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDeclarativePropertyMap, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->contains(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativePropertyMap, sipName_contains, doc_QDeclarativePropertyMap_contains);

    return NULL;
}


extern "C" {static PyObject *slot_QDeclarativePropertyMap___getitem__(PyObject *,PyObject *);}
static PyObject *slot_QDeclarativePropertyMap___getitem__(PyObject *sipSelf,PyObject *sipArg)
{
    QDeclarativePropertyMap *sipCpp = reinterpret_cast<QDeclarativePropertyMap *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDeclarativePropertyMap));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QString,&a0, &a0State))
        {
            QVariant*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((*sipCpp)[*a0]);
            Py_END_ALLOW_THREADS
            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_QDeclarativePropertyMap, sipName___getitem__, NULL);

    return 0;
}


extern "C" {static SIP_SSIZE_T slot_QDeclarativePropertyMap___len__(PyObject *);}
static SIP_SSIZE_T slot_QDeclarativePropertyMap___len__(PyObject *sipSelf)
{
    QDeclarativePropertyMap *sipCpp = reinterpret_cast<QDeclarativePropertyMap *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDeclarativePropertyMap));

    if (!sipCpp)
        return 0;


    {
        {
            SIP_SSIZE_T sipRes = 0;

#line 1 "Auto-generated"
            sipRes = (SIP_SSIZE_T)sipCpp->count();
#line 7366 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QDeclarativePropertyMap(sipSimpleWrapper *);}
static void dealloc_QDeclarativePropertyMap(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQDeclarativePropertyMap *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

    {
        QObject* a0 = 0;

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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


/* Define this type's Python slots. */
static sipPySlotDef slots_QDeclarativePropertyMap[] = {
    {(void *)slot_QDeclarativePropertyMap___getitem__, getitem_slot},
    {(void *)slot_QDeclarativePropertyMap___len__, len_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QDeclarativePropertyMap[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QDeclarativePropertyMap_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_QDeclarativePropertyMap_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativePropertyMap_clear)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QDeclarativePropertyMap_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contains), meth_QDeclarativePropertyMap_contains, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativePropertyMap_contains)},
    {SIP_MLNAME_CAST(sipName_count), meth_QDeclarativePropertyMap_count, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativePropertyMap_count)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QDeclarativePropertyMap_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QDeclarativePropertyMap_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_insert), meth_QDeclarativePropertyMap_insert, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativePropertyMap_insert)},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_QDeclarativePropertyMap_isEmpty, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativePropertyMap_isEmpty)},
    {SIP_MLNAME_CAST(sipName_keys), meth_QDeclarativePropertyMap_keys, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativePropertyMap_keys)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QDeclarativePropertyMap_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QDeclarativePropertyMap_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QDeclarativePropertyMap_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_size), meth_QDeclarativePropertyMap_size, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativePropertyMap_size)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QDeclarativePropertyMap_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_QDeclarativePropertyMap_value, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativePropertyMap_value)}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_QDeclarativePropertyMap[] = {
    {"valueChanged(QString,QVariant)", "\1valueChanged(self, object, object)", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QDeclarativePropertyMap, "\1QDeclarativePropertyMap(parent: QObject = None)");


pyqt4ClassTypeDef sipTypeDef_QtDeclarative_QDeclarativePropertyMap = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QDeclarativePropertyMap,
        {0}
    },
    {
        sipNameNr_QDeclarativePropertyMap,
        {0, 0, 1},
        16, methods_QDeclarativePropertyMap,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDeclarativePropertyMap,
    -1,
    -1,
    supers_QDeclarativePropertyMap,
    slots_QDeclarativePropertyMap,
    init_type_QDeclarativePropertyMap,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDeclarativePropertyMap,
    0,
    0,
    0,
    release_QDeclarativePropertyMap,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QDeclarativePropertyMap::staticMetaObject,
    0,
    signals_QDeclarativePropertyMap,
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativeproperty.sip"
#include <qdeclarativeproperty.h>
#line 7531 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 7535 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativecontext.sip"
#include <qdeclarativecontext.h>
#line 7538 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativeengine.sip"
#include <qdeclarativeengine.h>
#line 7541 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7544 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 7547 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 204 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 7550 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7553 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"


PyDoc_STRVAR(doc_QDeclarativeProperty_type, "type(self) -> QDeclarativeProperty.Type");

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

    {
        const QDeclarativeProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeProperty, &sipCpp))
        {
            QDeclarativeProperty::Type sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->type();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QDeclarativeProperty_Type);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeProperty, sipName_type, doc_QDeclarativeProperty_type);

    return NULL;
}


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

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

    {
        const QDeclarativeProperty *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeProperty_isProperty, "isProperty(self) -> bool");

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

    {
        const QDeclarativeProperty *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isProperty();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeProperty, sipName_isProperty, doc_QDeclarativeProperty_isProperty);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeProperty_isSignalProperty, "isSignalProperty(self) -> bool");

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

    {
        const QDeclarativeProperty *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isSignalProperty();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeProperty, sipName_isSignalProperty, doc_QDeclarativeProperty_isSignalProperty);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeProperty_propertyType, "propertyType(self) -> int");

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

    {
        const QDeclarativeProperty *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->propertyType();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeProperty, sipName_propertyType, doc_QDeclarativeProperty_propertyType);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeProperty_propertyTypeCategory, "propertyTypeCategory(self) -> QDeclarativeProperty.PropertyTypeCategory");

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

    {
        const QDeclarativeProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeProperty, &sipCpp))
        {
            QDeclarativeProperty::PropertyTypeCategory sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->propertyTypeCategory();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QDeclarativeProperty_PropertyTypeCategory);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeProperty, sipName_propertyTypeCategory, doc_QDeclarativeProperty_propertyTypeCategory);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeProperty_propertyTypeName, "propertyTypeName(self) -> str");

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

    {
        const QDeclarativeProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeProperty, &sipCpp))
        {
            const char*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->propertyTypeName();
            Py_END_ALLOW_THREADS

            if (sipRes == NULL)
            {
                Py_INCREF(Py_None);
                return Py_None;
            }

            return PyUnicode_DecodeASCII(sipRes, strlen(sipRes), NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeProperty, sipName_propertyTypeName, doc_QDeclarativeProperty_propertyTypeName);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeProperty_name, "name(self) -> object");

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

    {
        const QDeclarativeProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeProperty, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->name());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeProperty, sipName_name, doc_QDeclarativeProperty_name);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeProperty_read, "read(self) -> object\n"
    "read(QObject, object) -> object\n"
    "read(QObject, object, QDeclarativeContext) -> object\n"
    "read(QObject, object, QDeclarativeEngine) -> object");

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

    {
        const QDeclarativeProperty *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->read());
            Py_END_ALLOW_THREADS

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

    {
        QObject* a0;
        const QString* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8J1", sipType_QObject, &a0, sipType_QString,&a1, &a1State))
        {
            QVariant*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(QDeclarativeProperty::read(a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

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

    {
        QObject* a0;
        const QString* a1;
        int a1State = 0;
        QDeclarativeContext* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8J1J8", sipType_QObject, &a0, sipType_QString,&a1, &a1State, sipType_QDeclarativeContext, &a2))
        {
            QVariant*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(QDeclarativeProperty::read(a0,*a1,a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

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

    {
        QObject* a0;
        const QString* a1;
        int a1State = 0;
        QDeclarativeEngine* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8J1J8", sipType_QObject, &a0, sipType_QString,&a1, &a1State, sipType_QDeclarativeEngine, &a2))
        {
            QVariant*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(QDeclarativeProperty::read(a0,*a1,a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeProperty, sipName_read, doc_QDeclarativeProperty_read);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeProperty_write, "write(self, object) -> bool\n"
    "write(QObject, object, object) -> bool\n"
    "write(QObject, object, object, QDeclarativeContext) -> bool\n"
    "write(QObject, object, object, QDeclarativeEngine) -> bool");

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

    {
        const QVariant* a0;
        int a0State = 0;
        const QDeclarativeProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDeclarativeProperty, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->write(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        QObject* a0;
        const QString* a1;
        int a1State = 0;
        const QVariant* a2;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8J1J1", sipType_QObject, &a0, sipType_QString,&a1, &a1State, sipType_QVariant,&a2, &a2State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QDeclarativeProperty::write(a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QVariant *>(a2),sipType_QVariant,a2State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        QObject* a0;
        const QString* a1;
        int a1State = 0;
        const QVariant* a2;
        int a2State = 0;
        QDeclarativeContext* a3;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8J1J1J8", sipType_QObject, &a0, sipType_QString,&a1, &a1State, sipType_QVariant,&a2, &a2State, sipType_QDeclarativeContext, &a3))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QDeclarativeProperty::write(a0,*a1,*a2,a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QVariant *>(a2),sipType_QVariant,a2State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        QObject* a0;
        const QString* a1;
        int a1State = 0;
        const QVariant* a2;
        int a2State = 0;
        QDeclarativeEngine* a3;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8J1J1J8", sipType_QObject, &a0, sipType_QString,&a1, &a1State, sipType_QVariant,&a2, &a2State, sipType_QDeclarativeEngine, &a3))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QDeclarativeProperty::write(a0,*a1,*a2,a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QVariant *>(a2),sipType_QVariant,a2State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeProperty, sipName_write, doc_QDeclarativeProperty_write);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeProperty_reset, "reset(self) -> bool");

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

    {
        const QDeclarativeProperty *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->reset();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeProperty, sipName_reset, doc_QDeclarativeProperty_reset);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeProperty_hasNotifySignal, "hasNotifySignal(self) -> bool");

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

    {
        const QDeclarativeProperty *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasNotifySignal();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeProperty, sipName_hasNotifySignal, doc_QDeclarativeProperty_hasNotifySignal);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeProperty_needsNotifySignal, "needsNotifySignal(self) -> bool");

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

    {
        const QDeclarativeProperty *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->needsNotifySignal();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeProperty, sipName_needsNotifySignal, doc_QDeclarativeProperty_needsNotifySignal);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeProperty_connectNotifySignal, "connectNotifySignal(self, QObject, QT_SLOT) -> bool\n"
    "connectNotifySignal(self, Callable[..., None]) -> bool\n"
    "connectNotifySignal(self, QObject, int) -> bool");

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

    {
        QObject* a0;
        const char* a1;
        const QDeclarativeProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BqS", &sipSelf, sipType_QDeclarativeProperty, &sipCpp, "()", &a0, &a1, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->connectNotifySignal(a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        QObject* a0;
        const char* a1;
        const QDeclarativeProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "By", &sipSelf, sipType_QDeclarativeProperty, &sipCpp, "()", &a0, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->connectNotifySignal(a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        QObject* a0;
        int a1;
        const QDeclarativeProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8i", &sipSelf, sipType_QDeclarativeProperty, &sipCpp, sipType_QObject, &a0, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->connectNotifySignal(a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeProperty, sipName_connectNotifySignal, doc_QDeclarativeProperty_connectNotifySignal);

    return NULL;
}


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

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

    {
        const QDeclarativeProperty *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isWritable();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeProperty_isDesignable, "isDesignable(self) -> bool");

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

    {
        const QDeclarativeProperty *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDesignable();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeProperty, sipName_isDesignable, doc_QDeclarativeProperty_isDesignable);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeProperty_isResettable, "isResettable(self) -> bool");

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

    {
        const QDeclarativeProperty *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isResettable();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeProperty, sipName_isResettable, doc_QDeclarativeProperty_isResettable);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeProperty_object, "object(self) -> QObject");

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

    {
        const QDeclarativeProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeProperty, &sipCpp))
        {
            QObject*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->object();
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeProperty, sipName_object, doc_QDeclarativeProperty_object);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeProperty_index, "index(self) -> int");

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

    {
        const QDeclarativeProperty *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->index();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeProperty, sipName_index, doc_QDeclarativeProperty_index);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeProperty_property, "property(self) -> QMetaProperty");

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

    {
        const QDeclarativeProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeProperty, &sipCpp))
        {
            QMetaProperty*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QMetaProperty(sipCpp->property());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeProperty_method, "method(self) -> QMetaMethod");

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

    {
        const QDeclarativeProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeProperty, &sipCpp))
        {
            QMetaMethod*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QMetaMethod(sipCpp->method());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeProperty, sipName_method, doc_QDeclarativeProperty_method);

    return NULL;
}


extern "C" {static PyObject *slot_QDeclarativeProperty___ne__(PyObject *,PyObject *);}
static PyObject *slot_QDeclarativeProperty___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QDeclarativeProperty *sipCpp = reinterpret_cast<QDeclarativeProperty *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDeclarativeProperty));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeProperty* a0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = !sipCpp->QDeclarativeProperty::operator==(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtDeclarative,ne_slot,sipType_QDeclarativeProperty,sipSelf,sipArg);
}


extern "C" {static long slot_QDeclarativeProperty___hash__(PyObject *);}
static long slot_QDeclarativeProperty___hash__(PyObject *sipSelf)
{
    QDeclarativeProperty *sipCpp = reinterpret_cast<QDeclarativeProperty *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDeclarativeProperty));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 87 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativeproperty.sip"
        sipRes = qHash(*sipCpp);
#line 8417 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QDeclarativeProperty___eq__(PyObject *,PyObject *);}
static PyObject *slot_QDeclarativeProperty___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QDeclarativeProperty *sipCpp = reinterpret_cast<QDeclarativeProperty *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDeclarativeProperty));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeProperty* a0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QDeclarativeProperty::operator==(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtDeclarative,eq_slot,sipType_QDeclarativeProperty,sipSelf,sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QDeclarativeProperty(void *, int);}
static void release_QDeclarativeProperty(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QDeclarativeProperty *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


extern "C" {static void *array_QDeclarativeProperty(SIP_SSIZE_T);}
static void *array_QDeclarativeProperty(SIP_SSIZE_T sipNrElem)
{
    return new QDeclarativeProperty[sipNrElem];
}


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


extern "C" {static void dealloc_QDeclarativeProperty(sipSimpleWrapper *);}
static void dealloc_QDeclarativeProperty(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QDeclarativeProperty(sipGetAddress(sipSelf),0);
    }
}


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

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDeclarativeProperty();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        QObject* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_QObject, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDeclarativeProperty(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        QObject* a0;
        QDeclarativeContext* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8J8", sipType_QObject, &a0, sipType_QDeclarativeContext, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDeclarativeProperty(a0,a1);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        QObject* a0;
        QDeclarativeEngine* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8J8", sipType_QObject, &a0, sipType_QDeclarativeEngine, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDeclarativeProperty(a0,a1);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        QObject* a0;
        const QString* a1;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8J1", sipType_QObject, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDeclarativeProperty(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipCpp;
        }
    }

    {
        QObject* a0;
        const QString* a1;
        int a1State = 0;
        QDeclarativeContext* a2;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8J1J8", sipType_QObject, &a0, sipType_QString,&a1, &a1State, sipType_QDeclarativeContext, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDeclarativeProperty(a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipCpp;
        }
    }

    {
        QObject* a0;
        const QString* a1;
        int a1State = 0;
        QDeclarativeEngine* a2;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8J1J8", sipType_QObject, &a0, sipType_QString,&a1, &a1State, sipType_QDeclarativeEngine, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDeclarativeProperty(a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipCpp;
        }
    }

    {
        const QDeclarativeProperty* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDeclarativeProperty, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDeclarativeProperty(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QDeclarativeProperty[] = {
    {(void *)slot_QDeclarativeProperty___ne__, ne_slot},
    {(void *)slot_QDeclarativeProperty___hash__, hash_slot},
    {(void *)slot_QDeclarativeProperty___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QDeclarativeProperty[] = {
    {SIP_MLNAME_CAST(sipName_connectNotifySignal), meth_QDeclarativeProperty_connectNotifySignal, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeProperty_connectNotifySignal)},
    {SIP_MLNAME_CAST(sipName_hasNotifySignal), meth_QDeclarativeProperty_hasNotifySignal, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeProperty_hasNotifySignal)},
    {SIP_MLNAME_CAST(sipName_index), meth_QDeclarativeProperty_index, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeProperty_index)},
    {SIP_MLNAME_CAST(sipName_isDesignable), meth_QDeclarativeProperty_isDesignable, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeProperty_isDesignable)},
    {SIP_MLNAME_CAST(sipName_isProperty), meth_QDeclarativeProperty_isProperty, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeProperty_isProperty)},
    {SIP_MLNAME_CAST(sipName_isResettable), meth_QDeclarativeProperty_isResettable, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeProperty_isResettable)},
    {SIP_MLNAME_CAST(sipName_isSignalProperty), meth_QDeclarativeProperty_isSignalProperty, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeProperty_isSignalProperty)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QDeclarativeProperty_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeProperty_isValid)},
    {SIP_MLNAME_CAST(sipName_isWritable), meth_QDeclarativeProperty_isWritable, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeProperty_isWritable)},
    {SIP_MLNAME_CAST(sipName_method), meth_QDeclarativeProperty_method, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeProperty_method)},
    {SIP_MLNAME_CAST(sipName_name), meth_QDeclarativeProperty_name, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeProperty_name)},
    {SIP_MLNAME_CAST(sipName_needsNotifySignal), meth_QDeclarativeProperty_needsNotifySignal, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeProperty_needsNotifySignal)},
    {SIP_MLNAME_CAST(sipName_object), meth_QDeclarativeProperty_object, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeProperty_object)},
    {SIP_MLNAME_CAST(sipName_property), meth_QDeclarativeProperty_property, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeProperty_property)},
    {SIP_MLNAME_CAST(sipName_propertyType), meth_QDeclarativeProperty_propertyType, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeProperty_propertyType)},
    {SIP_MLNAME_CAST(sipName_propertyTypeCategory), meth_QDeclarativeProperty_propertyTypeCategory, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeProperty_propertyTypeCategory)},
    {SIP_MLNAME_CAST(sipName_propertyTypeName), meth_QDeclarativeProperty_propertyTypeName, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeProperty_propertyTypeName)},
    {SIP_MLNAME_CAST(sipName_read), meth_QDeclarativeProperty_read, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeProperty_read)},
    {SIP_MLNAME_CAST(sipName_reset), meth_QDeclarativeProperty_reset, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeProperty_reset)},
    {SIP_MLNAME_CAST(sipName_type), meth_QDeclarativeProperty_type, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeProperty_type)},
    {SIP_MLNAME_CAST(sipName_write), meth_QDeclarativeProperty_write, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeProperty_write)}
};

static sipEnumMemberDef enummembers_QDeclarativeProperty[] = {
    {sipName_Invalid, static_cast<int>(QDeclarativeProperty::Invalid), 18},
    {sipName_InvalidCategory, static_cast<int>(QDeclarativeProperty::InvalidCategory), 17},
    {sipName_List, static_cast<int>(QDeclarativeProperty::List), 17},
    {sipName_Normal, static_cast<int>(QDeclarativeProperty::Normal), 17},
    {sipName_Object, static_cast<int>(QDeclarativeProperty::Object), 17},
    {sipName_Property, static_cast<int>(QDeclarativeProperty::Property), 18},
    {sipName_SignalProperty, static_cast<int>(QDeclarativeProperty::SignalProperty), 18},
};

PyDoc_STRVAR(doc_QDeclarativeProperty, "\1QDeclarativeProperty()\n"
    "QDeclarativeProperty(QObject)\n"
    "QDeclarativeProperty(QObject, QDeclarativeContext)\n"
    "QDeclarativeProperty(QObject, QDeclarativeEngine)\n"
    "QDeclarativeProperty(QObject, object)\n"
    "QDeclarativeProperty(QObject, object, QDeclarativeContext)\n"
    "QDeclarativeProperty(QObject, object, QDeclarativeEngine)\n"
    "QDeclarativeProperty(QDeclarativeProperty)");


pyqt4ClassTypeDef sipTypeDef_QtDeclarative_QDeclarativeProperty = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDeclarativeProperty,
        {0}
    },
    {
        sipNameNr_QDeclarativeProperty,
        {0, 0, 1},
        21, methods_QDeclarativeProperty,
        7, enummembers_QDeclarativeProperty,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDeclarativeProperty,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QDeclarativeProperty,
    init_type_QDeclarativeProperty,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDeclarativeProperty,
    assign_QDeclarativeProperty,
    array_QDeclarativeProperty,
    copy_QDeclarativeProperty,
    release_QDeclarativeProperty,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativenetworkaccessmanagerfactory.sip"
#include <qdeclarativenetworkaccessmanagerfactory.h>
#line 8737 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtNetwork/qnetworkaccessmanager.sip"
#include <qnetworkaccessmanager.h>
#line 8741 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 8744 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"


class sipQDeclarativeNetworkAccessManagerFactory : public QDeclarativeNetworkAccessManagerFactory
{
public:
    sipQDeclarativeNetworkAccessManagerFactory();
    sipQDeclarativeNetworkAccessManagerFactory(const QDeclarativeNetworkAccessManagerFactory&);
    virtual ~sipQDeclarativeNetworkAccessManagerFactory();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QNetworkAccessManager* create(QObject*);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[1];
};

sipQDeclarativeNetworkAccessManagerFactory::sipQDeclarativeNetworkAccessManagerFactory(): QDeclarativeNetworkAccessManagerFactory(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDeclarativeNetworkAccessManagerFactory::sipQDeclarativeNetworkAccessManagerFactory(const QDeclarativeNetworkAccessManagerFactory& a0): QDeclarativeNetworkAccessManagerFactory(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDeclarativeNetworkAccessManagerFactory::~sipQDeclarativeNetworkAccessManagerFactory()
{
    sipCommonDtor(sipPySelf);
}

QNetworkAccessManager* sipQDeclarativeNetworkAccessManagerFactory::create(QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_QDeclarativeNetworkAccessManagerFactory,sipName_create);

    if (!sipMeth)
        return 0;

    extern QNetworkAccessManager* sipVH_QtDeclarative_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*);

    return sipVH_QtDeclarative_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}


PyDoc_STRVAR(doc_QDeclarativeNetworkAccessManagerFactory_create, "create(self, QObject) -> QNetworkAccessManager");

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

    {
        QObject* a0;
        sipWrapper *sipOwner = 0;
        QDeclarativeNetworkAccessManagerFactory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJH", &sipSelf, sipType_QDeclarativeNetworkAccessManagerFactory, &sipCpp, sipType_QObject, &a0, &sipOwner))
        {
            QNetworkAccessManager*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QDeclarativeNetworkAccessManagerFactory, sipName_create);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->create(a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QNetworkAccessManager,(PyObject *)sipOwner);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeNetworkAccessManagerFactory, sipName_create, doc_QDeclarativeNetworkAccessManagerFactory_create);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDeclarativeNetworkAccessManagerFactory(void *, int);}
static void release_QDeclarativeNetworkAccessManagerFactory(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQDeclarativeNetworkAccessManagerFactory *>(sipCppV);
    else
        delete reinterpret_cast<QDeclarativeNetworkAccessManagerFactory *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QDeclarativeNetworkAccessManagerFactory(sipSimpleWrapper *);}
static void dealloc_QDeclarativeNetworkAccessManagerFactory(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQDeclarativeNetworkAccessManagerFactory *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQDeclarativeNetworkAccessManagerFactory();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QDeclarativeNetworkAccessManagerFactory* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDeclarativeNetworkAccessManagerFactory, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQDeclarativeNetworkAccessManagerFactory(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QDeclarativeNetworkAccessManagerFactory[] = {
    {SIP_MLNAME_CAST(sipName_create), meth_QDeclarativeNetworkAccessManagerFactory_create, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeNetworkAccessManagerFactory_create)}
};

PyDoc_STRVAR(doc_QDeclarativeNetworkAccessManagerFactory, "\1QDeclarativeNetworkAccessManagerFactory()\n"
    "QDeclarativeNetworkAccessManagerFactory(QDeclarativeNetworkAccessManagerFactory)");


pyqt4ClassTypeDef sipTypeDef_QtDeclarative_QDeclarativeNetworkAccessManagerFactory = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_QDeclarativeNetworkAccessManagerFactory,
        {0}
    },
    {
        sipNameNr_QDeclarativeNetworkAccessManagerFactory,
        {0, 0, 1},
        1, methods_QDeclarativeNetworkAccessManagerFactory,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDeclarativeNetworkAccessManagerFactory,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QDeclarativeNetworkAccessManagerFactory,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDeclarativeNetworkAccessManagerFactory,
    0,
    0,
    0,
    release_QDeclarativeNetworkAccessManagerFactory,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativelist.sip"
#include <qdeclarativelist.h>
#line 8970 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 8974 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativeengine.sip"
#include <qdeclarativeengine.h>
#line 8977 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 8980 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"


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

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

    {
        const QDeclarativeListReference *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeListReference_object, "object(self) -> QObject");

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

    {
        const QDeclarativeListReference *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeListReference, &sipCpp))
        {
            QObject*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->object();
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeListReference, sipName_object, doc_QDeclarativeListReference_object);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeListReference_listElementType, "listElementType(self) -> QMetaObject");

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

    {
        const QDeclarativeListReference *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeListReference, &sipCpp))
        {
            const QMetaObject*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->listElementType();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(const_cast<QMetaObject *>(sipRes),sipType_QMetaObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeListReference, sipName_listElementType, doc_QDeclarativeListReference_listElementType);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeListReference_canAppend, "canAppend(self) -> bool");

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

    {
        const QDeclarativeListReference *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->canAppend();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeListReference, sipName_canAppend, doc_QDeclarativeListReference_canAppend);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeListReference_canAt, "canAt(self) -> bool");

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

    {
        const QDeclarativeListReference *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->canAt();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeListReference, sipName_canAt, doc_QDeclarativeListReference_canAt);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeListReference_canClear, "canClear(self) -> bool");

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

    {
        const QDeclarativeListReference *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->canClear();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeListReference, sipName_canClear, doc_QDeclarativeListReference_canClear);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeListReference_canCount, "canCount(self) -> bool");

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

    {
        const QDeclarativeListReference *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->canCount();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeListReference, sipName_canCount, doc_QDeclarativeListReference_canCount);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeListReference_append, "append(self, QObject) -> bool");

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

    {
        QObject* a0;
        const QDeclarativeListReference *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->append(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeListReference, sipName_append, doc_QDeclarativeListReference_append);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeListReference_at, "at(self, int) -> QObject");

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

    {
        int a0;
        const QDeclarativeListReference *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->at(a0);
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeListReference, sipName_at, doc_QDeclarativeListReference_at);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeListReference_clear, "clear(self) -> bool");

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

    {
        const QDeclarativeListReference *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->clear();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeListReference, sipName_clear, doc_QDeclarativeListReference_clear);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeListReference_count, "count(self) -> int");

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

    {
        const QDeclarativeListReference *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->count();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeListReference, sipName_count, doc_QDeclarativeListReference_count);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDeclarativeListReference(void *, int);}
static void release_QDeclarativeListReference(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QDeclarativeListReference *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


extern "C" {static void *array_QDeclarativeListReference(SIP_SSIZE_T);}
static void *array_QDeclarativeListReference(SIP_SSIZE_T sipNrElem)
{
    return new QDeclarativeListReference[sipNrElem];
}


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


extern "C" {static void dealloc_QDeclarativeListReference(sipSimpleWrapper *);}
static void dealloc_QDeclarativeListReference(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QDeclarativeListReference(sipGetAddress(sipSelf),0);
    }
}


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

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDeclarativeListReference();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        QObject* a0;
        const char* a1;
        PyObject *a1Keep;
        QDeclarativeEngine* a2 = 0;

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

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J8AA|J8", sipType_QObject, &a0, &a1Keep, &a1, sipType_QDeclarativeEngine, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDeclarativeListReference(a0,a1,a2);
            Py_END_ALLOW_THREADS
            Py_DECREF(a1Keep);

            return sipCpp;
        }
    }

    {
        const QDeclarativeListReference* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDeclarativeListReference, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDeclarativeListReference(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QDeclarativeListReference[] = {
    {SIP_MLNAME_CAST(sipName_append), meth_QDeclarativeListReference_append, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeListReference_append)},
    {SIP_MLNAME_CAST(sipName_at), meth_QDeclarativeListReference_at, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeListReference_at)},
    {SIP_MLNAME_CAST(sipName_canAppend), meth_QDeclarativeListReference_canAppend, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeListReference_canAppend)},
    {SIP_MLNAME_CAST(sipName_canAt), meth_QDeclarativeListReference_canAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeListReference_canAt)},
    {SIP_MLNAME_CAST(sipName_canClear), meth_QDeclarativeListReference_canClear, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeListReference_canClear)},
    {SIP_MLNAME_CAST(sipName_canCount), meth_QDeclarativeListReference_canCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeListReference_canCount)},
    {SIP_MLNAME_CAST(sipName_clear), meth_QDeclarativeListReference_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeListReference_clear)},
    {SIP_MLNAME_CAST(sipName_count), meth_QDeclarativeListReference_count, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeListReference_count)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QDeclarativeListReference_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeListReference_isValid)},
    {SIP_MLNAME_CAST(sipName_listElementType), meth_QDeclarativeListReference_listElementType, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeListReference_listElementType)},
    {SIP_MLNAME_CAST(sipName_object), meth_QDeclarativeListReference_object, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeListReference_object)}
};

PyDoc_STRVAR(doc_QDeclarativeListReference, "\1QDeclarativeListReference()\n"
    "QDeclarativeListReference(QObject, str, engine: QDeclarativeEngine = None)\n"
    "QDeclarativeListReference(QDeclarativeListReference)");


pyqt4ClassTypeDef sipTypeDef_QtDeclarative_QDeclarativeListReference = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDeclarativeListReference,
        {0}
    },
    {
        sipNameNr_QDeclarativeListReference,
        {0, 0, 1},
        11, methods_QDeclarativeListReference,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDeclarativeListReference,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QDeclarativeListReference,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDeclarativeListReference,
    assign_QDeclarativeListReference,
    array_QDeclarativeListReference,
    copy_QDeclarativeListReference,
    release_QDeclarativeListReference,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativeitem.sip"
#include <qdeclarativeitem.h>
#line 9489 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

#line 163 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qrect.sip"
#include <qrect.h>
#line 9493 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 9496 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9499 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 651 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 9502 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 478 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 9505 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 9508 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9511 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 9514 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 1970 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 9517 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 9520 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9523 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9526 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9529 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 9532 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 9535 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 9538 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 9541 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 9544 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 9547 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 9550 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 9553 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9556 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 114 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 9559 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 9562 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 9565 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 9568 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 1144 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 9571 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 9574 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 9577 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qregion.sip"
#include <qregion.h>
#line 9580 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 9583 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 9586 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 182 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 9589 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 78 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 9592 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 48 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 9595 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 135 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 9598 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 509 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 9601 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 188 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 9604 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 105 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 9607 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 354 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 9610 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 9613 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9616 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 9619 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 9622 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 1104 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 9625 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 9628 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"


class sipQDeclarativeItem : public QDeclarativeItem
{
public:
    sipQDeclarativeItem(QDeclarativeItem*);
    virtual ~sipQDeclarativeItem();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtectVirt_contextMenuEvent(bool,QGraphicsSceneContextMenuEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dropEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_hoverEnterEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_hoverLeaveEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_hoverMoveEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mousePressEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtect_prepareGeometryChange();
    bool sipProtectVirt_sceneEventFilter(bool,QGraphicsItem*,QEvent*);
    void sipProtectVirt_wheelEvent(bool,QGraphicsSceneWheelEvent*);
    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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() const;
    void sipProtect_updateMicroFocus();
    bool sipProtect_isComponentComplete() const;
    bool sipProtectVirt_sceneEvent(bool,QEvent*);
    bool sipProtectVirt_event(bool,QEvent*);
    QVariant sipProtectVirt_itemChange(bool,QGraphicsItem::GraphicsItemChange,const QVariant&);
    void sipProtect_setImplicitWidth(qreal);
    bool sipProtect_widthValid() const;
    void sipProtect_setImplicitHeight(qreal);
    bool sipProtect_heightValid() const;
    void sipProtectVirt_classBegin(bool);
    void sipProtectVirt_componentComplete(bool);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    QVariant sipProtectVirt_inputMethodQuery(bool,Qt::InputMethodQuery) const;
    void sipProtectVirt_geometryChanged(bool,const QRectF&,const QRectF&);

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[42];
};

sipQDeclarativeItem::sipQDeclarativeItem(QDeclarativeItem*a0): QDeclarativeItem(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDeclarativeItem::~sipQDeclarativeItem()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQDeclarativeItem::metaObject() const
{
    return sip_QtDeclarative_qt_metaobject(sipPySelf,sipType_QDeclarativeItem);
}

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

    if (_id >= 0)
        _id = sip_QtDeclarative_qt_metacall(sipPySelf,sipType_QDeclarativeItem,_c,_id,_a);

    return _id;
}

void *sipQDeclarativeItem::qt_metacast(const char *_clname)
{
    return (sip_QtDeclarative_qt_metacast(sipPySelf, sipType_QDeclarativeItem, _clname)) ? this : QDeclarativeItem::qt_metacast(_clname);
}

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

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

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

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

    ((sipVH_QtGui_199)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[199]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return ((sipVH_QtGui_208)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[208]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

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

    ((sipVH_QtGui_200)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_200)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_200)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_200)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[200]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_187)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_187)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_187)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[187]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_24)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_24)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_202)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_202)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_202)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_202)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[202]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_203)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[203]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    return ((sipVH_QtGui_194)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[194]))(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

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

    return ((sipVH_QtGui_206)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[206]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return ((sipVH_QtGui_209)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[209]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

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

    return ((sipVH_QtGui_210)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[210]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

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

    return ((sipVH_QtGui_207)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[207]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return ((sipVH_QtGui_194)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[194]))(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

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

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

void sipQDeclarativeItem::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQDeclarativeItem::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_17)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    return ((sipVH_QtCore_18)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipQDeclarativeItem::geometryChanged(const QRectF& a0,const QRectF& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QDeclarativeItem::geometryChanged(a0,a1);
        return;
    }

    extern void sipVH_QtDeclarative_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRectF&,const QRectF&);

    sipVH_QtDeclarative_2(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

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

    return ((sipVH_QtGui_12)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_13)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_25)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtGui_25)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQDeclarativeItem::componentComplete()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QDeclarativeItem::componentComplete();
        return;
    }

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

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

void sipQDeclarativeItem::classBegin()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QDeclarativeItem::classBegin();
        return;
    }

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

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

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

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

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

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

    return ((sipVH_QtGui_191)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[191]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    ((sipVH_QtGui_196)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[196]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

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

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

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

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

    return ((sipVH_QtGui_195)(sipModuleAPI_QtDeclarative_QtGui->em_virthandlers[195]))(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipQDeclarativeItem::sipProtect_prepareGeometryChange()
{
    QGraphicsItem::prepareGeometryChange();
}

bool sipQDeclarativeItem::sipProtectVirt_sceneEventFilter(bool sipSelfWasArg,QGraphicsItem*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QGraphicsItem::sceneEventFilter(a0,a1) : sceneEventFilter(a0,a1));
}

void sipQDeclarativeItem::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QGraphicsSceneWheelEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::wheelEvent(a0) : wheelEvent(a0));
}

QObject* sipQDeclarativeItem::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQDeclarativeItem::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQDeclarativeItem::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQDeclarativeItem::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQDeclarativeItem::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQDeclarativeItem::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQDeclarativeItem::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQDeclarativeItem::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

void sipQDeclarativeItem::sipProtect_updateMicroFocus()
{
    QGraphicsObject::updateMicroFocus();
}

bool sipQDeclarativeItem::sipProtect_isComponentComplete() const
{
    return QDeclarativeItem::isComponentComplete();
}

bool sipQDeclarativeItem::sipProtectVirt_sceneEvent(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QDeclarativeItem::sceneEvent(a0) : sceneEvent(a0));
}

bool sipQDeclarativeItem::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QDeclarativeItem::event(a0) : event(a0));
}

QVariant sipQDeclarativeItem::sipProtectVirt_itemChange(bool sipSelfWasArg,QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    return (sipSelfWasArg ? QDeclarativeItem::itemChange(a0,a1) : itemChange(a0,a1));
}

void sipQDeclarativeItem::sipProtect_setImplicitWidth(qreal a0)
{
    QDeclarativeItem::setImplicitWidth(a0);
}

bool sipQDeclarativeItem::sipProtect_widthValid() const
{
    return QDeclarativeItem::widthValid();
}

void sipQDeclarativeItem::sipProtect_setImplicitHeight(qreal a0)
{
    QDeclarativeItem::setImplicitHeight(a0);
}

bool sipQDeclarativeItem::sipProtect_heightValid() const
{
    return QDeclarativeItem::heightValid();
}

void sipQDeclarativeItem::sipProtectVirt_classBegin(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QDeclarativeItem::classBegin() : classBegin());
}

void sipQDeclarativeItem::sipProtectVirt_componentComplete(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QDeclarativeItem::componentComplete() : componentComplete());
}

void sipQDeclarativeItem::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QDeclarativeItem::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQDeclarativeItem::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QDeclarativeItem::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQDeclarativeItem::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QDeclarativeItem::inputMethodEvent(a0) : inputMethodEvent(a0));
}

QVariant sipQDeclarativeItem::sipProtectVirt_inputMethodQuery(bool sipSelfWasArg,Qt::InputMethodQuery a0) const
{
    return (sipSelfWasArg ? QDeclarativeItem::inputMethodQuery(a0) : inputMethodQuery(a0));
}

void sipQDeclarativeItem::sipProtectVirt_geometryChanged(bool sipSelfWasArg,const QRectF& a0,const QRectF& a1)
{
    (sipSelfWasArg ? QDeclarativeItem::geometryChanged(a0,a1) : geometryChanged(a0,a1));
}


PyDoc_STRVAR(doc_QDeclarativeItem_contextMenuEvent, "contextMenuEvent(self, QGraphicsSceneContextMenuEvent)");

extern "C" {static PyObject *meth_QDeclarativeItem_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneContextMenuEvent* a0;
        sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeItem, &sipCpp, sipType_QGraphicsSceneContextMenuEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_contextMenuEvent, doc_QDeclarativeItem_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_dragEnterEvent, "dragEnterEvent(self, QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QDeclarativeItem_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_dragEnterEvent, doc_QDeclarativeItem_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_dragLeaveEvent, "dragLeaveEvent(self, QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QDeclarativeItem_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_dragLeaveEvent, doc_QDeclarativeItem_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_dragMoveEvent, "dragMoveEvent(self, QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QDeclarativeItem_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_dragMoveEvent, doc_QDeclarativeItem_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_dropEvent, "dropEvent(self, QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QDeclarativeItem_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_dropEvent, doc_QDeclarativeItem_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_focusInEvent, "focusInEvent(self, QFocusEvent)");

extern "C" {static PyObject *meth_QDeclarativeItem_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeItem, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_focusInEvent, doc_QDeclarativeItem_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_focusOutEvent, "focusOutEvent(self, QFocusEvent)");

extern "C" {static PyObject *meth_QDeclarativeItem_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeItem, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_focusOutEvent, doc_QDeclarativeItem_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_hoverEnterEvent, "hoverEnterEvent(self, QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QDeclarativeItem_hoverEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_hoverEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeItem, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_hoverEnterEvent, doc_QDeclarativeItem_hoverEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_hoverLeaveEvent, "hoverLeaveEvent(self, QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QDeclarativeItem_hoverLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_hoverLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeItem, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_hoverLeaveEvent, doc_QDeclarativeItem_hoverLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_hoverMoveEvent, "hoverMoveEvent(self, QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QDeclarativeItem_hoverMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_hoverMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeItem, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hoverMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_hoverMoveEvent, doc_QDeclarativeItem_hoverMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_mouseDoubleClickEvent, "mouseDoubleClickEvent(self, QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QDeclarativeItem_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_mouseDoubleClickEvent, doc_QDeclarativeItem_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_mouseMoveEvent, "mouseMoveEvent(self, QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QDeclarativeItem_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_mouseMoveEvent, doc_QDeclarativeItem_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_mousePressEvent, "mousePressEvent(self, QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QDeclarativeItem_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_mousePressEvent, doc_QDeclarativeItem_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_mouseReleaseEvent, "mouseReleaseEvent(self, QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QDeclarativeItem_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_mouseReleaseEvent, doc_QDeclarativeItem_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_prepareGeometryChange, "prepareGeometryChange(self)");

extern "C" {static PyObject *meth_QDeclarativeItem_prepareGeometryChange(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_prepareGeometryChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDeclarativeItem, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_prepareGeometryChange();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_prepareGeometryChange, doc_QDeclarativeItem_prepareGeometryChange);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_sceneEventFilter, "sceneEventFilter(self, QGraphicsItem, QEvent) -> bool");

extern "C" {static PyObject *meth_QDeclarativeItem_sceneEventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_sceneEventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem* a0;
        QEvent* a1;
        sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QDeclarativeItem, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_sceneEventFilter(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_sceneEventFilter, doc_QDeclarativeItem_sceneEventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_wheelEvent, "wheelEvent(self, QGraphicsSceneWheelEvent)");

extern "C" {static PyObject *meth_QDeclarativeItem_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneWheelEvent* a0;
        sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeItem, &sipCpp, sipType_QGraphicsSceneWheelEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_wheelEvent, doc_QDeclarativeItem_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QDeclarativeItem_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDeclarativeItem, &sipCpp))
        {
            QObject*sipRes = 0;

#line 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 11260 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_sender, doc_QDeclarativeItem_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_receivers, "receivers(self, QT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QDeclarativeItem_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        char* a0;
        const sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QDeclarativeItem, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 11306 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_receivers, doc_QDeclarativeItem_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QDeclarativeItem_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeItem, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_timerEvent, doc_QDeclarativeItem_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QDeclarativeItem_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeItem, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_childEvent, doc_QDeclarativeItem_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QDeclarativeItem_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeItem, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_customEvent, doc_QDeclarativeItem_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_connectNotify, "connectNotify(self, QT_SIGNAL)");

extern "C" {static PyObject *meth_QDeclarativeItem_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char* a0;
        sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QDeclarativeItem, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_connectNotify, doc_QDeclarativeItem_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_disconnectNotify, "disconnectNotify(self, QT_SIGNAL)");

extern "C" {static PyObject *meth_QDeclarativeItem_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char* a0;
        sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QDeclarativeItem, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_disconnectNotify, doc_QDeclarativeItem_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QDeclarativeItem_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDeclarativeItem, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_senderSignalIndex, doc_QDeclarativeItem_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_updateMicroFocus, "updateMicroFocus(self)");

extern "C" {static PyObject *meth_QDeclarativeItem_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDeclarativeItem, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_updateMicroFocus();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_updateMicroFocus, doc_QDeclarativeItem_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_parentItem, "parentItem(self) -> QDeclarativeItem");

extern "C" {static PyObject *meth_QDeclarativeItem_parentItem(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_parentItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeItem, &sipCpp))
        {
            QDeclarativeItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->parentItem();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDeclarativeItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_parentItem, doc_QDeclarativeItem_parentItem);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_setParentItem, "setParentItem(self, QDeclarativeItem)");

extern "C" {static PyObject *meth_QDeclarativeItem_setParentItem(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_setParentItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDeclarativeItem* a0;
        sipWrapper *sipOwner = 0;
        QDeclarativeItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJH", &sipSelf, sipType_QDeclarativeItem, &sipCpp, sipType_QDeclarativeItem, &a0, &sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setParentItem(a0);
            Py_END_ALLOW_THREADS

            if (sipOwner)
                sipTransferTo(sipSelf, (PyObject *)sipOwner);
            else
                sipTransferBack(sipSelf);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_setParentItem, doc_QDeclarativeItem_setParentItem);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_childrenRect, "childrenRect(self) -> QRectF");

extern "C" {static PyObject *meth_QDeclarativeItem_childrenRect(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_childrenRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDeclarativeItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeItem, &sipCpp))
        {
            QRectF*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRectF(sipCpp->childrenRect());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_childrenRect, doc_QDeclarativeItem_childrenRect);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_clip, "clip(self) -> bool");

extern "C" {static PyObject *meth_QDeclarativeItem_clip(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_clip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeItem, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->clip();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_clip, doc_QDeclarativeItem_clip);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_setClip, "setClip(self, bool)");

extern "C" {static PyObject *meth_QDeclarativeItem_setClip(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_setClip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QDeclarativeItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QDeclarativeItem, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setClip(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_setClip, doc_QDeclarativeItem_setClip);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_baselineOffset, "baselineOffset(self) -> float");

extern "C" {static PyObject *meth_QDeclarativeItem_baselineOffset(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_baselineOffset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeItem, &sipCpp))
        {
            qreal sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->baselineOffset();
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_baselineOffset, doc_QDeclarativeItem_baselineOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_setBaselineOffset, "setBaselineOffset(self, float)");

extern "C" {static PyObject *meth_QDeclarativeItem_setBaselineOffset(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_setBaselineOffset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QDeclarativeItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QDeclarativeItem, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setBaselineOffset(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_setBaselineOffset, doc_QDeclarativeItem_setBaselineOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_setWidth, "setWidth(self, float)");

extern "C" {static PyObject *meth_QDeclarativeItem_setWidth(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_setWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QDeclarativeItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QDeclarativeItem, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWidth(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_setWidth, doc_QDeclarativeItem_setWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_implicitWidth, "implicitWidth(self) -> float");

extern "C" {static PyObject *meth_QDeclarativeItem_implicitWidth(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_implicitWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeItem, &sipCpp))
        {
            qreal sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->implicitWidth();
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_implicitWidth, doc_QDeclarativeItem_implicitWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_setHeight, "setHeight(self, float)");

extern "C" {static PyObject *meth_QDeclarativeItem_setHeight(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_setHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QDeclarativeItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QDeclarativeItem, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHeight(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_setHeight, doc_QDeclarativeItem_setHeight);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_implicitHeight, "implicitHeight(self) -> float");

extern "C" {static PyObject *meth_QDeclarativeItem_implicitHeight(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_implicitHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeItem, &sipCpp))
        {
            qreal sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->implicitHeight();
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_implicitHeight, doc_QDeclarativeItem_implicitHeight);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_transformOrigin, "transformOrigin(self) -> QDeclarativeItem.TransformOrigin");

extern "C" {static PyObject *meth_QDeclarativeItem_transformOrigin(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_transformOrigin(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeItem, &sipCpp))
        {
            QDeclarativeItem::TransformOrigin sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->transformOrigin();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QDeclarativeItem_TransformOrigin);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_transformOrigin, doc_QDeclarativeItem_transformOrigin);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_setTransformOrigin, "setTransformOrigin(self, QDeclarativeItem.TransformOrigin)");

extern "C" {static PyObject *meth_QDeclarativeItem_setTransformOrigin(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_setTransformOrigin(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDeclarativeItem::TransformOrigin a0;
        QDeclarativeItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QDeclarativeItem, &sipCpp, sipType_QDeclarativeItem_TransformOrigin, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTransformOrigin(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_setTransformOrigin, doc_QDeclarativeItem_setTransformOrigin);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_smooth, "smooth(self) -> bool");

extern "C" {static PyObject *meth_QDeclarativeItem_smooth(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_smooth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeItem, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->smooth();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_smooth, doc_QDeclarativeItem_smooth);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_setSmooth, "setSmooth(self, bool)");

extern "C" {static PyObject *meth_QDeclarativeItem_setSmooth(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_setSmooth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QDeclarativeItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QDeclarativeItem, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSmooth(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_setSmooth, doc_QDeclarativeItem_setSmooth);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_boundingRect, "boundingRect(self) -> QRectF");

extern "C" {static PyObject *meth_QDeclarativeItem_boundingRect(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_boundingRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QDeclarativeItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeItem, &sipCpp))
        {
            QRectF*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRectF((sipSelfWasArg ? sipCpp->QDeclarativeItem::boundingRect() : sipCpp->boundingRect()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_boundingRect, doc_QDeclarativeItem_boundingRect);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_paint, "paint(self, QPainter, QStyleOptionGraphicsItem, QWidget)");

extern "C" {static PyObject *meth_QDeclarativeItem_paint(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_paint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QStyleOptionGraphicsItem* a1;
        QWidget* a2;
        QDeclarativeItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8J8", &sipSelf, sipType_QDeclarativeItem, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionGraphicsItem, &a1, sipType_QWidget, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->QDeclarativeItem::paint(a0,a1,a2) : sipCpp->paint(a0,a1,a2));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_paint, doc_QDeclarativeItem_paint);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_hasFocus, "hasFocus(self) -> bool");

extern "C" {static PyObject *meth_QDeclarativeItem_hasFocus(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_hasFocus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeItem, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasFocus();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_hasFocus, doc_QDeclarativeItem_hasFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_keepMouseGrab, "keepMouseGrab(self) -> bool");

extern "C" {static PyObject *meth_QDeclarativeItem_keepMouseGrab(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_keepMouseGrab(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeItem, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->keepMouseGrab();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_keepMouseGrab, doc_QDeclarativeItem_keepMouseGrab);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_setKeepMouseGrab, "setKeepMouseGrab(self, bool)");

extern "C" {static PyObject *meth_QDeclarativeItem_setKeepMouseGrab(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_setKeepMouseGrab(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QDeclarativeItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QDeclarativeItem, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setKeepMouseGrab(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_setKeepMouseGrab, doc_QDeclarativeItem_setKeepMouseGrab);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_isComponentComplete, "isComponentComplete(self) -> bool");

extern "C" {static PyObject *meth_QDeclarativeItem_isComponentComplete(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_isComponentComplete(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDeclarativeItem, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_isComponentComplete();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_isComponentComplete, doc_QDeclarativeItem_isComponentComplete);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_sceneEvent, "sceneEvent(self, QEvent) -> bool");

extern "C" {static PyObject *meth_QDeclarativeItem_sceneEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_sceneEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeItem, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_sceneEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_sceneEvent, doc_QDeclarativeItem_sceneEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_event, "event(self, QEvent) -> bool");

extern "C" {static PyObject *meth_QDeclarativeItem_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeItem, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_event, doc_QDeclarativeItem_event);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_itemChange, "itemChange(self, QGraphicsItem.GraphicsItemChange, object) -> object");

extern "C" {static PyObject *meth_QDeclarativeItem_itemChange(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_itemChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem::GraphicsItemChange a0;
        const QVariant* a1;
        int a1State = 0;
        sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEJ1", &sipSelf, sipType_QDeclarativeItem, &sipCpp, sipType_QGraphicsItem_GraphicsItemChange, &a0, sipType_QVariant,&a1, &a1State))
        {
            QVariant*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->sipProtectVirt_itemChange(sipSelfWasArg,a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_itemChange, doc_QDeclarativeItem_itemChange);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_setImplicitWidth, "setImplicitWidth(self, float)");

extern "C" {static PyObject *meth_QDeclarativeItem_setImplicitWidth(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_setImplicitWidth(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bd", &sipSelf, sipType_QDeclarativeItem, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setImplicitWidth(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_setImplicitWidth, doc_QDeclarativeItem_setImplicitWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_widthValid, "widthValid(self) -> bool");

extern "C" {static PyObject *meth_QDeclarativeItem_widthValid(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_widthValid(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDeclarativeItem, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_widthValid();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_widthValid, doc_QDeclarativeItem_widthValid);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_setImplicitHeight, "setImplicitHeight(self, float)");

extern "C" {static PyObject *meth_QDeclarativeItem_setImplicitHeight(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_setImplicitHeight(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bd", &sipSelf, sipType_QDeclarativeItem, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setImplicitHeight(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_setImplicitHeight, doc_QDeclarativeItem_setImplicitHeight);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_heightValid, "heightValid(self) -> bool");

extern "C" {static PyObject *meth_QDeclarativeItem_heightValid(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_heightValid(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDeclarativeItem, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_heightValid();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_heightValid, doc_QDeclarativeItem_heightValid);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_classBegin, "classBegin(self)");

extern "C" {static PyObject *meth_QDeclarativeItem_classBegin(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_classBegin(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDeclarativeItem, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_classBegin(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_classBegin, doc_QDeclarativeItem_classBegin);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_componentComplete, "componentComplete(self)");

extern "C" {static PyObject *meth_QDeclarativeItem_componentComplete(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_componentComplete(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDeclarativeItem, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_componentComplete(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_componentComplete, doc_QDeclarativeItem_componentComplete);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_keyPressEvent, "keyPressEvent(self, QKeyEvent)");

extern "C" {static PyObject *meth_QDeclarativeItem_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeItem, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_keyPressEvent, doc_QDeclarativeItem_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_keyReleaseEvent, "keyReleaseEvent(self, QKeyEvent)");

extern "C" {static PyObject *meth_QDeclarativeItem_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeItem, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_keyReleaseEvent, doc_QDeclarativeItem_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_inputMethodEvent, "inputMethodEvent(self, QInputMethodEvent)");

extern "C" {static PyObject *meth_QDeclarativeItem_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeItem, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_inputMethodEvent, doc_QDeclarativeItem_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_inputMethodQuery, "inputMethodQuery(self, Qt.InputMethodQuery) -> object");

extern "C" {static PyObject *meth_QDeclarativeItem_inputMethodQuery(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        const sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QDeclarativeItem, &sipCpp, sipType_Qt_InputMethodQuery, &a0))
        {
            QVariant*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->sipProtectVirt_inputMethodQuery(sipSelfWasArg,a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_inputMethodQuery, doc_QDeclarativeItem_inputMethodQuery);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeItem_geometryChanged, "geometryChanged(self, QRectF, QRectF)");

extern "C" {static PyObject *meth_QDeclarativeItem_geometryChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeItem_geometryChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QRectF* a0;
        const QRectF* a1;
        sipQDeclarativeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QDeclarativeItem, &sipCpp, sipType_QRectF, &a0, sipType_QRectF, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_geometryChanged(sipSelfWasArg,*a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeItem, sipName_geometryChanged, doc_QDeclarativeItem_geometryChanged);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_QDeclarativeItem(void *, const sipTypeDef *);}
static void *cast_QDeclarativeItem(void *sipCppV, const sipTypeDef *targetType)
{
    QDeclarativeItem *sipCpp = reinterpret_cast<QDeclarativeItem *>(sipCppV);

    if (targetType == sipType_QGraphicsItem)
        return static_cast<QGraphicsItem *>(sipCpp);

    if (targetType == sipType_QDeclarativeParserStatus)
        return static_cast<QDeclarativeParserStatus *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDeclarativeItem(void *, int);}
static void release_QDeclarativeItem(void *sipCppV,int)
{
    QDeclarativeItem *sipCpp = reinterpret_cast<QDeclarativeItem *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QDeclarativeItem(sipSimpleWrapper *);}
static void dealloc_QDeclarativeItem(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQDeclarativeItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QDeclarativeItem(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QDeclarativeItem(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDeclarativeItem(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQDeclarativeItem *sipCpp = 0;

    {
        QDeclarativeItem* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QDeclarativeItem, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQDeclarativeItem(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QDeclarativeItem[] = {{183, 2, 0}, {15, 255, 1}};


static PyMethodDef methods_QDeclarativeItem[] = {
    {SIP_MLNAME_CAST(sipName_baselineOffset), meth_QDeclarativeItem_baselineOffset, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeItem_baselineOffset)},
    {SIP_MLNAME_CAST(sipName_boundingRect), meth_QDeclarativeItem_boundingRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeItem_boundingRect)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QDeclarativeItem_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childrenRect), meth_QDeclarativeItem_childrenRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeItem_childrenRect)},
    {SIP_MLNAME_CAST(sipName_classBegin), (PyCFunction)meth_QDeclarativeItem_classBegin, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDeclarativeItem_classBegin)},
    {SIP_MLNAME_CAST(sipName_clip), meth_QDeclarativeItem_clip, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeItem_clip)},
    {SIP_MLNAME_CAST(sipName_componentComplete), (PyCFunction)meth_QDeclarativeItem_componentComplete, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDeclarativeItem_componentComplete)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QDeclarativeItem_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QDeclarativeItem_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QDeclarativeItem_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QDeclarativeItem_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QDeclarativeItem_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QDeclarativeItem_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QDeclarativeItem_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QDeclarativeItem_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QDeclarativeItem_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDeclarativeItem_event)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QDeclarativeItem_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QDeclarativeItem_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_geometryChanged), (PyCFunction)meth_QDeclarativeItem_geometryChanged, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDeclarativeItem_geometryChanged)},
    {SIP_MLNAME_CAST(sipName_hasFocus), meth_QDeclarativeItem_hasFocus, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeItem_hasFocus)},
    {SIP_MLNAME_CAST(sipName_heightValid), (PyCFunction)meth_QDeclarativeItem_heightValid, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDeclarativeItem_heightValid)},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), (PyCFunction)meth_QDeclarativeItem_hoverEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), (PyCFunction)meth_QDeclarativeItem_hoverLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverMoveEvent), (PyCFunction)meth_QDeclarativeItem_hoverMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_implicitHeight), meth_QDeclarativeItem_implicitHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeItem_implicitHeight)},
    {SIP_MLNAME_CAST(sipName_implicitWidth), meth_QDeclarativeItem_implicitWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeItem_implicitWidth)},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QDeclarativeItem_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDeclarativeItem_inputMethodEvent)},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), (PyCFunction)meth_QDeclarativeItem_inputMethodQuery, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDeclarativeItem_inputMethodQuery)},
    {SIP_MLNAME_CAST(sipName_isComponentComplete), (PyCFunction)meth_QDeclarativeItem_isComponentComplete, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDeclarativeItem_isComponentComplete)},
    {SIP_MLNAME_CAST(sipName_itemChange), (PyCFunction)meth_QDeclarativeItem_itemChange, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDeclarativeItem_itemChange)},
    {SIP_MLNAME_CAST(sipName_keepMouseGrab), meth_QDeclarativeItem_keepMouseGrab, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeItem_keepMouseGrab)},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QDeclarativeItem_keyPressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDeclarativeItem_keyPressEvent)},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QDeclarativeItem_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDeclarativeItem_keyReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QDeclarativeItem_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QDeclarativeItem_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QDeclarativeItem_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QDeclarativeItem_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paint), meth_QDeclarativeItem_paint, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeItem_paint)},
    {SIP_MLNAME_CAST(sipName_parentItem), meth_QDeclarativeItem_parentItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeItem_parentItem)},
    {SIP_MLNAME_CAST(sipName_prepareGeometryChange), (PyCFunction)meth_QDeclarativeItem_prepareGeometryChange, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QDeclarativeItem_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEvent), (PyCFunction)meth_QDeclarativeItem_sceneEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDeclarativeItem_sceneEvent)},
    {SIP_MLNAME_CAST(sipName_sceneEventFilter), (PyCFunction)meth_QDeclarativeItem_sceneEventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QDeclarativeItem_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QDeclarativeItem_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setBaselineOffset), meth_QDeclarativeItem_setBaselineOffset, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeItem_setBaselineOffset)},
    {SIP_MLNAME_CAST(sipName_setClip), meth_QDeclarativeItem_setClip, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeItem_setClip)},
    {SIP_MLNAME_CAST(sipName_setHeight), meth_QDeclarativeItem_setHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeItem_setHeight)},
    {SIP_MLNAME_CAST(sipName_setImplicitHeight), (PyCFunction)meth_QDeclarativeItem_setImplicitHeight, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDeclarativeItem_setImplicitHeight)},
    {SIP_MLNAME_CAST(sipName_setImplicitWidth), (PyCFunction)meth_QDeclarativeItem_setImplicitWidth, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDeclarativeItem_setImplicitWidth)},
    {SIP_MLNAME_CAST(sipName_setKeepMouseGrab), meth_QDeclarativeItem_setKeepMouseGrab, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeItem_setKeepMouseGrab)},
    {SIP_MLNAME_CAST(sipName_setParentItem), meth_QDeclarativeItem_setParentItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeItem_setParentItem)},
    {SIP_MLNAME_CAST(sipName_setSmooth), meth_QDeclarativeItem_setSmooth, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeItem_setSmooth)},
    {SIP_MLNAME_CAST(sipName_setTransformOrigin), meth_QDeclarativeItem_setTransformOrigin, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeItem_setTransformOrigin)},
    {SIP_MLNAME_CAST(sipName_setWidth), meth_QDeclarativeItem_setWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeItem_setWidth)},
    {SIP_MLNAME_CAST(sipName_smooth), meth_QDeclarativeItem_smooth, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeItem_smooth)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QDeclarativeItem_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_transformOrigin), meth_QDeclarativeItem_transformOrigin, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeItem_transformOrigin)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QDeclarativeItem_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QDeclarativeItem_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_widthValid), (PyCFunction)meth_QDeclarativeItem_widthValid, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDeclarativeItem_widthValid)}
};

static sipEnumMemberDef enummembers_QDeclarativeItem[] = {
    {sipName_Bottom, static_cast<int>(QDeclarativeItem::Bottom), 11},
    {sipName_BottomLeft, static_cast<int>(QDeclarativeItem::BottomLeft), 11},
    {sipName_BottomRight, static_cast<int>(QDeclarativeItem::BottomRight), 11},
    {sipName_Center, static_cast<int>(QDeclarativeItem::Center), 11},
    {sipName_Left, static_cast<int>(QDeclarativeItem::Left), 11},
    {sipName_Right, static_cast<int>(QDeclarativeItem::Right), 11},
    {sipName_Top, static_cast<int>(QDeclarativeItem::Top), 11},
    {sipName_TopLeft, static_cast<int>(QDeclarativeItem::TopLeft), 11},
    {sipName_TopRight, static_cast<int>(QDeclarativeItem::TopRight), 11},
};

PyDoc_STRVAR(doc_QDeclarativeItem, "\1QDeclarativeItem(parent: QDeclarativeItem = None)");


pyqt4ClassTypeDef sipTypeDef_QtDeclarative_QDeclarativeItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QDeclarativeItem,
        {0}
    },
    {
        sipNameNr_QDeclarativeItem,
        {0, 0, 1},
        61, methods_QDeclarativeItem,
        9, enummembers_QDeclarativeItem,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDeclarativeItem,
    -1,
    -1,
    supers_QDeclarativeItem,
    0,
    init_type_QDeclarativeItem,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDeclarativeItem,
    0,
    0,
    0,
    release_QDeclarativeItem,
    cast_QDeclarativeItem,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QDeclarativeItem::staticMetaObject,
    0,
    0
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativeparserstatus.sip"
#include <qdeclarativeparserstatus.h>
#line 12822 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"



class sipQDeclarativeParserStatus : public QDeclarativeParserStatus
{
public:
    sipQDeclarativeParserStatus();
    sipQDeclarativeParserStatus(const QDeclarativeParserStatus&);
    virtual ~sipQDeclarativeParserStatus();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void componentComplete();
    void classBegin();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQDeclarativeParserStatus(const sipQDeclarativeParserStatus &);
    sipQDeclarativeParserStatus &operator = (const sipQDeclarativeParserStatus &);

    char sipPyMethods[2];
};

sipQDeclarativeParserStatus::sipQDeclarativeParserStatus(): QDeclarativeParserStatus(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDeclarativeParserStatus::sipQDeclarativeParserStatus(const QDeclarativeParserStatus& a0): QDeclarativeParserStatus(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDeclarativeParserStatus::~sipQDeclarativeParserStatus()
{
    sipCommonDtor(sipPySelf);
}

void sipQDeclarativeParserStatus::componentComplete()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_QDeclarativeParserStatus,sipName_componentComplete);

    if (!sipMeth)
        return;

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipQDeclarativeParserStatus::classBegin()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_QDeclarativeParserStatus,sipName_classBegin);

    if (!sipMeth)
        return;

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QDeclarativeParserStatus_classBegin, "classBegin(self)");

extern "C" {static PyObject *meth_QDeclarativeParserStatus_classBegin(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeParserStatus_classBegin(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        QDeclarativeParserStatus *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeParserStatus, &sipCpp))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QDeclarativeParserStatus, sipName_classBegin);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->classBegin();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeParserStatus, sipName_classBegin, doc_QDeclarativeParserStatus_classBegin);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeParserStatus_componentComplete, "componentComplete(self)");

extern "C" {static PyObject *meth_QDeclarativeParserStatus_componentComplete(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeParserStatus_componentComplete(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        QDeclarativeParserStatus *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeParserStatus, &sipCpp))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QDeclarativeParserStatus, sipName_componentComplete);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->componentComplete();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeParserStatus, sipName_componentComplete, doc_QDeclarativeParserStatus_componentComplete);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDeclarativeParserStatus(void *, int);}
static void release_QDeclarativeParserStatus(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQDeclarativeParserStatus *>(sipCppV);
    else
        delete reinterpret_cast<QDeclarativeParserStatus *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QDeclarativeParserStatus(sipSimpleWrapper *);}
static void dealloc_QDeclarativeParserStatus(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQDeclarativeParserStatus *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QDeclarativeParserStatus(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QDeclarativeParserStatus(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDeclarativeParserStatus(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQDeclarativeParserStatus *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQDeclarativeParserStatus();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QDeclarativeParserStatus* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDeclarativeParserStatus, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQDeclarativeParserStatus(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QDeclarativeParserStatus[] = {
    {SIP_MLNAME_CAST(sipName_classBegin), meth_QDeclarativeParserStatus_classBegin, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeParserStatus_classBegin)},
    {SIP_MLNAME_CAST(sipName_componentComplete), meth_QDeclarativeParserStatus_componentComplete, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeParserStatus_componentComplete)}
};

PyDoc_STRVAR(doc_QDeclarativeParserStatus, "\1QDeclarativeParserStatus()\n"
    "QDeclarativeParserStatus(QDeclarativeParserStatus)");


pyqt4ClassTypeDef sipTypeDef_QtDeclarative_QDeclarativeParserStatus = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_QDeclarativeParserStatus,
        {0}
    },
    {
        sipNameNr_QDeclarativeParserStatus,
        {0, 0, 1},
        2, methods_QDeclarativeParserStatus,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDeclarativeParserStatus,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QDeclarativeParserStatus,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDeclarativeParserStatus,
    0,
    0,
    0,
    release_QDeclarativeParserStatus,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativeimageprovider.sip"
#include <qdeclarativeimageprovider.h>
#line 13099 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 13103 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 13106 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 13109 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtGui/qimage.sip"
#include <qimage.h>
#line 13112 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"


class sipQDeclarativeImageProvider : public QDeclarativeImageProvider
{
public:
    sipQDeclarativeImageProvider(QDeclarativeImageProvider::ImageType);
    sipQDeclarativeImageProvider(const QDeclarativeImageProvider&);
    virtual ~sipQDeclarativeImageProvider();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QPixmap requestPixmap(const QString&,QSize*,const QSize&);
    QImage requestImage(const QString&,QSize*,const QSize&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQDeclarativeImageProvider(const sipQDeclarativeImageProvider &);
    sipQDeclarativeImageProvider &operator = (const sipQDeclarativeImageProvider &);

    char sipPyMethods[2];
};

sipQDeclarativeImageProvider::sipQDeclarativeImageProvider(QDeclarativeImageProvider::ImageType a0): QDeclarativeImageProvider(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDeclarativeImageProvider::sipQDeclarativeImageProvider(const QDeclarativeImageProvider& a0): QDeclarativeImageProvider(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDeclarativeImageProvider::~sipQDeclarativeImageProvider()
{
    sipCommonDtor(sipPySelf);
}

QPixmap sipQDeclarativeImageProvider::requestPixmap(const QString& a0,QSize*a1,const QSize& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_requestPixmap);

    if (!sipMeth)
        return QDeclarativeImageProvider::requestPixmap(a0,a1,a2);

    extern QPixmap sipVH_QtDeclarative_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,QSize*,const QSize&);

    return sipVH_QtDeclarative_3(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

QImage sipQDeclarativeImageProvider::requestImage(const QString& a0,QSize*a1,const QSize& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_requestImage);

    if (!sipMeth)
        return QDeclarativeImageProvider::requestImage(a0,a1,a2);

    extern QImage sipVH_QtDeclarative_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,QSize*,const QSize&);

    return sipVH_QtDeclarative_4(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}


PyDoc_STRVAR(doc_QDeclarativeImageProvider_imageType, "imageType(self) -> QDeclarativeImageProvider.ImageType");

extern "C" {static PyObject *meth_QDeclarativeImageProvider_imageType(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeImageProvider_imageType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeImageProvider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeImageProvider, &sipCpp))
        {
            QDeclarativeImageProvider::ImageType sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->imageType();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QDeclarativeImageProvider_ImageType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeImageProvider, sipName_imageType, doc_QDeclarativeImageProvider_imageType);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeImageProvider_requestImage, "requestImage(self, object, QSize, QSize) -> QImage");

extern "C" {static PyObject *meth_QDeclarativeImageProvider_requestImage(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeImageProvider_requestImage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        QSize* a1;
        const QSize* a2;
        QDeclarativeImageProvider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J8J9", &sipSelf, sipType_QDeclarativeImageProvider, &sipCpp, sipType_QString,&a0, &a0State, sipType_QSize, &a1, sipType_QSize, &a2))
        {
            QImage*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QImage((sipSelfWasArg ? sipCpp->QDeclarativeImageProvider::requestImage(*a0,a1,*a2) : sipCpp->requestImage(*a0,a1,*a2)));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QImage,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeImageProvider, sipName_requestImage, doc_QDeclarativeImageProvider_requestImage);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeImageProvider_requestPixmap, "requestPixmap(self, object, QSize, QSize) -> QPixmap");

extern "C" {static PyObject *meth_QDeclarativeImageProvider_requestPixmap(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeImageProvider_requestPixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        QSize* a1;
        const QSize* a2;
        QDeclarativeImageProvider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J8J9", &sipSelf, sipType_QDeclarativeImageProvider, &sipCpp, sipType_QString,&a0, &a0State, sipType_QSize, &a1, sipType_QSize, &a2))
        {
            QPixmap*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPixmap((sipSelfWasArg ? sipCpp->QDeclarativeImageProvider::requestPixmap(*a0,a1,*a2) : sipCpp->requestPixmap(*a0,a1,*a2)));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeImageProvider, sipName_requestPixmap, doc_QDeclarativeImageProvider_requestPixmap);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDeclarativeImageProvider(void *, int);}
static void release_QDeclarativeImageProvider(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQDeclarativeImageProvider *>(sipCppV);
    else
        delete reinterpret_cast<QDeclarativeImageProvider *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QDeclarativeImageProvider(sipSimpleWrapper *);}
static void dealloc_QDeclarativeImageProvider(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQDeclarativeImageProvider *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QDeclarativeImageProvider(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QDeclarativeImageProvider(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDeclarativeImageProvider(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQDeclarativeImageProvider *sipCpp = 0;

    {
        QDeclarativeImageProvider::ImageType a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "E", sipType_QDeclarativeImageProvider_ImageType, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQDeclarativeImageProvider(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QDeclarativeImageProvider* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDeclarativeImageProvider, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQDeclarativeImageProvider(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QDeclarativeImageProvider[] = {
    {SIP_MLNAME_CAST(sipName_imageType), meth_QDeclarativeImageProvider_imageType, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeImageProvider_imageType)},
    {SIP_MLNAME_CAST(sipName_requestImage), meth_QDeclarativeImageProvider_requestImage, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeImageProvider_requestImage)},
    {SIP_MLNAME_CAST(sipName_requestPixmap), meth_QDeclarativeImageProvider_requestPixmap, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeImageProvider_requestPixmap)}
};

static sipEnumMemberDef enummembers_QDeclarativeImageProvider[] = {
    {sipName_Image, static_cast<int>(QDeclarativeImageProvider::Image), 9},
    {sipName_Pixmap, static_cast<int>(QDeclarativeImageProvider::Pixmap), 9},
};

PyDoc_STRVAR(doc_QDeclarativeImageProvider, "\1QDeclarativeImageProvider(QDeclarativeImageProvider.ImageType)\n"
    "QDeclarativeImageProvider(QDeclarativeImageProvider)");


pyqt4ClassTypeDef sipTypeDef_QtDeclarative_QDeclarativeImageProvider = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDeclarativeImageProvider,
        {0}
    },
    {
        sipNameNr_QDeclarativeImageProvider,
        {0, 0, 1},
        3, methods_QDeclarativeImageProvider,
        2, enummembers_QDeclarativeImageProvider,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDeclarativeImageProvider,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QDeclarativeImageProvider,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDeclarativeImageProvider,
    0,
    0,
    0,
    release_QDeclarativeImageProvider,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativeextensionplugin.sip"
#include <qdeclarativeextensionplugin.h>
#line 13426 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 13430 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativeengine.sip"
#include <qdeclarativeengine.h>
#line 13433 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13436 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13439 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13442 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 13445 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 13448 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 13451 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13454 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 13457 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 13460 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 13463 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 13466 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 13469 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"


class sipQDeclarativeExtensionPlugin : public QDeclarativeExtensionPlugin
{
public:
    sipQDeclarativeExtensionPlugin(QObject*);
    virtual ~sipQDeclarativeExtensionPlugin();

    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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void initializeEngine(QDeclarativeEngine*,const char*);
    void registerTypes(const char*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQDeclarativeExtensionPlugin(const sipQDeclarativeExtensionPlugin &);
    sipQDeclarativeExtensionPlugin &operator = (const sipQDeclarativeExtensionPlugin &);

    char sipPyMethods[9];
};

sipQDeclarativeExtensionPlugin::sipQDeclarativeExtensionPlugin(QObject*a0): QDeclarativeExtensionPlugin(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDeclarativeExtensionPlugin::~sipQDeclarativeExtensionPlugin()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQDeclarativeExtensionPlugin::metaObject() const
{
    return sip_QtDeclarative_qt_metaobject(sipPySelf,sipType_QDeclarativeExtensionPlugin);
}

int sipQDeclarativeExtensionPlugin::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QDeclarativeExtensionPlugin::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtDeclarative_qt_metacall(sipPySelf,sipType_QDeclarativeExtensionPlugin,_c,_id,_a);

    return _id;
}

void *sipQDeclarativeExtensionPlugin::qt_metacast(const char *_clname)
{
    return (sip_QtDeclarative_qt_metacast(sipPySelf, sipType_QDeclarativeExtensionPlugin, _clname)) ? this : QDeclarativeExtensionPlugin::qt_metacast(_clname);
}

void sipQDeclarativeExtensionPlugin::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QDeclarativeExtensionPlugin::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQDeclarativeExtensionPlugin::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QDeclarativeExtensionPlugin::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQDeclarativeExtensionPlugin::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QDeclarativeExtensionPlugin::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQDeclarativeExtensionPlugin::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QDeclarativeExtensionPlugin::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQDeclarativeExtensionPlugin::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QDeclarativeExtensionPlugin::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQDeclarativeExtensionPlugin::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QDeclarativeExtensionPlugin::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipQDeclarativeExtensionPlugin::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QDeclarativeExtensionPlugin::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQDeclarativeExtensionPlugin::initializeEngine(QDeclarativeEngine*a0,const char*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_initializeEngine);

    if (!sipMeth)
    {
        QDeclarativeExtensionPlugin::initializeEngine(a0,a1);
        return;
    }

    extern void sipVH_QtDeclarative_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDeclarativeEngine*,const char*);

    sipVH_QtDeclarative_5(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipQDeclarativeExtensionPlugin::registerTypes(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,sipName_QDeclarativeExtensionPlugin,sipName_registerTypes);

    if (!sipMeth)
        return;

    extern void sipVH_QtDeclarative_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_QtDeclarative_6(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QObject* sipQDeclarativeExtensionPlugin::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQDeclarativeExtensionPlugin::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQDeclarativeExtensionPlugin::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQDeclarativeExtensionPlugin::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQDeclarativeExtensionPlugin::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQDeclarativeExtensionPlugin::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQDeclarativeExtensionPlugin::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQDeclarativeExtensionPlugin::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}


PyDoc_STRVAR(doc_QDeclarativeExtensionPlugin_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QDeclarativeExtensionPlugin_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeExtensionPlugin_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDeclarativeExtensionPlugin *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDeclarativeExtensionPlugin, &sipCpp))
        {
            QObject*sipRes = 0;

#line 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 13782 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeExtensionPlugin, sipName_sender, doc_QDeclarativeExtensionPlugin_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeExtensionPlugin_receivers, "receivers(self, QT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QDeclarativeExtensionPlugin_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeExtensionPlugin_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        char* a0;
        const sipQDeclarativeExtensionPlugin *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QDeclarativeExtensionPlugin, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 13828 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeExtensionPlugin, sipName_receivers, doc_QDeclarativeExtensionPlugin_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeExtensionPlugin_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QDeclarativeExtensionPlugin_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeExtensionPlugin_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQDeclarativeExtensionPlugin *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeExtensionPlugin, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeExtensionPlugin, sipName_timerEvent, doc_QDeclarativeExtensionPlugin_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeExtensionPlugin_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QDeclarativeExtensionPlugin_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeExtensionPlugin_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQDeclarativeExtensionPlugin *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeExtensionPlugin, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeExtensionPlugin, sipName_childEvent, doc_QDeclarativeExtensionPlugin_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeExtensionPlugin_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QDeclarativeExtensionPlugin_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeExtensionPlugin_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDeclarativeExtensionPlugin *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeExtensionPlugin, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeExtensionPlugin, sipName_customEvent, doc_QDeclarativeExtensionPlugin_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeExtensionPlugin_connectNotify, "connectNotify(self, QT_SIGNAL)");

extern "C" {static PyObject *meth_QDeclarativeExtensionPlugin_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeExtensionPlugin_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char* a0;
        sipQDeclarativeExtensionPlugin *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QDeclarativeExtensionPlugin, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeExtensionPlugin, sipName_connectNotify, doc_QDeclarativeExtensionPlugin_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeExtensionPlugin_disconnectNotify, "disconnectNotify(self, QT_SIGNAL)");

extern "C" {static PyObject *meth_QDeclarativeExtensionPlugin_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeExtensionPlugin_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char* a0;
        sipQDeclarativeExtensionPlugin *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QDeclarativeExtensionPlugin, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeExtensionPlugin, sipName_disconnectNotify, doc_QDeclarativeExtensionPlugin_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeExtensionPlugin_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QDeclarativeExtensionPlugin_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeExtensionPlugin_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDeclarativeExtensionPlugin *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDeclarativeExtensionPlugin, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeExtensionPlugin, sipName_senderSignalIndex, doc_QDeclarativeExtensionPlugin_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeExtensionPlugin_registerTypes, "registerTypes(self, str)");

extern "C" {static PyObject *meth_QDeclarativeExtensionPlugin_registerTypes(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeExtensionPlugin_registerTypes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const char* a0;
        PyObject *a0Keep;
        QDeclarativeExtensionPlugin *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_QDeclarativeExtensionPlugin, &sipCpp, &a0Keep, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QDeclarativeExtensionPlugin, sipName_registerTypes);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->registerTypes(a0);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeExtensionPlugin, sipName_registerTypes, doc_QDeclarativeExtensionPlugin_registerTypes);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeExtensionPlugin_initializeEngine, "initializeEngine(self, QDeclarativeEngine, str)");

extern "C" {static PyObject *meth_QDeclarativeExtensionPlugin_initializeEngine(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeExtensionPlugin_initializeEngine(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDeclarativeEngine* a0;
        const char* a1;
        PyObject *a1Keep;
        QDeclarativeExtensionPlugin *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8AA", &sipSelf, sipType_QDeclarativeExtensionPlugin, &sipCpp, sipType_QDeclarativeEngine, &a0, &a1Keep, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->QDeclarativeExtensionPlugin::initializeEngine(a0,a1) : sipCpp->initializeEngine(a0,a1));
            Py_END_ALLOW_THREADS
            Py_DECREF(a1Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeExtensionPlugin, sipName_initializeEngine, doc_QDeclarativeExtensionPlugin_initializeEngine);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDeclarativeExtensionPlugin(void *, int);}
static void release_QDeclarativeExtensionPlugin(void *sipCppV,int)
{
    QDeclarativeExtensionPlugin *sipCpp = reinterpret_cast<QDeclarativeExtensionPlugin *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QDeclarativeExtensionPlugin(sipSimpleWrapper *);}
static void dealloc_QDeclarativeExtensionPlugin(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQDeclarativeExtensionPlugin *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QDeclarativeExtensionPlugin(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QDeclarativeExtensionPlugin(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDeclarativeExtensionPlugin(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQDeclarativeExtensionPlugin *sipCpp = 0;

    {
        QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQDeclarativeExtensionPlugin(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QDeclarativeExtensionPlugin[] = {{141, 0, 1}};


static PyMethodDef methods_QDeclarativeExtensionPlugin[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QDeclarativeExtensionPlugin_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QDeclarativeExtensionPlugin_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QDeclarativeExtensionPlugin_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QDeclarativeExtensionPlugin_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initializeEngine), meth_QDeclarativeExtensionPlugin_initializeEngine, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeExtensionPlugin_initializeEngine)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QDeclarativeExtensionPlugin_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_registerTypes), meth_QDeclarativeExtensionPlugin_registerTypes, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeExtensionPlugin_registerTypes)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QDeclarativeExtensionPlugin_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QDeclarativeExtensionPlugin_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QDeclarativeExtensionPlugin_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QDeclarativeExtensionPlugin, "\1QDeclarativeExtensionPlugin(parent: QObject = None)");


pyqt4ClassTypeDef sipTypeDef_QtDeclarative_QDeclarativeExtensionPlugin = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QDeclarativeExtensionPlugin,
        {0}
    },
    {
        sipNameNr_QDeclarativeExtensionPlugin,
        {0, 0, 1},
        10, methods_QDeclarativeExtensionPlugin,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDeclarativeExtensionPlugin,
    -1,
    -1,
    supers_QDeclarativeExtensionPlugin,
    0,
    init_type_QDeclarativeExtensionPlugin,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDeclarativeExtensionPlugin,
    0,
    0,
    0,
    release_QDeclarativeExtensionPlugin,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QDeclarativeExtensionPlugin::staticMetaObject,
    0,
    0
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativeexpression.sip"
#include <qdeclarativeexpression.h>
#line 14233 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativecontext.sip"
#include <qdeclarativecontext.h>
#line 14237 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 14240 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 14243 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 14246 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativeerror.sip"
#include <qdeclarativeerror.h>
#line 14249 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativeengine.sip"
#include <qdeclarativeengine.h>
#line 14252 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14255 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14258 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14261 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 14264 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 14267 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14270 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 14273 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 14276 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 14279 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 14282 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"


class sipQDeclarativeExpression : public QDeclarativeExpression
{
public:
    sipQDeclarativeExpression();
    sipQDeclarativeExpression(QDeclarativeContext*,QObject*,const QString&,QObject*);
    virtual ~sipQDeclarativeExpression();

    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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQDeclarativeExpression(const sipQDeclarativeExpression &);
    sipQDeclarativeExpression &operator = (const sipQDeclarativeExpression &);

    char sipPyMethods[7];
};

sipQDeclarativeExpression::sipQDeclarativeExpression(): QDeclarativeExpression(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDeclarativeExpression::sipQDeclarativeExpression(QDeclarativeContext*a0,QObject*a1,const QString& a2,QObject*a3): QDeclarativeExpression(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDeclarativeExpression::~sipQDeclarativeExpression()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQDeclarativeExpression::metaObject() const
{
    return sip_QtDeclarative_qt_metaobject(sipPySelf,sipType_QDeclarativeExpression);
}

int sipQDeclarativeExpression::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QDeclarativeExpression::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtDeclarative_qt_metacall(sipPySelf,sipType_QDeclarativeExpression,_c,_id,_a);

    return _id;
}

void *sipQDeclarativeExpression::qt_metacast(const char *_clname)
{
    return (sip_QtDeclarative_qt_metacast(sipPySelf, sipType_QDeclarativeExpression, _clname)) ? this : QDeclarativeExpression::qt_metacast(_clname);
}

void sipQDeclarativeExpression::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QDeclarativeExpression::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQDeclarativeExpression::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QDeclarativeExpression::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQDeclarativeExpression::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QDeclarativeExpression::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQDeclarativeExpression::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QDeclarativeExpression::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQDeclarativeExpression::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QDeclarativeExpression::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQDeclarativeExpression::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QDeclarativeExpression::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipQDeclarativeExpression::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QDeclarativeExpression::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QObject* sipQDeclarativeExpression::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQDeclarativeExpression::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQDeclarativeExpression::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQDeclarativeExpression::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQDeclarativeExpression::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQDeclarativeExpression::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQDeclarativeExpression::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQDeclarativeExpression::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}


PyDoc_STRVAR(doc_QDeclarativeExpression_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QDeclarativeExpression_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeExpression_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDeclarativeExpression *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDeclarativeExpression, &sipCpp))
        {
            QObject*sipRes = 0;

#line 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 14566 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeExpression, sipName_sender, doc_QDeclarativeExpression_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeExpression_receivers, "receivers(self, QT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QDeclarativeExpression_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeExpression_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        char* a0;
        const sipQDeclarativeExpression *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QDeclarativeExpression, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 14612 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeExpression, sipName_receivers, doc_QDeclarativeExpression_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeExpression_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QDeclarativeExpression_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeExpression_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQDeclarativeExpression *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeExpression, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeExpression, sipName_timerEvent, doc_QDeclarativeExpression_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeExpression_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QDeclarativeExpression_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeExpression_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQDeclarativeExpression *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeExpression, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeExpression, sipName_childEvent, doc_QDeclarativeExpression_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeExpression_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QDeclarativeExpression_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeExpression_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDeclarativeExpression *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeExpression, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeExpression, sipName_customEvent, doc_QDeclarativeExpression_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeExpression_connectNotify, "connectNotify(self, QT_SIGNAL)");

extern "C" {static PyObject *meth_QDeclarativeExpression_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeExpression_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char* a0;
        sipQDeclarativeExpression *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QDeclarativeExpression, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeExpression, sipName_connectNotify, doc_QDeclarativeExpression_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeExpression_disconnectNotify, "disconnectNotify(self, QT_SIGNAL)");

extern "C" {static PyObject *meth_QDeclarativeExpression_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeExpression_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char* a0;
        sipQDeclarativeExpression *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QDeclarativeExpression, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeExpression, sipName_disconnectNotify, doc_QDeclarativeExpression_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeExpression_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QDeclarativeExpression_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeExpression_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDeclarativeExpression *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDeclarativeExpression, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeExpression, sipName_senderSignalIndex, doc_QDeclarativeExpression_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeExpression_engine, "engine(self) -> QDeclarativeEngine");

extern "C" {static PyObject *meth_QDeclarativeExpression_engine(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeExpression_engine(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeExpression *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeExpression, &sipCpp))
        {
            QDeclarativeEngine*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->engine();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDeclarativeEngine,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeExpression, sipName_engine, doc_QDeclarativeExpression_engine);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeExpression_context, "context(self) -> QDeclarativeContext");

extern "C" {static PyObject *meth_QDeclarativeExpression_context(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeExpression_context(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeExpression *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeExpression, &sipCpp))
        {
            QDeclarativeContext*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->context();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDeclarativeContext,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeExpression, sipName_context, doc_QDeclarativeExpression_context);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeExpression_expression, "expression(self) -> object");

extern "C" {static PyObject *meth_QDeclarativeExpression_expression(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeExpression_expression(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeExpression *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeExpression, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->expression());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeExpression, sipName_expression, doc_QDeclarativeExpression_expression);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeExpression_setExpression, "setExpression(self, object)");

extern "C" {static PyObject *meth_QDeclarativeExpression_setExpression(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeExpression_setExpression(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QDeclarativeExpression *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDeclarativeExpression, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setExpression(*a0);
            Py_END_ALLOW_THREADS
            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_QDeclarativeExpression, sipName_setExpression, doc_QDeclarativeExpression_setExpression);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeExpression_notifyOnValueChanged, "notifyOnValueChanged(self) -> bool");

extern "C" {static PyObject *meth_QDeclarativeExpression_notifyOnValueChanged(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeExpression_notifyOnValueChanged(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeExpression *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeExpression, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->notifyOnValueChanged();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeExpression, sipName_notifyOnValueChanged, doc_QDeclarativeExpression_notifyOnValueChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeExpression_setNotifyOnValueChanged, "setNotifyOnValueChanged(self, bool)");

extern "C" {static PyObject *meth_QDeclarativeExpression_setNotifyOnValueChanged(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeExpression_setNotifyOnValueChanged(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QDeclarativeExpression *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QDeclarativeExpression, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setNotifyOnValueChanged(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeExpression, sipName_setNotifyOnValueChanged, doc_QDeclarativeExpression_setNotifyOnValueChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeExpression_sourceFile, "sourceFile(self) -> object");

extern "C" {static PyObject *meth_QDeclarativeExpression_sourceFile(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeExpression_sourceFile(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeExpression *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeExpression, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->sourceFile());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeExpression, sipName_sourceFile, doc_QDeclarativeExpression_sourceFile);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeExpression_lineNumber, "lineNumber(self) -> int");

extern "C" {static PyObject *meth_QDeclarativeExpression_lineNumber(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeExpression_lineNumber(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeExpression *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeExpression, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->lineNumber();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeExpression, sipName_lineNumber, doc_QDeclarativeExpression_lineNumber);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeExpression_setSourceLocation, "setSourceLocation(self, object, int)");

extern "C" {static PyObject *meth_QDeclarativeExpression_setSourceLocation(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeExpression_setSourceLocation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        int a1;
        QDeclarativeExpression *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1i", &sipSelf, sipType_QDeclarativeExpression, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSourceLocation(*a0,a1);
            Py_END_ALLOW_THREADS
            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_QDeclarativeExpression, sipName_setSourceLocation, doc_QDeclarativeExpression_setSourceLocation);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeExpression_scopeObject, "scopeObject(self) -> QObject");

extern "C" {static PyObject *meth_QDeclarativeExpression_scopeObject(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeExpression_scopeObject(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeExpression *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeExpression, &sipCpp))
        {
            QObject*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->scopeObject();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeExpression, sipName_scopeObject, doc_QDeclarativeExpression_scopeObject);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeExpression_hasError, "hasError(self) -> bool");

extern "C" {static PyObject *meth_QDeclarativeExpression_hasError(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeExpression_hasError(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeExpression *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeExpression, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasError();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeExpression, sipName_hasError, doc_QDeclarativeExpression_hasError);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeExpression_clearError, "clearError(self)");

extern "C" {static PyObject *meth_QDeclarativeExpression_clearError(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeExpression_clearError(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDeclarativeExpression *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeExpression, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clearError();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeExpression, sipName_clearError, doc_QDeclarativeExpression_clearError);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeExpression_error, "error(self) -> QDeclarativeError");

extern "C" {static PyObject *meth_QDeclarativeExpression_error(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeExpression_error(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeExpression *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeExpression, &sipCpp))
        {
            QDeclarativeError*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDeclarativeError(sipCpp->error());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDeclarativeError,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeExpression, sipName_error, doc_QDeclarativeExpression_error);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeExpression_evaluate, "evaluate(self) -> Tuple[object, bool]");

extern "C" {static PyObject *meth_QDeclarativeExpression_evaluate(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeExpression_evaluate(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QDeclarativeExpression *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDeclarativeExpression, &sipCpp))
        {
            QVariant*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->evaluate(&a0));
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
            return sipBuildResult(0,"(Rb)",sipResObj,a0);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeExpression, sipName_evaluate, doc_QDeclarativeExpression_evaluate);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDeclarativeExpression(void *, int);}
static void release_QDeclarativeExpression(void *sipCppV,int)
{
    QDeclarativeExpression *sipCpp = reinterpret_cast<QDeclarativeExpression *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QDeclarativeExpression(sipSimpleWrapper *);}
static void dealloc_QDeclarativeExpression(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQDeclarativeExpression *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QDeclarativeExpression(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QDeclarativeExpression(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDeclarativeExpression(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQDeclarativeExpression *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQDeclarativeExpression();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QDeclarativeContext* a0;
        QObject* a1;
        const QString* a2;
        int a2State = 0;
        QObject* a3 = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J8J8J1|JH", sipType_QDeclarativeContext, &a0, sipType_QObject, &a1, sipType_QString,&a2, &a2State, sipType_QObject, &a3, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQDeclarativeExpression(a0,a1,*a2,a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QDeclarativeExpression[] = {{141, 0, 1}};


static PyMethodDef methods_QDeclarativeExpression[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QDeclarativeExpression_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_clearError), meth_QDeclarativeExpression_clearError, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeExpression_clearError)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QDeclarativeExpression_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_context), meth_QDeclarativeExpression_context, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeExpression_context)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QDeclarativeExpression_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QDeclarativeExpression_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_engine), meth_QDeclarativeExpression_engine, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeExpression_engine)},
    {SIP_MLNAME_CAST(sipName_error), meth_QDeclarativeExpression_error, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeExpression_error)},
    {SIP_MLNAME_CAST(sipName_evaluate), (PyCFunction)meth_QDeclarativeExpression_evaluate, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDeclarativeExpression_evaluate)},
    {SIP_MLNAME_CAST(sipName_expression), meth_QDeclarativeExpression_expression, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeExpression_expression)},
    {SIP_MLNAME_CAST(sipName_hasError), meth_QDeclarativeExpression_hasError, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeExpression_hasError)},
    {SIP_MLNAME_CAST(sipName_lineNumber), meth_QDeclarativeExpression_lineNumber, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeExpression_lineNumber)},
    {SIP_MLNAME_CAST(sipName_notifyOnValueChanged), meth_QDeclarativeExpression_notifyOnValueChanged, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeExpression_notifyOnValueChanged)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QDeclarativeExpression_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_scopeObject), meth_QDeclarativeExpression_scopeObject, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeExpression_scopeObject)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QDeclarativeExpression_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QDeclarativeExpression_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setExpression), meth_QDeclarativeExpression_setExpression, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeExpression_setExpression)},
    {SIP_MLNAME_CAST(sipName_setNotifyOnValueChanged), meth_QDeclarativeExpression_setNotifyOnValueChanged, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeExpression_setNotifyOnValueChanged)},
    {SIP_MLNAME_CAST(sipName_setSourceLocation), meth_QDeclarativeExpression_setSourceLocation, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeExpression_setSourceLocation)},
    {SIP_MLNAME_CAST(sipName_sourceFile), meth_QDeclarativeExpression_sourceFile, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeExpression_sourceFile)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QDeclarativeExpression_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_QDeclarativeExpression[] = {
    {"valueChanged()", "\1valueChanged(self)", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QDeclarativeExpression, "\1QDeclarativeExpression()\n"
    "QDeclarativeExpression(QDeclarativeContext, QObject, object, parent: QObject = None)");


pyqt4ClassTypeDef sipTypeDef_QtDeclarative_QDeclarativeExpression = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QDeclarativeExpression,
        {0}
    },
    {
        sipNameNr_QDeclarativeExpression,
        {0, 0, 1},
        22, methods_QDeclarativeExpression,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDeclarativeExpression,
    -1,
    -1,
    supers_QDeclarativeExpression,
    0,
    init_type_QDeclarativeExpression,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDeclarativeExpression,
    0,
    0,
    0,
    release_QDeclarativeExpression,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QDeclarativeExpression::staticMetaObject,
    0,
    signals_QDeclarativeExpression,
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativeerror.sip"
#include <qdeclarativeerror.h>
#line 15411 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 15415 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 102 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 15418 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"


PyDoc_STRVAR(doc_QDeclarativeError_isValid, "isValid(self) -> bool");

extern "C" {static PyObject *meth_QDeclarativeError_isValid(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeError_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeError *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeError, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeError, sipName_isValid, doc_QDeclarativeError_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeError_url, "url(self) -> QUrl");

extern "C" {static PyObject *meth_QDeclarativeError_url(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeError_url(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeError *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeError, &sipCpp))
        {
            QUrl*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QUrl(sipCpp->url());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeError, sipName_url, doc_QDeclarativeError_url);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeError_setUrl, "setUrl(self, QUrl)");

extern "C" {static PyObject *meth_QDeclarativeError_setUrl(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeError_setUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QUrl* a0;
        QDeclarativeError *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QDeclarativeError, &sipCpp, sipType_QUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUrl(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeError, sipName_setUrl, doc_QDeclarativeError_setUrl);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeError_description, "description(self) -> object");

extern "C" {static PyObject *meth_QDeclarativeError_description(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeError_description(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeError *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeError, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->description());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeError, sipName_description, doc_QDeclarativeError_description);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeError_setDescription, "setDescription(self, object)");

extern "C" {static PyObject *meth_QDeclarativeError_setDescription(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeError_setDescription(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QDeclarativeError *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDeclarativeError, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDescription(*a0);
            Py_END_ALLOW_THREADS
            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_QDeclarativeError, sipName_setDescription, doc_QDeclarativeError_setDescription);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeError_line, "line(self) -> int");

extern "C" {static PyObject *meth_QDeclarativeError_line(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeError_line(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeError *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeError, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->line();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeError, sipName_line, doc_QDeclarativeError_line);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeError_setLine, "setLine(self, int)");

extern "C" {static PyObject *meth_QDeclarativeError_setLine(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeError_setLine(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QDeclarativeError *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QDeclarativeError, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLine(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeError, sipName_setLine, doc_QDeclarativeError_setLine);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeError_column, "column(self) -> int");

extern "C" {static PyObject *meth_QDeclarativeError_column(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeError_column(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeError *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeError, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->column();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeError, sipName_column, doc_QDeclarativeError_column);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeError_setColumn, "setColumn(self, int)");

extern "C" {static PyObject *meth_QDeclarativeError_setColumn(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeError_setColumn(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QDeclarativeError *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QDeclarativeError, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setColumn(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeError, sipName_setColumn, doc_QDeclarativeError_setColumn);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeError_toString, "toString(self) -> object");

extern "C" {static PyObject *meth_QDeclarativeError_toString(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeError_toString(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeError *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeError, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toString());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeError, sipName_toString, doc_QDeclarativeError_toString);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDeclarativeError(void *, int);}
static void release_QDeclarativeError(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QDeclarativeError *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_QDeclarativeError(void *, SIP_SSIZE_T, const void *);}
static void assign_QDeclarativeError(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QDeclarativeError *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QDeclarativeError *>(sipSrc);
}


extern "C" {static void *array_QDeclarativeError(SIP_SSIZE_T);}
static void *array_QDeclarativeError(SIP_SSIZE_T sipNrElem)
{
    return new QDeclarativeError[sipNrElem];
}


extern "C" {static void *copy_QDeclarativeError(const void *, SIP_SSIZE_T);}
static void *copy_QDeclarativeError(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QDeclarativeError(reinterpret_cast<const QDeclarativeError *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QDeclarativeError(sipSimpleWrapper *);}
static void dealloc_QDeclarativeError(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QDeclarativeError(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QDeclarativeError(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDeclarativeError(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QDeclarativeError *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDeclarativeError();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QDeclarativeError* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDeclarativeError, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDeclarativeError(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QDeclarativeError[] = {
    {SIP_MLNAME_CAST(sipName_column), meth_QDeclarativeError_column, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeError_column)},
    {SIP_MLNAME_CAST(sipName_description), meth_QDeclarativeError_description, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeError_description)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QDeclarativeError_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeError_isValid)},
    {SIP_MLNAME_CAST(sipName_line), meth_QDeclarativeError_line, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeError_line)},
    {SIP_MLNAME_CAST(sipName_setColumn), meth_QDeclarativeError_setColumn, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeError_setColumn)},
    {SIP_MLNAME_CAST(sipName_setDescription), meth_QDeclarativeError_setDescription, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeError_setDescription)},
    {SIP_MLNAME_CAST(sipName_setLine), meth_QDeclarativeError_setLine, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeError_setLine)},
    {SIP_MLNAME_CAST(sipName_setUrl), meth_QDeclarativeError_setUrl, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeError_setUrl)},
    {SIP_MLNAME_CAST(sipName_toString), meth_QDeclarativeError_toString, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeError_toString)},
    {SIP_MLNAME_CAST(sipName_url), meth_QDeclarativeError_url, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeError_url)}
};

PyDoc_STRVAR(doc_QDeclarativeError, "\1QDeclarativeError()\n"
    "QDeclarativeError(QDeclarativeError)");


pyqt4ClassTypeDef sipTypeDef_QtDeclarative_QDeclarativeError = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDeclarativeError,
        {0}
    },
    {
        sipNameNr_QDeclarativeError,
        {0, 0, 1},
        10, methods_QDeclarativeError,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDeclarativeError,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QDeclarativeError,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDeclarativeError,
    assign_QDeclarativeError,
    array_QDeclarativeError,
    copy_QDeclarativeError,
    release_QDeclarativeError,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativeengine.sip"
#include <qdeclarativeengine.h>
#line 15872 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 15876 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 15879 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativeerror.sip"
#include <qdeclarativeerror.h>
#line 15882 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativecontext.sip"
#include <qdeclarativecontext.h>
#line 15885 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 102 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 15888 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 15891 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativeimageprovider.sip"
#include <qdeclarativeimageprovider.h>
#line 15894 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtNetwork/qnetworkaccessmanager.sip"
#include <qnetworkaccessmanager.h>
#line 15897 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativenetworkaccessmanagerfactory.sip"
#include <qdeclarativenetworkaccessmanagerfactory.h>
#line 15900 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 15903 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15906 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15909 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15912 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 15915 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 15918 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 15921 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15924 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 15927 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 15930 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 15933 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 15936 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"


class sipQDeclarativeEngine : public QDeclarativeEngine
{
public:
    sipQDeclarativeEngine(QObject*);
    virtual ~sipQDeclarativeEngine();

    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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQDeclarativeEngine(const sipQDeclarativeEngine &);
    sipQDeclarativeEngine &operator = (const sipQDeclarativeEngine &);

    char sipPyMethods[7];
};

sipQDeclarativeEngine::sipQDeclarativeEngine(QObject*a0): QDeclarativeEngine(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDeclarativeEngine::~sipQDeclarativeEngine()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQDeclarativeEngine::metaObject() const
{
    return sip_QtDeclarative_qt_metaobject(sipPySelf,sipType_QDeclarativeEngine);
}

int sipQDeclarativeEngine::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QDeclarativeEngine::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtDeclarative_qt_metacall(sipPySelf,sipType_QDeclarativeEngine,_c,_id,_a);

    return _id;
}

void *sipQDeclarativeEngine::qt_metacast(const char *_clname)
{
    return (sip_QtDeclarative_qt_metacast(sipPySelf, sipType_QDeclarativeEngine, _clname)) ? this : QDeclarativeEngine::qt_metacast(_clname);
}

void sipQDeclarativeEngine::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QDeclarativeEngine::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQDeclarativeEngine::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QDeclarativeEngine::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQDeclarativeEngine::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QDeclarativeEngine::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQDeclarativeEngine::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QDeclarativeEngine::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQDeclarativeEngine::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QDeclarativeEngine::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQDeclarativeEngine::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QDeclarativeEngine::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipQDeclarativeEngine::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QDeclarativeEngine::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QObject* sipQDeclarativeEngine::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQDeclarativeEngine::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQDeclarativeEngine::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQDeclarativeEngine::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQDeclarativeEngine::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQDeclarativeEngine::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQDeclarativeEngine::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQDeclarativeEngine::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}


PyDoc_STRVAR(doc_QDeclarativeEngine_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QDeclarativeEngine_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeEngine_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDeclarativeEngine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDeclarativeEngine, &sipCpp))
        {
            QObject*sipRes = 0;

#line 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 16214 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeEngine, sipName_sender, doc_QDeclarativeEngine_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeEngine_receivers, "receivers(self, QT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QDeclarativeEngine_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeEngine_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        char* a0;
        const sipQDeclarativeEngine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QDeclarativeEngine, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 16260 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeEngine, sipName_receivers, doc_QDeclarativeEngine_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeEngine_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QDeclarativeEngine_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeEngine_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQDeclarativeEngine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeEngine, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeEngine, sipName_timerEvent, doc_QDeclarativeEngine_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeEngine_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QDeclarativeEngine_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeEngine_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQDeclarativeEngine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeEngine, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeEngine, sipName_childEvent, doc_QDeclarativeEngine_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeEngine_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QDeclarativeEngine_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeEngine_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDeclarativeEngine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeEngine, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeEngine, sipName_customEvent, doc_QDeclarativeEngine_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeEngine_connectNotify, "connectNotify(self, QT_SIGNAL)");

extern "C" {static PyObject *meth_QDeclarativeEngine_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeEngine_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char* a0;
        sipQDeclarativeEngine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QDeclarativeEngine, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeEngine, sipName_connectNotify, doc_QDeclarativeEngine_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeEngine_disconnectNotify, "disconnectNotify(self, QT_SIGNAL)");

extern "C" {static PyObject *meth_QDeclarativeEngine_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeEngine_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char* a0;
        sipQDeclarativeEngine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QDeclarativeEngine, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeEngine, sipName_disconnectNotify, doc_QDeclarativeEngine_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeEngine_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QDeclarativeEngine_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeEngine_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDeclarativeEngine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDeclarativeEngine, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeEngine, sipName_senderSignalIndex, doc_QDeclarativeEngine_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeEngine_rootContext, "rootContext(self) -> QDeclarativeContext");

extern "C" {static PyObject *meth_QDeclarativeEngine_rootContext(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeEngine_rootContext(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeEngine, &sipCpp))
        {
            QDeclarativeContext*sipRes;
            PyObject *sipResObj;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->rootContext();
            Py_END_ALLOW_THREADS

            sipResObj = sipConvertFromType(sipRes,sipType_QDeclarativeContext,NULL);

            sipKeepReference(sipSelf, -3, sipResObj);

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeEngine, sipName_rootContext, doc_QDeclarativeEngine_rootContext);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeEngine_clearComponentCache, "clearComponentCache(self)");

extern "C" {static PyObject *meth_QDeclarativeEngine_clearComponentCache(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeEngine_clearComponentCache(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDeclarativeEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeEngine, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clearComponentCache();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeEngine, sipName_clearComponentCache, doc_QDeclarativeEngine_clearComponentCache);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeEngine_importPathList, "importPathList(self) -> object");

extern "C" {static PyObject *meth_QDeclarativeEngine_importPathList(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeEngine_importPathList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeEngine, &sipCpp))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->importPathList());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeEngine, sipName_importPathList, doc_QDeclarativeEngine_importPathList);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeEngine_setImportPathList, "setImportPathList(self, object)");

extern "C" {static PyObject *meth_QDeclarativeEngine_setImportPathList(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeEngine_setImportPathList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStringList* a0;
        int a0State = 0;
        QDeclarativeEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDeclarativeEngine, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setImportPathList(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeEngine, sipName_setImportPathList, doc_QDeclarativeEngine_setImportPathList);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeEngine_addImportPath, "addImportPath(self, object)");

extern "C" {static PyObject *meth_QDeclarativeEngine_addImportPath(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeEngine_addImportPath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QDeclarativeEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDeclarativeEngine, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addImportPath(*a0);
            Py_END_ALLOW_THREADS
            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_QDeclarativeEngine, sipName_addImportPath, doc_QDeclarativeEngine_addImportPath);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeEngine_pluginPathList, "pluginPathList(self) -> object");

extern "C" {static PyObject *meth_QDeclarativeEngine_pluginPathList(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeEngine_pluginPathList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeEngine, &sipCpp))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->pluginPathList());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeEngine, sipName_pluginPathList, doc_QDeclarativeEngine_pluginPathList);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeEngine_setPluginPathList, "setPluginPathList(self, object)");

extern "C" {static PyObject *meth_QDeclarativeEngine_setPluginPathList(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeEngine_setPluginPathList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStringList* a0;
        int a0State = 0;
        QDeclarativeEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDeclarativeEngine, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPluginPathList(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeEngine, sipName_setPluginPathList, doc_QDeclarativeEngine_setPluginPathList);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeEngine_addPluginPath, "addPluginPath(self, object)");

extern "C" {static PyObject *meth_QDeclarativeEngine_addPluginPath(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeEngine_addPluginPath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QDeclarativeEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDeclarativeEngine, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addPluginPath(*a0);
            Py_END_ALLOW_THREADS
            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_QDeclarativeEngine, sipName_addPluginPath, doc_QDeclarativeEngine_addPluginPath);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeEngine_importPlugin, "importPlugin(self, object, object) -> Tuple[bool, object]");

extern "C" {static PyObject *meth_QDeclarativeEngine_importPlugin(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeEngine_importPlugin(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        QString* a2;
        QDeclarativeEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QDeclarativeEngine, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            bool sipRes;
            a2 = new QString();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->importPlugin(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipBuildResult(0,"(bN)",sipRes,a2,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeEngine, sipName_importPlugin, doc_QDeclarativeEngine_importPlugin);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeEngine_setNetworkAccessManagerFactory, "setNetworkAccessManagerFactory(self, QDeclarativeNetworkAccessManagerFactory)");

extern "C" {static PyObject *meth_QDeclarativeEngine_setNetworkAccessManagerFactory(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeEngine_setNetworkAccessManagerFactory(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDeclarativeNetworkAccessManagerFactory* a0;
        PyObject *a0Keep;
        QDeclarativeEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QDeclarativeEngine, &sipCpp, &a0Keep, sipType_QDeclarativeNetworkAccessManagerFactory, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setNetworkAccessManagerFactory(a0);
            Py_END_ALLOW_THREADS

            sipKeepReference(sipSelf, -4, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeEngine, sipName_setNetworkAccessManagerFactory, doc_QDeclarativeEngine_setNetworkAccessManagerFactory);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeEngine_networkAccessManagerFactory, "networkAccessManagerFactory(self) -> QDeclarativeNetworkAccessManagerFactory");

extern "C" {static PyObject *meth_QDeclarativeEngine_networkAccessManagerFactory(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeEngine_networkAccessManagerFactory(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeEngine, &sipCpp))
        {
            QDeclarativeNetworkAccessManagerFactory*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->networkAccessManagerFactory();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDeclarativeNetworkAccessManagerFactory,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeEngine, sipName_networkAccessManagerFactory, doc_QDeclarativeEngine_networkAccessManagerFactory);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeEngine_networkAccessManager, "networkAccessManager(self) -> QNetworkAccessManager");

extern "C" {static PyObject *meth_QDeclarativeEngine_networkAccessManager(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeEngine_networkAccessManager(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeEngine, &sipCpp))
        {
            QNetworkAccessManager*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->networkAccessManager();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QNetworkAccessManager,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeEngine, sipName_networkAccessManager, doc_QDeclarativeEngine_networkAccessManager);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeEngine_addImageProvider, "addImageProvider(self, object, QDeclarativeImageProvider)");

extern "C" {static PyObject *meth_QDeclarativeEngine_addImageProvider(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeEngine_addImageProvider(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QDeclarativeImageProvider* a1;
        QDeclarativeEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J8", &sipSelf, sipType_QDeclarativeEngine, &sipCpp, sipType_QString,&a0, &a0State, sipType_QDeclarativeImageProvider, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addImageProvider(*a0,a1);
            Py_END_ALLOW_THREADS
            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_QDeclarativeEngine, sipName_addImageProvider, doc_QDeclarativeEngine_addImageProvider);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeEngine_imageProvider, "imageProvider(self, object) -> QDeclarativeImageProvider");

extern "C" {static PyObject *meth_QDeclarativeEngine_imageProvider(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeEngine_imageProvider(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QDeclarativeEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDeclarativeEngine, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QDeclarativeImageProvider*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->imageProvider(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_QDeclarativeImageProvider,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeEngine, sipName_imageProvider, doc_QDeclarativeEngine_imageProvider);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeEngine_removeImageProvider, "removeImageProvider(self, object)");

extern "C" {static PyObject *meth_QDeclarativeEngine_removeImageProvider(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeEngine_removeImageProvider(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QDeclarativeEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDeclarativeEngine, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeImageProvider(*a0);
            Py_END_ALLOW_THREADS
            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_QDeclarativeEngine, sipName_removeImageProvider, doc_QDeclarativeEngine_removeImageProvider);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeEngine_setOfflineStoragePath, "setOfflineStoragePath(self, object)");

extern "C" {static PyObject *meth_QDeclarativeEngine_setOfflineStoragePath(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeEngine_setOfflineStoragePath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QDeclarativeEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDeclarativeEngine, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setOfflineStoragePath(*a0);
            Py_END_ALLOW_THREADS
            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_QDeclarativeEngine, sipName_setOfflineStoragePath, doc_QDeclarativeEngine_setOfflineStoragePath);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeEngine_offlineStoragePath, "offlineStoragePath(self) -> object");

extern "C" {static PyObject *meth_QDeclarativeEngine_offlineStoragePath(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeEngine_offlineStoragePath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeEngine, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->offlineStoragePath());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeEngine, sipName_offlineStoragePath, doc_QDeclarativeEngine_offlineStoragePath);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeEngine_baseUrl, "baseUrl(self) -> QUrl");

extern "C" {static PyObject *meth_QDeclarativeEngine_baseUrl(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeEngine_baseUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeEngine, &sipCpp))
        {
            QUrl*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QUrl(sipCpp->baseUrl());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeEngine, sipName_baseUrl, doc_QDeclarativeEngine_baseUrl);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeEngine_setBaseUrl, "setBaseUrl(self, QUrl)");

extern "C" {static PyObject *meth_QDeclarativeEngine_setBaseUrl(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeEngine_setBaseUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QUrl* a0;
        QDeclarativeEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QDeclarativeEngine, &sipCpp, sipType_QUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setBaseUrl(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeEngine, sipName_setBaseUrl, doc_QDeclarativeEngine_setBaseUrl);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeEngine_outputWarningsToStandardError, "outputWarningsToStandardError(self) -> bool");

extern "C" {static PyObject *meth_QDeclarativeEngine_outputWarningsToStandardError(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeEngine_outputWarningsToStandardError(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeEngine, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->outputWarningsToStandardError();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeEngine, sipName_outputWarningsToStandardError, doc_QDeclarativeEngine_outputWarningsToStandardError);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeEngine_setOutputWarningsToStandardError, "setOutputWarningsToStandardError(self, bool)");

extern "C" {static PyObject *meth_QDeclarativeEngine_setOutputWarningsToStandardError(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeEngine_setOutputWarningsToStandardError(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QDeclarativeEngine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QDeclarativeEngine, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setOutputWarningsToStandardError(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeEngine, sipName_setOutputWarningsToStandardError, doc_QDeclarativeEngine_setOutputWarningsToStandardError);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeEngine_contextForObject, "contextForObject(QObject) -> QDeclarativeContext");

extern "C" {static PyObject *meth_QDeclarativeEngine_contextForObject(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeEngine_contextForObject(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QObject* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8", sipType_QObject, &a0))
        {
            QDeclarativeContext*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QDeclarativeEngine::contextForObject(a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDeclarativeContext,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeEngine, sipName_contextForObject, doc_QDeclarativeEngine_contextForObject);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeEngine_setContextForObject, "setContextForObject(QObject, QDeclarativeContext)");

extern "C" {static PyObject *meth_QDeclarativeEngine_setContextForObject(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeEngine_setContextForObject(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        QDeclarativeContext* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8J8", sipType_QObject, &a0, sipType_QDeclarativeContext, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            QDeclarativeEngine::setContextForObject(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeEngine, sipName_setContextForObject, doc_QDeclarativeEngine_setContextForObject);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeEngine_setObjectOwnership, "setObjectOwnership(QObject, QDeclarativeEngine.ObjectOwnership)");

extern "C" {static PyObject *meth_QDeclarativeEngine_setObjectOwnership(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeEngine_setObjectOwnership(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        QDeclarativeEngine::ObjectOwnership a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8E", sipType_QObject, &a0, sipType_QDeclarativeEngine_ObjectOwnership, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            QDeclarativeEngine::setObjectOwnership(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeEngine, sipName_setObjectOwnership, doc_QDeclarativeEngine_setObjectOwnership);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeEngine_objectOwnership, "objectOwnership(QObject) -> QDeclarativeEngine.ObjectOwnership");

extern "C" {static PyObject *meth_QDeclarativeEngine_objectOwnership(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeEngine_objectOwnership(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8", sipType_QObject, &a0))
        {
            QDeclarativeEngine::ObjectOwnership sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QDeclarativeEngine::objectOwnership(a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QDeclarativeEngine_ObjectOwnership);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeEngine, sipName_objectOwnership, doc_QDeclarativeEngine_objectOwnership);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDeclarativeEngine(void *, int);}
static void release_QDeclarativeEngine(void *sipCppV,int)
{
    QDeclarativeEngine *sipCpp = reinterpret_cast<QDeclarativeEngine *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QDeclarativeEngine(sipSimpleWrapper *);}
static void dealloc_QDeclarativeEngine(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQDeclarativeEngine *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QDeclarativeEngine(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QDeclarativeEngine(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDeclarativeEngine(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQDeclarativeEngine *sipCpp = 0;

    {
        QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQDeclarativeEngine(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QDeclarativeEngine[] = {{141, 0, 1}};


static PyMethodDef methods_QDeclarativeEngine[] = {
    {SIP_MLNAME_CAST(sipName_addImageProvider), meth_QDeclarativeEngine_addImageProvider, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeEngine_addImageProvider)},
    {SIP_MLNAME_CAST(sipName_addImportPath), meth_QDeclarativeEngine_addImportPath, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeEngine_addImportPath)},
    {SIP_MLNAME_CAST(sipName_addPluginPath), meth_QDeclarativeEngine_addPluginPath, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeEngine_addPluginPath)},
    {SIP_MLNAME_CAST(sipName_baseUrl), meth_QDeclarativeEngine_baseUrl, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeEngine_baseUrl)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QDeclarativeEngine_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_clearComponentCache), meth_QDeclarativeEngine_clearComponentCache, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeEngine_clearComponentCache)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QDeclarativeEngine_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextForObject), meth_QDeclarativeEngine_contextForObject, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeEngine_contextForObject)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QDeclarativeEngine_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QDeclarativeEngine_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_imageProvider), meth_QDeclarativeEngine_imageProvider, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeEngine_imageProvider)},
    {SIP_MLNAME_CAST(sipName_importPathList), meth_QDeclarativeEngine_importPathList, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeEngine_importPathList)},
    {SIP_MLNAME_CAST(sipName_importPlugin), meth_QDeclarativeEngine_importPlugin, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeEngine_importPlugin)},
    {SIP_MLNAME_CAST(sipName_networkAccessManager), meth_QDeclarativeEngine_networkAccessManager, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeEngine_networkAccessManager)},
    {SIP_MLNAME_CAST(sipName_networkAccessManagerFactory), meth_QDeclarativeEngine_networkAccessManagerFactory, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeEngine_networkAccessManagerFactory)},
    {SIP_MLNAME_CAST(sipName_objectOwnership), meth_QDeclarativeEngine_objectOwnership, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeEngine_objectOwnership)},
    {SIP_MLNAME_CAST(sipName_offlineStoragePath), meth_QDeclarativeEngine_offlineStoragePath, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeEngine_offlineStoragePath)},
    {SIP_MLNAME_CAST(sipName_outputWarningsToStandardError), meth_QDeclarativeEngine_outputWarningsToStandardError, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeEngine_outputWarningsToStandardError)},
    {SIP_MLNAME_CAST(sipName_pluginPathList), meth_QDeclarativeEngine_pluginPathList, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeEngine_pluginPathList)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QDeclarativeEngine_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removeImageProvider), meth_QDeclarativeEngine_removeImageProvider, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeEngine_removeImageProvider)},
    {SIP_MLNAME_CAST(sipName_rootContext), meth_QDeclarativeEngine_rootContext, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeEngine_rootContext)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QDeclarativeEngine_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QDeclarativeEngine_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setBaseUrl), meth_QDeclarativeEngine_setBaseUrl, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeEngine_setBaseUrl)},
    {SIP_MLNAME_CAST(sipName_setContextForObject), meth_QDeclarativeEngine_setContextForObject, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeEngine_setContextForObject)},
    {SIP_MLNAME_CAST(sipName_setImportPathList), meth_QDeclarativeEngine_setImportPathList, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeEngine_setImportPathList)},
    {SIP_MLNAME_CAST(sipName_setNetworkAccessManagerFactory), meth_QDeclarativeEngine_setNetworkAccessManagerFactory, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeEngine_setNetworkAccessManagerFactory)},
    {SIP_MLNAME_CAST(sipName_setObjectOwnership), meth_QDeclarativeEngine_setObjectOwnership, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeEngine_setObjectOwnership)},
    {SIP_MLNAME_CAST(sipName_setOfflineStoragePath), meth_QDeclarativeEngine_setOfflineStoragePath, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeEngine_setOfflineStoragePath)},
    {SIP_MLNAME_CAST(sipName_setOutputWarningsToStandardError), meth_QDeclarativeEngine_setOutputWarningsToStandardError, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeEngine_setOutputWarningsToStandardError)},
    {SIP_MLNAME_CAST(sipName_setPluginPathList), meth_QDeclarativeEngine_setPluginPathList, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeEngine_setPluginPathList)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QDeclarativeEngine_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QDeclarativeEngine[] = {
    {sipName_CppOwnership, static_cast<int>(QDeclarativeEngine::CppOwnership), 4},
    {sipName_JavaScriptOwnership, static_cast<int>(QDeclarativeEngine::JavaScriptOwnership), 4},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_QDeclarativeEngine[] = {
    {"warnings(QList<QDeclarativeError>)", "\1warnings(self, object)", 0, 0},
    {"quit()", "\1quit(self)", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QDeclarativeEngine, "\1QDeclarativeEngine(parent: QObject = None)");


pyqt4ClassTypeDef sipTypeDef_QtDeclarative_QDeclarativeEngine = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QDeclarativeEngine,
        {0}
    },
    {
        sipNameNr_QDeclarativeEngine,
        {0, 0, 1},
        33, methods_QDeclarativeEngine,
        2, enummembers_QDeclarativeEngine,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDeclarativeEngine,
    -1,
    -1,
    supers_QDeclarativeEngine,
    0,
    init_type_QDeclarativeEngine,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDeclarativeEngine,
    0,
    0,
    0,
    release_QDeclarativeEngine,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QDeclarativeEngine::staticMetaObject,
    0,
    signals_QDeclarativeEngine,
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativecontext.sip"
#include <qdeclarativecontext.h>
#line 17411 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativeengine.sip"
#include <qdeclarativeengine.h>
#line 17415 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 17418 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 102 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 17421 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 17424 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 17427 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17430 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17433 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17436 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 17439 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 17442 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17445 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 17448 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 17451 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 17454 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 17457 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"


class sipQDeclarativeContext : public QDeclarativeContext
{
public:
    sipQDeclarativeContext(QDeclarativeEngine*,QObject*);
    sipQDeclarativeContext(QDeclarativeContext*,QObject*);
    virtual ~sipQDeclarativeContext();

    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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQDeclarativeContext(const sipQDeclarativeContext &);
    sipQDeclarativeContext &operator = (const sipQDeclarativeContext &);

    char sipPyMethods[7];
};

sipQDeclarativeContext::sipQDeclarativeContext(QDeclarativeEngine*a0,QObject*a1): QDeclarativeContext(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDeclarativeContext::sipQDeclarativeContext(QDeclarativeContext*a0,QObject*a1): QDeclarativeContext(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDeclarativeContext::~sipQDeclarativeContext()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQDeclarativeContext::metaObject() const
{
    return sip_QtDeclarative_qt_metaobject(sipPySelf,sipType_QDeclarativeContext);
}

int sipQDeclarativeContext::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QDeclarativeContext::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtDeclarative_qt_metacall(sipPySelf,sipType_QDeclarativeContext,_c,_id,_a);

    return _id;
}

void *sipQDeclarativeContext::qt_metacast(const char *_clname)
{
    return (sip_QtDeclarative_qt_metacast(sipPySelf, sipType_QDeclarativeContext, _clname)) ? this : QDeclarativeContext::qt_metacast(_clname);
}

void sipQDeclarativeContext::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QDeclarativeContext::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQDeclarativeContext::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QDeclarativeContext::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQDeclarativeContext::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QDeclarativeContext::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQDeclarativeContext::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QDeclarativeContext::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQDeclarativeContext::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QDeclarativeContext::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQDeclarativeContext::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QDeclarativeContext::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipQDeclarativeContext::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QDeclarativeContext::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QObject* sipQDeclarativeContext::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQDeclarativeContext::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQDeclarativeContext::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQDeclarativeContext::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQDeclarativeContext::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQDeclarativeContext::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQDeclarativeContext::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQDeclarativeContext::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}


PyDoc_STRVAR(doc_QDeclarativeContext_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QDeclarativeContext_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeContext_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDeclarativeContext *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDeclarativeContext, &sipCpp))
        {
            QObject*sipRes = 0;

#line 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 17741 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeContext, sipName_sender, doc_QDeclarativeContext_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeContext_receivers, "receivers(self, QT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QDeclarativeContext_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeContext_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        char* a0;
        const sipQDeclarativeContext *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QDeclarativeContext, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 17787 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeContext, sipName_receivers, doc_QDeclarativeContext_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeContext_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QDeclarativeContext_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeContext_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQDeclarativeContext *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeContext, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeContext, sipName_timerEvent, doc_QDeclarativeContext_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeContext_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QDeclarativeContext_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeContext_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQDeclarativeContext *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeContext, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeContext, sipName_childEvent, doc_QDeclarativeContext_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeContext_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QDeclarativeContext_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeContext_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDeclarativeContext *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeContext, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeContext, sipName_customEvent, doc_QDeclarativeContext_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeContext_connectNotify, "connectNotify(self, QT_SIGNAL)");

extern "C" {static PyObject *meth_QDeclarativeContext_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeContext_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char* a0;
        sipQDeclarativeContext *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QDeclarativeContext, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeContext, sipName_connectNotify, doc_QDeclarativeContext_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeContext_disconnectNotify, "disconnectNotify(self, QT_SIGNAL)");

extern "C" {static PyObject *meth_QDeclarativeContext_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeContext_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char* a0;
        sipQDeclarativeContext *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QDeclarativeContext, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeContext, sipName_disconnectNotify, doc_QDeclarativeContext_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeContext_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QDeclarativeContext_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeContext_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDeclarativeContext *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDeclarativeContext, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeContext, sipName_senderSignalIndex, doc_QDeclarativeContext_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeContext_isValid, "isValid(self) -> bool");

extern "C" {static PyObject *meth_QDeclarativeContext_isValid(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeContext_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeContext *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeContext, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeContext, sipName_isValid, doc_QDeclarativeContext_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeContext_engine, "engine(self) -> QDeclarativeEngine");

extern "C" {static PyObject *meth_QDeclarativeContext_engine(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeContext_engine(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeContext *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeContext, &sipCpp))
        {
            QDeclarativeEngine*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->engine();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDeclarativeEngine,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeContext, sipName_engine, doc_QDeclarativeContext_engine);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeContext_parentContext, "parentContext(self) -> QDeclarativeContext");

extern "C" {static PyObject *meth_QDeclarativeContext_parentContext(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeContext_parentContext(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeContext *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeContext, &sipCpp))
        {
            QDeclarativeContext*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->parentContext();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDeclarativeContext,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeContext, sipName_parentContext, doc_QDeclarativeContext_parentContext);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeContext_contextObject, "contextObject(self) -> QObject");

extern "C" {static PyObject *meth_QDeclarativeContext_contextObject(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeContext_contextObject(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeContext *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeContext, &sipCpp))
        {
            QObject*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->contextObject();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeContext, sipName_contextObject, doc_QDeclarativeContext_contextObject);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeContext_setContextObject, "setContextObject(self, QObject)");

extern "C" {static PyObject *meth_QDeclarativeContext_setContextObject(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeContext_setContextObject(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        PyObject *a0Keep;
        QDeclarativeContext *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QDeclarativeContext, &sipCpp, &a0Keep, sipType_QObject, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setContextObject(a0);
            Py_END_ALLOW_THREADS

            sipKeepReference(sipSelf, -1, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeContext, sipName_setContextObject, doc_QDeclarativeContext_setContextObject);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeContext_contextProperty, "contextProperty(self, object) -> object");

extern "C" {static PyObject *meth_QDeclarativeContext_contextProperty(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeContext_contextProperty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QDeclarativeContext *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDeclarativeContext, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QVariant*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->contextProperty(*a0));
            Py_END_ALLOW_THREADS
            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_QDeclarativeContext, sipName_contextProperty, doc_QDeclarativeContext_contextProperty);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeContext_setContextProperty, "setContextProperty(self, object, QObject)\n"
    "setContextProperty(self, object, object)");

extern "C" {static PyObject *meth_QDeclarativeContext_setContextProperty(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeContext_setContextProperty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QObject* a1;
        PyObject *a1Keep;
        QDeclarativeContext *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1@J8", &sipSelf, sipType_QDeclarativeContext, &sipCpp, sipType_QString,&a0, &a0State, &a1Keep, sipType_QObject, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setContextProperty(*a0,a1);
            Py_END_ALLOW_THREADS

            sipKeepReference(sipSelf, -2, a1Keep);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QVariant* a1;
        int a1State = 0;
        QDeclarativeContext *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QDeclarativeContext, &sipCpp, sipType_QString,&a0, &a0State, sipType_QVariant,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setContextProperty(*a0,*a1);
            Py_END_ALLOW_THREADS
            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_QDeclarativeContext, sipName_setContextProperty, doc_QDeclarativeContext_setContextProperty);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeContext_resolvedUrl, "resolvedUrl(self, QUrl) -> QUrl");

extern "C" {static PyObject *meth_QDeclarativeContext_resolvedUrl(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeContext_resolvedUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QUrl* a0;
        QDeclarativeContext *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QDeclarativeContext, &sipCpp, sipType_QUrl, &a0))
        {
            QUrl*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QUrl(sipCpp->resolvedUrl(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeContext, sipName_resolvedUrl, doc_QDeclarativeContext_resolvedUrl);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeContext_setBaseUrl, "setBaseUrl(self, QUrl)");

extern "C" {static PyObject *meth_QDeclarativeContext_setBaseUrl(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeContext_setBaseUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QUrl* a0;
        QDeclarativeContext *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QDeclarativeContext, &sipCpp, sipType_QUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setBaseUrl(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeContext, sipName_setBaseUrl, doc_QDeclarativeContext_setBaseUrl);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeContext_baseUrl, "baseUrl(self) -> QUrl");

extern "C" {static PyObject *meth_QDeclarativeContext_baseUrl(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeContext_baseUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeContext *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeContext, &sipCpp))
        {
            QUrl*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QUrl(sipCpp->baseUrl());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeContext, sipName_baseUrl, doc_QDeclarativeContext_baseUrl);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDeclarativeContext(void *, int);}
static void release_QDeclarativeContext(void *sipCppV,int)
{
    QDeclarativeContext *sipCpp = reinterpret_cast<QDeclarativeContext *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QDeclarativeContext(sipSimpleWrapper *);}
static void dealloc_QDeclarativeContext(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQDeclarativeContext *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QDeclarativeContext(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QDeclarativeContext(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDeclarativeContext(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQDeclarativeContext *sipCpp = 0;

    {
        QDeclarativeEngine* a0;
        QObject* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J8|JH", sipType_QDeclarativeEngine, &a0, sipType_QObject, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQDeclarativeContext(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QDeclarativeContext* a0;
        QObject* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J8|JH", sipType_QDeclarativeContext, &a0, sipType_QObject, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQDeclarativeContext(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QDeclarativeContext[] = {{141, 0, 1}};


static PyMethodDef methods_QDeclarativeContext[] = {
    {SIP_MLNAME_CAST(sipName_baseUrl), meth_QDeclarativeContext_baseUrl, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeContext_baseUrl)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QDeclarativeContext_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QDeclarativeContext_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextObject), meth_QDeclarativeContext_contextObject, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeContext_contextObject)},
    {SIP_MLNAME_CAST(sipName_contextProperty), meth_QDeclarativeContext_contextProperty, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeContext_contextProperty)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QDeclarativeContext_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QDeclarativeContext_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_engine), meth_QDeclarativeContext_engine, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeContext_engine)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QDeclarativeContext_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeContext_isValid)},
    {SIP_MLNAME_CAST(sipName_parentContext), meth_QDeclarativeContext_parentContext, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeContext_parentContext)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QDeclarativeContext_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resolvedUrl), meth_QDeclarativeContext_resolvedUrl, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeContext_resolvedUrl)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QDeclarativeContext_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QDeclarativeContext_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setBaseUrl), meth_QDeclarativeContext_setBaseUrl, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeContext_setBaseUrl)},
    {SIP_MLNAME_CAST(sipName_setContextObject), meth_QDeclarativeContext_setContextObject, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeContext_setContextObject)},
    {SIP_MLNAME_CAST(sipName_setContextProperty), meth_QDeclarativeContext_setContextProperty, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeContext_setContextProperty)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QDeclarativeContext_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QDeclarativeContext, "\1QDeclarativeContext(QDeclarativeEngine, parent: QObject = None)\n"
    "QDeclarativeContext(QDeclarativeContext, parent: QObject = None)");


pyqt4ClassTypeDef sipTypeDef_QtDeclarative_QDeclarativeContext = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QDeclarativeContext,
        {0}
    },
    {
        sipNameNr_QDeclarativeContext,
        {0, 0, 1},
        18, methods_QDeclarativeContext,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDeclarativeContext,
    -1,
    -1,
    supers_QDeclarativeContext,
    0,
    init_type_QDeclarativeContext,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDeclarativeContext,
    0,
    0,
    0,
    release_QDeclarativeContext,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QDeclarativeContext::staticMetaObject,
    0,
    0
};

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativecomponent.sip"
#include <qdeclarativecomponent.h>
#line 18486 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativeengine.sip"
#include <qdeclarativeengine.h>
#line 18490 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 18493 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 18496 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 102 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 18499 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativecontext.sip"
#include <qdeclarativecontext.h>
#line 18502 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 32 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 18505 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 18508 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtDeclarative/qdeclarativeerror.sip"
#include <qdeclarativeerror.h>
#line 18511 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18514 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 368 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18517 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 351 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18520 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 269 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 18523 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 28 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 18526 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18529 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 18532 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 18535 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 30 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 18538 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"
#line 26 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 18541 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"


class sipQDeclarativeComponent : public QDeclarativeComponent
{
public:
    sipQDeclarativeComponent(QDeclarativeEngine*,QObject*);
    sipQDeclarativeComponent(QDeclarativeEngine*,const QString&,QObject*);
    sipQDeclarativeComponent(QDeclarativeEngine*,const QUrl&,QObject*);
    virtual ~sipQDeclarativeComponent();

    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 char*);
    void sipProtectVirt_disconnectNotify(bool,const char*);
    int sipProtect_senderSignalIndex() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void completeCreate();
    QObject* beginCreate(QDeclarativeContext*);
    QObject* create(QDeclarativeContext*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQDeclarativeComponent(const sipQDeclarativeComponent &);
    sipQDeclarativeComponent &operator = (const sipQDeclarativeComponent &);

    char sipPyMethods[10];
};

sipQDeclarativeComponent::sipQDeclarativeComponent(QDeclarativeEngine*a0,QObject*a1): QDeclarativeComponent(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDeclarativeComponent::sipQDeclarativeComponent(QDeclarativeEngine*a0,const QString& a1,QObject*a2): QDeclarativeComponent(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDeclarativeComponent::sipQDeclarativeComponent(QDeclarativeEngine*a0,const QUrl& a1,QObject*a2): QDeclarativeComponent(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDeclarativeComponent::~sipQDeclarativeComponent()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQDeclarativeComponent::metaObject() const
{
    return sip_QtDeclarative_qt_metaobject(sipPySelf,sipType_QDeclarativeComponent);
}

int sipQDeclarativeComponent::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QDeclarativeComponent::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtDeclarative_qt_metacall(sipPySelf,sipType_QDeclarativeComponent,_c,_id,_a);

    return _id;
}

void *sipQDeclarativeComponent::qt_metacast(const char *_clname)
{
    return (sip_QtDeclarative_qt_metacast(sipPySelf, sipType_QDeclarativeComponent, _clname)) ? this : QDeclarativeComponent::qt_metacast(_clname);
}

void sipQDeclarativeComponent::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QDeclarativeComponent::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQDeclarativeComponent::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QDeclarativeComponent::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQDeclarativeComponent::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QDeclarativeComponent::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQDeclarativeComponent::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QDeclarativeComponent::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQDeclarativeComponent::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QDeclarativeComponent::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQDeclarativeComponent::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QDeclarativeComponent::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipQDeclarativeComponent::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QDeclarativeComponent::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQDeclarativeComponent::completeCreate()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_completeCreate);

    if (!sipMeth)
    {
        QDeclarativeComponent::completeCreate();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtDeclarative_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

QObject* sipQDeclarativeComponent::beginCreate(QDeclarativeContext*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_beginCreate);

    if (!sipMeth)
        return QDeclarativeComponent::beginCreate(a0);

    extern QObject* sipVH_QtDeclarative_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDeclarativeContext*);

    return sipVH_QtDeclarative_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QObject* sipQDeclarativeComponent::create(QDeclarativeContext*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_create);

    if (!sipMeth)
        return QDeclarativeComponent::create(a0);

    extern QObject* sipVH_QtDeclarative_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDeclarativeContext*);

    return sipVH_QtDeclarative_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QObject* sipQDeclarativeComponent::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQDeclarativeComponent::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQDeclarativeComponent::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQDeclarativeComponent::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQDeclarativeComponent::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQDeclarativeComponent::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQDeclarativeComponent::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char*a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQDeclarativeComponent::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}


PyDoc_STRVAR(doc_QDeclarativeComponent_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QDeclarativeComponent_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeComponent_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDeclarativeComponent *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDeclarativeComponent, &sipCpp))
        {
            QObject*sipRes = 0;

#line 638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        // 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 (helper)
            sipRes = helper(sipRes);
#line 18882 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeComponent, sipName_sender, doc_QDeclarativeComponent_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeComponent_receivers, "receivers(self, QT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QDeclarativeComponent_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeComponent_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        char* a0;
        const sipQDeclarativeComponent *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QDeclarativeComponent, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 664 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        // PyQt5: Get rid of the const casts.
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(const_cast<QObject *>(sipCpp), a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 18928 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.4-2.x86_64/build/QtDeclarative/sipQtDeclarativepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeComponent, sipName_receivers, doc_QDeclarativeComponent_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeComponent_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QDeclarativeComponent_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeComponent_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQDeclarativeComponent *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeComponent, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeComponent, sipName_timerEvent, doc_QDeclarativeComponent_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeComponent_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QDeclarativeComponent_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeComponent_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQDeclarativeComponent *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeComponent, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeComponent, sipName_childEvent, doc_QDeclarativeComponent_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeComponent_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QDeclarativeComponent_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeComponent_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDeclarativeComponent *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDeclarativeComponent, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeComponent, sipName_customEvent, doc_QDeclarativeComponent_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeComponent_connectNotify, "connectNotify(self, QT_SIGNAL)");

extern "C" {static PyObject *meth_QDeclarativeComponent_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeComponent_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char* a0;
        sipQDeclarativeComponent *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QDeclarativeComponent, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeComponent, sipName_connectNotify, doc_QDeclarativeComponent_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeComponent_disconnectNotify, "disconnectNotify(self, QT_SIGNAL)");

extern "C" {static PyObject *meth_QDeclarativeComponent_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeComponent_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char* a0;
        sipQDeclarativeComponent *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BG", &sipSelf, sipType_QDeclarativeComponent, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeComponent, sipName_disconnectNotify, doc_QDeclarativeComponent_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeComponent_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QDeclarativeComponent_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeComponent_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDeclarativeComponent *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDeclarativeComponent, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_senderSignalIndex();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeComponent, sipName_senderSignalIndex, doc_QDeclarativeComponent_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeComponent_status, "status(self) -> QDeclarativeComponent.Status");

extern "C" {static PyObject *meth_QDeclarativeComponent_status(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeComponent_status(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeComponent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeComponent, &sipCpp))
        {
            QDeclarativeComponent::Status sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->status();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QDeclarativeComponent_Status);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeComponent, sipName_status, doc_QDeclarativeComponent_status);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeComponent_isNull, "isNull(self) -> bool");

extern "C" {static PyObject *meth_QDeclarativeComponent_isNull(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeComponent_isNull(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeComponent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeComponent, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isNull();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeComponent, sipName_isNull, doc_QDeclarativeComponent_isNull);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeComponent_isReady, "isReady(self) -> bool");

extern "C" {static PyObject *meth_QDeclarativeComponent_isReady(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeComponent_isReady(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeComponent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeComponent, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isReady();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeComponent, sipName_isReady, doc_QDeclarativeComponent_isReady);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeComponent_isError, "isError(self) -> bool");

extern "C" {static PyObject *meth_QDeclarativeComponent_isError(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeComponent_isError(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeComponent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeComponent, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isError();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeComponent, sipName_isError, doc_QDeclarativeComponent_isError);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeComponent_isLoading, "isLoading(self) -> bool");

extern "C" {static PyObject *meth_QDeclarativeComponent_isLoading(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeComponent_isLoading(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeComponent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeComponent, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isLoading();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeComponent, sipName_isLoading, doc_QDeclarativeComponent_isLoading);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeComponent_errors, "errors(self) -> object");

extern "C" {static PyObject *meth_QDeclarativeComponent_errors(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeComponent_errors(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeComponent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeComponent, &sipCpp))
        {
            QList<QDeclarativeError>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QDeclarativeError>(sipCpp->errors());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0100QDeclarativeError,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeComponent, sipName_errors, doc_QDeclarativeComponent_errors);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeComponent_progress, "progress(self) -> float");

extern "C" {static PyObject *meth_QDeclarativeComponent_progress(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeComponent_progress(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeComponent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeComponent, &sipCpp))
        {
            qreal sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->progress();
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeComponent, sipName_progress, doc_QDeclarativeComponent_progress);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeComponent_url, "url(self) -> QUrl");

extern "C" {static PyObject *meth_QDeclarativeComponent_url(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeComponent_url(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeComponent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeComponent, &sipCpp))
        {
            QUrl*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QUrl(sipCpp->url());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeComponent, sipName_url, doc_QDeclarativeComponent_url);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeComponent_create, "create(self, context: QDeclarativeContext = None) -> QObject");

extern "C" {static PyObject *meth_QDeclarativeComponent_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeComponent_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDeclarativeContext* a0 = 0;
        QDeclarativeComponent *sipCpp;

        static const char *sipKwdList[] = {
            sipName_context,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J8", &sipSelf, sipType_QDeclarativeComponent, &sipCpp, sipType_QDeclarativeContext, &a0))
        {
            QObject*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QDeclarativeComponent::create(a0) : sipCpp->create(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeComponent, sipName_create, doc_QDeclarativeComponent_create);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeComponent_beginCreate, "beginCreate(self, QDeclarativeContext) -> QObject");

extern "C" {static PyObject *meth_QDeclarativeComponent_beginCreate(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeComponent_beginCreate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDeclarativeContext* a0;
        QDeclarativeComponent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QDeclarativeComponent, &sipCpp, sipType_QDeclarativeContext, &a0))
        {
            QObject*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QDeclarativeComponent::beginCreate(a0) : sipCpp->beginCreate(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeComponent, sipName_beginCreate, doc_QDeclarativeComponent_beginCreate);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeComponent_completeCreate, "completeCreate(self)");

extern "C" {static PyObject *meth_QDeclarativeComponent_completeCreate(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeComponent_completeCreate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDeclarativeComponent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeComponent, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->QDeclarativeComponent::completeCreate() : sipCpp->completeCreate());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeComponent, sipName_completeCreate, doc_QDeclarativeComponent_completeCreate);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeComponent_loadUrl, "loadUrl(self, QUrl)");

extern "C" {static PyObject *meth_QDeclarativeComponent_loadUrl(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeComponent_loadUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QUrl* a0;
        QDeclarativeComponent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QDeclarativeComponent, &sipCpp, sipType_QUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->loadUrl(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeComponent, sipName_loadUrl, doc_QDeclarativeComponent_loadUrl);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeComponent_setData, "setData(self, QByteArray, QUrl)");

extern "C" {static PyObject *meth_QDeclarativeComponent_setData(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeComponent_setData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QByteArray* a0;
        int a0State = 0;
        const QUrl* a1;
        QDeclarativeComponent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J9", &sipSelf, sipType_QDeclarativeComponent, &sipCpp, sipType_QByteArray, &a0, &a0State, sipType_QUrl, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setData(*a0,*a1);
            Py_END_ALLOW_THREADS
            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_QDeclarativeComponent, sipName_setData, doc_QDeclarativeComponent_setData);

    return NULL;
}


PyDoc_STRVAR(doc_QDeclarativeComponent_creationContext, "creationContext(self) -> QDeclarativeContext");

extern "C" {static PyObject *meth_QDeclarativeComponent_creationContext(PyObject *, PyObject *);}
static PyObject *meth_QDeclarativeComponent_creationContext(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDeclarativeComponent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeclarativeComponent, &sipCpp))
        {
            QDeclarativeContext*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->creationContext();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDeclarativeContext,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeclarativeComponent, sipName_creationContext, doc_QDeclarativeComponent_creationContext);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDeclarativeComponent(void *, int);}
static void release_QDeclarativeComponent(void *sipCppV,int)
{
    QDeclarativeComponent *sipCpp = reinterpret_cast<QDeclarativeComponent *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QDeclarativeComponent(sipSimpleWrapper *);}
static void dealloc_QDeclarativeComponent(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQDeclarativeComponent *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QDeclarativeComponent(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QDeclarativeComponent(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDeclarativeComponent(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQDeclarativeComponent *sipCpp = 0;

    {
        QDeclarativeEngine* a0;
        QObject* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J8|JH", sipType_QDeclarativeEngine, &a0, sipType_QObject, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQDeclarativeComponent(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QDeclarativeEngine* a0;
        const QString* a1;
        int a1State = 0;
        QObject* a2 = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J8J1|JH", sipType_QDeclarativeEngine, &a0, sipType_QString,&a1, &a1State, sipType_QObject, &a2, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQDeclarativeComponent(a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QDeclarativeEngine* a0;
        const QUrl* a1;
        QObject* a2 = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J8J9|JH", sipType_QDeclarativeEngine, &a0, sipType_QUrl, &a1, sipType_QObject, &a2, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQDeclarativeComponent(a0,*a1,a2);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QDeclarativeComponent[] = {{141, 0, 1}};


static PyMethodDef methods_QDeclarativeComponent[] = {
    {SIP_MLNAME_CAST(sipName_beginCreate), meth_QDeclarativeComponent_beginCreate, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeComponent_beginCreate)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QDeclarativeComponent_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_completeCreate), meth_QDeclarativeComponent_completeCreate, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeComponent_completeCreate)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QDeclarativeComponent_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QDeclarativeComponent_create, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDeclarativeComponent_create)},
    {SIP_MLNAME_CAST(sipName_creationContext), meth_QDeclarativeComponent_creationContext, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeComponent_creationContext)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QDeclarativeComponent_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QDeclarativeComponent_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_errors), meth_QDeclarativeComponent_errors, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeComponent_errors)},
    {SIP_MLNAME_CAST(sipName_isError), meth_QDeclarativeComponent_isError, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeComponent_isError)},
    {SIP_MLNAME_CAST(sipName_isLoading), meth_QDeclarativeComponent_isLoading, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeComponent_isLoading)},
    {SIP_MLNAME_CAST(sipName_isNull), meth_QDeclarativeComponent_isNull, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeComponent_isNull)},
    {SIP_MLNAME_CAST(sipName_isReady), meth_QDeclarativeComponent_isReady, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeComponent_isReady)},
    {SIP_MLNAME_CAST(sipName_loadUrl), meth_QDeclarativeComponent_loadUrl, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeComponent_loadUrl)},
    {SIP_MLNAME_CAST(sipName_progress), meth_QDeclarativeComponent_progress, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeComponent_progress)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QDeclarativeComponent_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QDeclarativeComponent_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QDeclarativeComponent_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setData), meth_QDeclarativeComponent_setData, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeComponent_setData)},
    {SIP_MLNAME_CAST(sipName_status), meth_QDeclarativeComponent_status, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeComponent_status)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QDeclarativeComponent_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_url), meth_QDeclarativeComponent_url, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeclarativeComponent_url)}
};

static sipEnumMemberDef enummembers_QDeclarativeComponent[] = {
    {sipName_Error, static_cast<int>(QDeclarativeComponent::Error), 1},
    {sipName_Loading, static_cast<int>(QDeclarativeComponent::Loading), 1},
    {sipName_Null, static_cast<int>(QDeclarativeComponent::Null), 1},
    {sipName_Ready, static_cast<int>(QDeclarativeComponent::Ready), 1},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_QDeclarativeComponent[] = {
    {"progressChanged(qreal)", "\1progressChanged(self, float)", 0, 0},
    {"statusChanged(QDeclarativeComponent::Status)", "\1statusChanged(self, QDeclarativeComponent.Status)", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QDeclarativeComponent, "\1QDeclarativeComponent(QDeclarativeEngine, parent: QObject = None)\n"
    "QDeclarativeComponent(QDeclarativeEngine, object, parent: QObject = None)\n"
    "QDeclarativeComponent(QDeclarativeEngine, QUrl, parent: QObject = None)");


pyqt4ClassTypeDef sipTypeDef_QtDeclarative_QDeclarativeComponent = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QDeclarativeComponent,
        {0}
    },
    {
        sipNameNr_QDeclarativeComponent,
        {0, 0, 1},
        22, methods_QDeclarativeComponent,
        4, enummembers_QDeclarativeComponent,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDeclarativeComponent,
    -1,
    -1,
    supers_QDeclarativeComponent,
    0,
    init_type_QDeclarativeComponent,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDeclarativeComponent,
    0,
    0,
    0,
    release_QDeclarativeComponent,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QDeclarativeComponent::staticMetaObject,
    0,
    signals_QDeclarativeComponent,
};
