/*
 * Module code.
 *
 * Generated by SIP 4.19.12
 *
 * Copyright (c) 2018 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 "sipAPIQtDBus.h"

#line 29 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 29 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 46 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusconnection.sip"
#include <qdbusconnection.h>
#line 32 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusservicewatcher.sip"
#include <qdbusservicewatcher.h>
#line 35 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 38 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 368 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 41 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 351 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 44 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusargument.sip"
#include <qdbusargument.h>
#line 47 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 46 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusconnection.sip"
#include <qdbusconnection.h>
#line 50 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 46 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusconnection.sip"
#include <qdbusconnection.h>
#line 53 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 48 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusextratypes.sip"
#include <qdbusextratypes.h>
#line 56 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 101 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusextratypes.sip"
#include <qdbusextratypes.h>
#line 59 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 150 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusextratypes.sip"
#include <qdbusextratypes.h>
#line 62 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusmessage.sip"
#include <qdbusmessage.h>
#line 65 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusservicewatcher.sip"
#include <qdbusservicewatcher.h>
#line 68 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusunixfiledescriptor.sip"
#include <qdbusunixfiledescriptor.h>
#line 71 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qpydbuspendingreply.sip"
#include <qpydbuspendingreply.h>
#line 74 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

/* Define the strings used by this module. */
const char sipStrings_QtDBus[] = {
    'Q', 'D', 'B', 'u', 's', 'R', 'e', 'p', 'l', 'y', '<', 'Q', 'D', 'B', 'u', 's', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'I', 'n', 't', 'e', 'r', 'f', 'a', 'c', 'e', ':', ':', 'R', 'e', 'g', 'i', 's', 't', 'e', 'r', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 'R', 'e', 'p', 'l', 'y', '>', 0,
    'Q', 'D', 'B', 'u', 's', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'I', 'n', 't', 'e', 'r', 'f', 'a', 'c', 'e', ':', ':', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 'R', 'e', 'p', 'l', 'a', 'c', 'e', 'm', 'e', 'n', 't', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    'Q', 'D', 'B', 'u', 's', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'I', 'n', 't', 'e', 'r', 'f', 'a', 'c', 'e', ':', ':', 'R', 'e', 'g', 'i', 's', 't', 'e', 'r', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 'R', 'e', 'p', 'l', 'y', 0,
    'Q', 'D', 'B', 'u', 's', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'I', 'n', 't', 'e', 'r', 'f', 'a', 'c', 'e', ':', ':', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 'Q', 'u', 'e', 'u', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    'Q', 'D', 'B', 'u', 's', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', ':', ':', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'C', 'a', 'p', 'a', 'b', 'i', 'l', 'i', 't', 'i', 'e', 's', 0,
    'Q', 'D', 'B', 'u', 's', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', ':', ':', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'C', 'a', 'p', 'a', 'b', 'i', 'l', 'i', 't', 'y', 0,
    'Q', 'D', 'B', 'u', 's', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 'W', 'a', 't', 'c', 'h', 'e', 'r', ':', ':', 'W', 'a', 't', 'c', 'h', 'M', 'o', 'd', 'e', 'F', 'l', 'a', 'g', 0,
    'Q', 'D', 'B', 'u', 's', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', ':', ':', 'R', 'e', 'g', 'i', 's', 't', 'e', 'r', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    'Q', 'D', 'B', 'u', 's', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', ':', ':', 'U', 'n', 'r', 'e', 'g', 'i', 's', 't', 'e', 'r', 'M', 'o', 'd', 'e', 0,
    'Q', 'D', 'B', 'u', 's', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', ':', ':', 'R', 'e', 'g', 'i', 's', 't', 'e', 'r', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'Q', 'D', 'B', 'u', 's', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 'W', 'a', 't', 'c', 'h', 'e', 'r', ':', ':', 'W', 'a', 't', 'c', 'h', 'M', 'o', 'd', 'e', 0,
    'E', 'x', 'p', 'o', 'r', 't', 'N', 'o', 'n', 'S', 'c', 'r', 'i', 'p', 't', 'a', 'b', 'l', 'e', 'I', 'n', 'v', 'o', 'k', 'a', 'b', 'l', 'e', 's', 0,
    'E', 'x', 'p', 'o', 'r', 't', 'N', 'o', 'n', 'S', 'c', 'r', 'i', 'p', 't', 'a', 'b', 'l', 'e', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', 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,
    'E', 'x', 'p', 'o', 'r', 't', 'N', 'o', 'n', 'S', 'c', 'r', 'i', 'p', 't', 'a', 'b', 'l', 'e', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 0,
    'E', 'x', 'p', 'o', 'r', 't', 'N', 'o', 'n', 'S', 'c', 'r', 'i', 'p', 't', 'a', 'b', 'l', 'e', 'S', 'i', 'g', 'n', 'a', 'l', 's', 0,
    'E', 'x', 'p', 'o', 'r', 't', 'S', 'c', 'r', 'i', 'p', 't', 'a', 'b', 'l', 'e', 'I', 'n', 'v', 'o', 'k', 'a', 'b', 'l', 'e', 's', 0,
    'E', 'x', 'p', 'o', 'r', 't', 'S', 'c', 'r', 'i', 'p', 't', 'a', 'b', 'l', 'e', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', 0,
    'Q', 'D', 'B', 'u', 's', 'M', 'e', 's', 's', 'a', 'g', 'e', ':', ':', 'M', 'e', 's', 's', 'a', 'g', 'e', 'T', 'y', 'p', 'e', 0,
    'U', 'n', 'i', 'x', 'F', 'i', 'l', 'e', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 'P', 'a', 's', 's', 'i', 'n', 'g', 0,
    'a', 's', 'y', 'n', 'c', 'C', 'a', 'l', 'l', 'W', 'i', 't', 'h', 'A', 'r', 'g', 'u', 'm', 'e', 'n', 't', 'L', 'i', 's', 't', 0,
    'Q', 'D', 'B', 'u', 's', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'I', 'n', 't', 'e', 'r', 'f', 'a', 'c', 'e', 0,
    'E', 'x', 'p', 'o', 'r', 't', 'N', 'o', 'n', 'S', 'c', 'r', 'i', 'p', 't', 'a', 'b', 'l', 'e', 'S', 'l', 'o', 't', 's', 0,
    'E', 'x', 'p', 'o', 'r', 't', 'S', 'c', 'r', 'i', 'p', 't', 'a', 'b', 'l', 'e', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 0,
    'Q', 'D', 'B', 'u', 's', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', ':', ':', 'B', 'u', 's', 'T', 'y', 'p', 'e', 0,
    'Q', 'D', 'B', 'u', 's', 'R', 'e', 'p', 'l', 'y', '<', 'Q', 'S', 't', 'r', 'i', 'n', 'g', 'L', 'i', 's', 't', '>', 0,
    'Q', 'D', 'B', 'u', 's', 'U', 'n', 'i', 'x', 'F', 'i', 'l', 'e', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 0,
    'Q', 'D', 'B', 'u', 's', 'P', 'e', 'n', 'd', 'i', 'n', 'g', 'C', 'a', 'l', 'l', 'W', 'a', 't', 'c', 'h', 'e', 'r', 0,
    'E', 'x', 'p', 'o', 'r', 't', 'S', 'c', 'r', 'i', 'p', 't', 'a', 'b', 'l', 'e', 'S', 'i', 'g', 'n', 'a', 'l', 's', 0,
    'W', 'a', 't', 'c', 'h', 'F', 'o', 'r', 'U', 'n', 'r', 'e', 'g', 'i', 's', 't', 'r', 'a', 't', 'i', 'o', 'n', 0,
    'c', 'a', 'l', 'l', 'W', 'i', 't', 'h', 'C', 'a', 'l', 'l', 'b', 'a', 'c', 'k', 'F', 'a', 'i', 'l', 'e', 'd', 0,
    'r', 'e', 'g', 'i', 's', 't', 'e', 'r', 'e', 'd', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 'N', 'a', 'm', 'e', 's', 0,
    'R', 'e', 'p', 'l', 'a', 'c', 'e', 'E', 'x', 'i', 's', 't', 'i', 'n', 'g', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 0,
    'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'C', 'a', 'p', 'a', 'b', 'i', 'l', 'i', 't', 'i', 'e', 's', 0,
    'Q', 'D', 'B', 'u', 's', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'I', 'n', 't', 'e', 'r', 'f', 'a', 'c', 'e', 0,
    'Q', 'D', 'B', 'u', 's', 'E', 'r', 'r', 'o', 'r', ':', ':', 'E', 'r', 'r', 'o', 'r', 'T', 'y', 'p', 'e', 0,
    'E', 'x', 'p', 'o', 'r', 't', 'S', 'c', 'r', 'i', 'p', 't', 'a', 'b', 'l', 'e', 'S', 'l', 'o', 't', 's', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'W', 'a', 't', 'c', 'h', 'e', 'd', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 0,
    'W', 'a', 't', 'c', 'h', 'F', 'o', 'r', 'R', 'e', 'g', 'i', 's', 't', 'r', 'a', 't', 'i', 'o', 'n', 0,
    'S', 'e', 'r', 'v', 'i', 'c', 'e', 'N', 'o', 't', 'R', 'e', 'g', 'i', 's', 't', 'e', 'r', 'e', 'd', 0,
    'D', 'o', 'n', 't', 'A', 'l', 'l', 'o', 'w', 'R', 'e', 'p', 'l', 'a', 'c', 'e', 'm', 'e', 'n', 't', 0,
    'c', 'a', 'l', 'l', 'W', 'i', 't', 'h', 'A', 'r', 'g', 'u', 'm', 'e', 'n', 't', 'L', 'i', 's', 't', 0,
    'Q', 'D', 'B', 'u', 's', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'A', 'd', 'a', 'p', 't', 'o', 'r', 0,
    'Q', 'D', 'B', 'u', 's', 'R', 'e', 'p', 'l', 'y', '<', 'Q', 'S', 't', 'r', 'i', 'n', 'g', '>', 0,
    'Q', 'P', 'y', 'D', 'B', 'u', 's', 'P', 'e', 'n', 'd', 'i', 'n', 'g', 'R', 'e', 'p', 'l', 'y', 0,
    'W', 'a', 't', 'c', 'h', 'F', 'o', 'r', 'O', 'w', 'n', 'e', 'r', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'Q', 'D', 'B', 'u', 's', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 'W', 'a', 't', 'c', 'h', 'e', 'r', 0,
    's', 'e', 't', 'A', 'u', 't', 'o', 'S', 't', 'a', 'r', 't', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 0,
    's', 'e', 'r', 'v', 'i', 'c', 'e', 'O', 'w', 'n', 'e', 'r', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'e', 'r', 'v', 'i', 'c', 'e', 'U', 'n', 'r', 'e', 'g', 'i', 's', 't', 'e', 'r', 'e', 'd', 0,
    'i', 's', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 'R', 'e', 'g', 'i', 's', 't', 'e', 'r', 'e', 'd', 0,
    'E', 'x', 'p', 'o', 'r', 't', 'A', 'l', 'l', 'I', 'n', 'v', 'o', 'k', 'a', 'b', 'l', 'e', 's', 0,
    'E', 'x', 'p', 'o', 'r', 't', 'A', 'l', 'l', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', 0,
    's', 'e', 't', 'A', 'u', 't', 'o', 'R', 'e', 'l', 'a', 'y', 'S', 'i', 'g', 'n', 'a', 'l', 's', 0,
    's', 'e', 't', 'W', 'a', 't', 'c', 'h', 'e', 'd', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 's', 0,
    'd', 'i', 's', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'F', 'r', 'o', 'm', 'P', 'e', 'e', 'r', 0,
    'o', 'b', 'j', 'e', 'c', 't', 'R', 'e', 'g', 'i', 's', 't', 'e', 'r', 'e', 'd', 'A', 't', 0,
    'E', 'x', 'p', 'o', 'r', 't', 'C', 'h', 'i', 'l', 'd', 'O', 'b', 'j', 'e', 'c', 't', 's', 0,
    'Q', 'D', 'B', 'u', 's', 'P', 'e', 'n', 'd', 'i', 'n', 'g', 'R', 'e', 'p', 'l', 'y', 0,
    's', 'e', 't', 'F', 'i', 'l', 'e', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 0,
    'a', 'd', 'd', 'W', 'a', 't', 'c', 'h', 'e', 'd', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 0,
    'f', 'r', 'o', 'm', 'C', 'o', 'm', 'p', 'l', 'e', 't', 'e', 'd', 'C', 'a', 'l', 'l', 0,
    'M', 'e', 't', 'h', 'o', 'd', 'C', 'a', 'l', 'l', 'M', 'e', 's', 's', 'a', 'g', 'e', 0,
    'I', 'n', 'v', 'a', 'l', 'i', 'd', 'O', 'b', 'j', 'e', 'c', 't', 'P', 'a', 't', 'h', 0,
    's', 'e', 'r', 'v', 'i', 'c', 'e', 'R', 'e', 'g', 'i', 's', 't', 'e', 'r', 'e', 'd', 0,
    'd', 'i', 's', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'F', 'r', 'o', 'm', 'B', 'u', 's', 0,
    'u', 'n', 'r', 'e', 'g', 'i', 's', 't', 'e', 'r', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 0,
    'E', 'x', 'p', 'o', 'r', 't', 'A', 'l', 'l', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 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', 'B', 'u', 's', 'R', 'e', 'p', 'l', 'y', '<', 'u', 'i', 'n', 't', '>', 0,
    'Q', 'D', 'B', 'u', 's', 'R', 'e', 'p', 'l', 'y', '<', 'b', 'o', 'o', 'l', '>', 0,
    'Q', 'D', 'B', 'u', 's', 'R', 'e', 'p', 'l', 'y', '<', 'v', 'o', 'i', 'd', '>', 0,
    'Q', 'D', 'B', 'u', 's', 'P', 'e', 'n', 'd', 'i', 'n', 'g', 'C', 'a', 'l', 'l', 0,
    'a', 'u', 't', 'o', 'S', 't', 'a', 'r', 't', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'E', 'r', 'r', 'o', 'r', 'R', 'e', 'p', 'l', 'y', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'M', 'e', 't', 'h', 'o', 'd', 'C', 'a', 'l', 'l', 0,
    'I', 'n', 'v', 'a', 'l', 'i', 'd', 'I', 'n', 't', 'e', 'r', 'f', 'a', 'c', 'e', 0,
    'U', 'n', 'k', 'n', 'o', 'w', 'n', 'I', 'n', 't', 'e', 'r', 'f', 'a', 'c', 'e', 0,
    'I', 'n', 'v', 'a', 'l', 'i', 'd', 'S', 'i', 'g', 'n', 'a', 't', 'u', 'r', 'e', 0,
    'D', 'o', 'n', 't', 'Q', 'u', 'e', 'u', 'e', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 0,
    'u', 'n', 'r', 'e', 'g', 'i', 's', 't', 'e', 'r', 'O', 'b', 'j', 'e', 'c', 't', 0,
    'E', 'x', 'p', 'o', 'r', 't', 'A', 'l', 'l', 'S', 'i', 'g', 'n', 'a', 'l', 's', 0,
    'c', 'a', 'l', 'l', 'W', 'i', 't', 'h', 'C', 'a', 'l', 'l', 'b', 'a', 'c', 'k', 0,
    'a', 'u', 't', 'o', 'R', 'e', 'l', 'a', 'y', 'S', 'i', 'g', 'n', 'a', 'l', 's', 0,
    'd', 'i', 's', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'N', 'o', 't', 'i', 'f', 'y', 0,
    'w', 'a', 't', 'c', 'h', 'e', 'd', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 's', 0,
    's', 'e', 't', 'D', 'e', 'l', 'a', 'y', 'e', 'd', 'R', 'e', 'p', 'l', 'y', 0,
    'i', 's', 'R', 'e', 'p', 'l', 'y', 'R', 'e', 'q', 'u', 'i', 'r', 'e', 'd', 0,
    'Q', 'D', 'B', 'u', 's', 'O', 'b', 'j', 'e', 'c', 't', 'P', 'a', 't', 'h', 0,
    'E', 'x', 'p', 'o', 'r', 't', 'A', 'l', 'l', 'S', 'i', 'g', 'n', 'a', 'l', 0,
    'Q', 'D', 'B', 'u', 's', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'Q', 'D', 'B', 'u', 's', ':', ':', 'C', 'a', 'l', 'l', 'M', 'o', 'd', 'e', 0,
    'w', 'a', 'i', 't', 'F', 'o', 'r', 'F', 'i', 'n', 'i', 's', 'h', 'e', 'd', 0,
    'f', 'i', 'l', 'e', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'o', 'r', 0,
    'i', 's', 'D', 'e', 'l', 'a', 'y', 'e', 'd', 'R', 'e', 'p', 'l', 'y', 0,
    'I', 'n', 'v', 'a', 'l', 'i', 'd', 'M', 'e', 's', 's', 'a', 'g', 'e', 0,
    'Q', 'D', 'B', 'u', 's', 'I', 'n', 't', 'e', 'r', 'f', 'a', 'c', 'e', 0,
    'Q', 'D', 'B', 'u', 's', 'S', 'i', 'g', 'n', 'a', 't', 'u', 'r', 'e', 0,
    'I', 'n', 'v', 'a', 'l', 'i', 'd', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 0,
    'L', 'i', 'm', 'i', 't', 's', 'E', 'x', 'c', 'e', 'e', 'd', 'e', 'd', 0,
    'S', 'e', 'r', 'v', 'i', 'c', 'e', 'U', 'n', 'k', 'n', 'o', 'w', 'n', 0,
    'l', 'o', 'c', 'a', 'l', 'M', 'a', 'c', 'h', 'i', 'n', 'e', 'I', 'd', 0,
    'U', 'n', 'r', 'e', 'g', 'i', 's', 't', 'e', 'r', 'T', 'r', 'e', 'e', 0,
    'U', 'n', 'r', 'e', 'g', 'i', 's', 't', 'e', 'r', 'N', 'o', 'd', 'e', 0,
    'E', 'x', 'p', 'o', 'r', 't', 'A', 'l', 'l', 'S', 'l', 'o', 't', 's', 0,
    'E', 'x', 'p', 'o', 'r', 't', 'A', 'd', 'a', 'p', 't', 'o', 'r', 's', 0,
    'b', 'e', 'g', 'i', 'n', 'S', 't', 'r', 'u', 'c', 't', 'u', 'r', 'e', 0,
    's', 'e', 't', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'S', 'i', 'g', 'n', 'a', 'l', 'M', 'e', 's', 's', 'a', 'g', 'e', 0,
    'I', 'n', 'v', 'a', 'l', 'i', 'd', 'M', 'e', 'm', 'b', 'e', 'r', 0,
    'U', 'n', 'k', 'n', 'o', 'w', 'n', 'O', 'b', 'j', 'e', 'c', 't', 0,
    'I', 'n', 't', 'e', 'r', 'n', 'a', 'l', 'E', 'r', 'r', 'o', 'r', 0,
    'U', 'n', 'k', 'n', 'o', 'w', 'n', 'M', 'e', 't', 'h', 'o', 'd', 0,
    'S', 'e', 'r', 'v', 'i', 'c', 'e', 'Q', 'u', 'e', 'u', 'e', 'd', 0,
    'c', 'o', 'n', 'n', 'e', 'c', 't', 'T', 'o', 'P', 'e', 'e', 'r', 0,
    'A', 'c', 't', 'i', 'v', 'a', 't', 'i', 'o', 'n', 'B', 'u', 's', 0,
    'b', 'e', 'g', 'i', 'n', 'M', 'a', 'p', 'E', 'n', 't', 'r', 'y', 0,
    'Q', 'D', 'B', 'u', 's', 'A', 'r', 'g', 'u', 'm', 'e', 'n', 't', 0,
    'Q', 'P', 'y', 'D', 'B', 'u', 's', 'R', 'e', 'p', 'l', 'y', 0,
    's', 'e', 't', 'W', 'a', 't', 'c', 'h', 'M', 'o', 'd', 'e', 0,
    's', 'e', 't', 'A', 'r', 'g', 'u', 'm', 'e', 'n', 't', 's', 0,
    'e', 'r', 'r', 'o', 'r', 'M', 'e', 's', 's', 'a', 'g', 'e', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'S', 'i', 'g', 'n', 'a', 'l', 0,
    'E', 'r', 'r', 'o', 'r', 'M', 'e', 's', 's', 'a', 'g', 'e', 0,
    'R', 'e', 'p', 'l', 'y', 'M', 'e', 's', 's', 'a', 'g', 'e', 0,
    'Q', 'D', 'B', 'u', 's', 'M', 'e', 's', 's', 'a', 'g', 'e', 0,
    'Q', 'D', 'B', 'u', 's', 'V', 'a', 'r', 'i', 'a', 'n', 't', 0,
    's', 'e', 't', 'S', 'i', 'g', 'n', 'a', 't', 'u', 'r', 'e', 0,
    'D', 'i', 's', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'e', 'd', 0,
    'A', 'd', 'd', 'r', 'e', 's', 's', 'I', 'n', 'U', 's', 'e', 0,
    'A', 'c', 'c', 'e', 's', 's', 'D', 'e', 'n', 'i', 'e', 'd', 0,
    'N', 'o', 't', 'S', 'u', 'p', 'p', 'o', 'r', 't', 'e', 'd', 0,
    's', 't', 'a', 'r', 't', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 0,
    's', 'e', 'r', 'v', 'i', 'c', 'e', 'O', 'w', 'n', 'e', 'r', 0,
    'c', 'o', 'n', 'n', 'e', 'c', 't', 'T', 'o', 'B', 'u', 's', 0,
    'B', 'l', 'o', 'c', 'k', 'W', 'i', 't', 'h', 'G', 'u', 'i', 0,
    'e', 'n', 'd', 'S', 't', 'r', 'u', 'c', 't', 'u', 'r', 'e', 0,
    'P', 'y', 'Q', 't', '4', '.', 'Q', 't', 'D', 'B', 'u', 's', 0,
    'i', 's', 'S', 'u', 'p', 'p', 'o', 'r', 't', 'e', 'd', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'R', 'e', 'p', 'l', 'y', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'E', 'r', 'r', 'o', 'r', 0,
    'I', 'n', 'v', 'a', 'l', 'i', 'd', 'A', 'r', 'g', 's', 0,
    'b', 'a', 's', 'e', 'S', 'e', 'r', 'v', 'i', 'c', 'e', 0,
    'i', 's', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'e', 'd', 0,
    'e', 'n', 'd', 'M', 'a', 'p', 'E', 'n', 't', 'r', 'y', 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,
    'e', 'r', 'r', 'o', 'r', 'S', 't', 'r', 'i', 'n', 'g', 0,
    'Q', 'D', 'B', 'u', 's', 'R', 'e', 'p', 'l', 'y', 0,
    'a', 'r', 'g', 'u', 'm', 'e', 'n', 't', 'A', 't', 0,
    's', 'e', 't', 'V', 'a', 'r', 'i', 'a', 'n', 't', 0,
    'B', 'a', 'd', 'A', 'd', 'd', 'r', 'e', 's', 's', 0,
    'Q', 'D', 'B', 'u', 's', 'E', 'r', 'r', 'o', 'r', 0,
    's', 'e', 'r', 'v', 'i', 'c', 'e', 'U', 'i', 'd', 0,
    's', 'e', 'r', 'v', 'i', 'c', 'e', 'P', 'i', 'd', 0,
    's', 'e', 's', 's', 'i', 'o', 'n', 'B', 'u', 's', 0,
    'S', 'e', 's', 's', 'i', 'o', 'n', 'B', 'u', 's', 0,
    'A', 'u', 't', 'o', 'D', 'e', 't', 'e', 'c', 't', 0,
    'b', 'e', 'g', 'i', 'n', 'A', 'r', 'r', 'a', 'y', 0,
    's', 'e', 't', 'T', 'i', 'm', 'e', 'o', 'u', 't', 0,
    'c', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'i', 's', 'F', 'i', 'n', 'i', 's', 'h', 'e', 'd', 0,
    'f', 'i', 'e', 'l', 'd', 'W', 'i', 'd', 't', 'h', 0,
    'c', 'h', 'i', 'l', 'd', 'E', 'v', 'e', 'n', 't', 0,
    't', 'i', 'm', 'e', 'r', 'E', 'v', 'e', 'n', 't', 0,
    'd', 'i', 's', 'c', 'o', 'n', 'n', 'e', 'c', 't', 0,
    '_', '_', 'l', 's', 'h', 'i', 'f', 't', '_', '_', 0,
    '_', '_', 'i', 'n', 'v', 'e', 'r', 't', '_', '_', 0,
    'w', 'a', 't', 'c', 'h', 'M', 'o', 'd', 'e', 0,
    'f', 'r', 'o', 'm', 'E', 'r', 'r', 'o', 'r', 0,
    'e', 'r', 'r', 'o', 'r', 'N', 'a', 'm', 'e', 0,
    'N', 'o', 'N', 'e', 't', 'w', 'o', 'r', 'k', 0,
    's', 'y', 's', 't', 'e', 'm', 'B', 'u', 's', 0,
    'S', 'y', 's', 't', 'e', 'm', 'B', 'u', 's', 0,
    'a', 's', 'y', 'n', 'c', 'C', 'a', 'l', 'l', 0,
    'l', 'a', 's', 't', 'E', 'r', 'r', 'o', 'r', 0,
    'i', 'n', 't', 'e', 'r', 'f', 'a', 'c', 'e', 0,
    'd', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', 0,
    'r', 'e', 'c', 'e', 'i', 'v', 'e', 'r', 's', 0,
    's', 'i', 'g', 'n', 'a', 't', 'u', 'r', 'e', 0,
    'a', 'r', 'g', 'u', 'm', 'e', 'n', 't', 's', 0,
    'p', 'r', 'e', 'c', 'i', 's', 'i', 'o', 'n', 0,
    'T', 'i', 'm', 'e', 'd', 'O', 'u', 't', 0,
    'N', 'o', 'S', 'e', 'r', 'v', 'e', 'r', 0,
    'N', 'o', 'M', 'e', 'm', 'o', 'r', 'y', 0,
    'b', 'e', 'g', 'i', 'n', 'M', 'a', 'p', 0,
    'b', 'e', 'h', 'a', 'v', 'i', 'o', 'r', 0,
    'f', 'i', 'l', 'l', 'C', 'h', 'a', 'r', 0,
    'e', 'n', 'd', 'A', 'r', 'r', 'a', 'y', 0,
    '_', '_', 'h', 'a', 's', 'h', '_', '_', 0,
    'f', 'i', 'n', 'i', 's', 'h', 'e', 'd', 0,
    '_', '_', 'b', 'o', 'o', 'l', '_', '_', 0,
    '_', '_', 'i', 'x', 'o', 'r', '_', '_', 0,
    '_', '_', 'i', 'a', 'n', 'd', '_', '_', 0,
    'i', 's', 'E', 'r', 'r', 'o', 'r', 0,
    'N', 'o', 'R', 'e', 'p', 'l', 'y', 0,
    'r', 'o', 'p', 't', 'i', 'o', 'n', 0,
    'q', 'o', 'p', 't', 'i', 'o', 'n', 0,
    'N', 'o', 'B', 'l', 'o', 'c', 'k', 0,
    's', 'e', 'r', 'v', 'i', 'c', 'e', 0,
    'v', 'a', 'r', 'i', 'a', 'n', 't', 0,
    'o', 'p', 't', 'i', 'o', 'n', 's', 0,
    'N', 'o', 'E', 'r', 'r', 'o', 'r', 0,
    't', 'i', 'm', 'e', 'o', 'u', 't', 0,
    's', 'e', 't', 'P', 'a', 't', 'h', 0,
    'e', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'i', 's', 'V', 'a', 'l', 'i', 'd', 0,
    'f', 'i', 'l', 't', 'e', 'r', 's', 0,
    'm', 'e', 's', 's', 'a', 'g', 'e', 0,
    '_', '_', 'x', 'o', 'r', '_', '_', 0,
    '_', '_', 'i', 'o', 'r', '_', '_', 0,
    '_', '_', 'a', 'n', 'd', '_', '_', 0,
    '_', '_', 'i', 'n', 't', '_', '_', 0,
    'e', 'n', 'd', 'M', 'a', 'p', 0,
    'p', 'r', 'o', 'p', 'e', 'r', 0,
    'm', 'e', 'm', 'b', 'e', 'r', 0,
    's', 'e', 'n', 'd', 'e', 'r', 0,
    'v', 'a', 'l', 'u', 'e', '9', 0,
    'v', 'a', 'l', 'u', 'e', '8', 0,
    'v', 'a', 'l', 'u', 'e', '7', 0,
    'v', 'a', 'l', 'u', 'e', '6', 0,
    'v', 'a', 'l', 'u', 'e', '5', 0,
    'v', 'a', 'l', 'u', 'e', '4', 0,
    'v', 'a', 'l', 'u', 'e', '3', 0,
    'v', 'a', 'l', 'u', 'e', '2', 0,
    'v', 'a', 'l', 'u', 'e', '1', 0,
    'v', 'a', 'l', 'u', 'e', '0', 0,
    's', 'y', 'm', 'b', 'o', 'l', 0,
    's', 'u', 'f', 'f', 'i', 'x', 0,
    'p', 'r', 'e', 'f', 'i', 'x', 0,
    'f', 'o', 'r', 'm', 'a', 't', 0,
    '_', '_', 'g', 'e', '_', '_', 0,
    '_', '_', 'l', 't', '_', '_', 0,
    'o', 'b', 'j', 'e', 'c', 't', 0,
    'p', 'a', 'r', 'e', 'n', 't', 0,
    '_', '_', 'n', 'e', '_', '_', 0,
    '_', '_', 'e', 'q', '_', '_', 0,
    '_', '_', 'o', 'r', '_', '_', 0,
    'r', 'e', 'p', 'l', 'y', 0,
    'O', 't', 'h', 'e', 'r', 0,
    'Q', 'D', 'B', 'u', 's', 0,
    'v', 'a', 'l', 'u', 'e', 0,
    'e', 'r', 'r', 'o', 'r', 0,
    'f', 'l', 'a', 'g', 's', 0,
    'e', 'v', 'e', 'n', 't', 0,
    'm', 's', 'e', 'c', 's', 0,
    's', 'e', 'n', 'd', 0,
    'c', 'a', 'l', 'l', 0,
    'a', 'r', 'g', '8', 0,
    'a', 'r', 'g', '7', 0,
    'a', 'r', 'g', '6', 0,
    'a', 'r', 'g', '5', 0,
    'a', 'r', 'g', '4', 0,
    'a', 'r', 'g', '3', 0,
    'a', 'r', 'g', '2', 0,
    'a', 'r', 'g', '1', 0,
    'm', 'o', 'd', 'e', 0,
    'n', 'a', 'm', 'e', 0,
    'b', 'a', 's', 'e', 0,
    'f', 'r', 'o', 'm', 0,
    's', 'o', 'r', 't', 0,
    'p', 'a', 't', 'h', 0,
    't', 'y', 'p', 'e', 0,
    'a', 'd', 'd', 0,
};
#line 265 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusabstractinterface.sip"
// Imports from QtCore.
pyqt4_qtdbus_from_qvariant_by_type_t pyqt4_qtdbus_from_qvariant_by_type;
pyqt4_qtdbus_get_pyqtslot_parts_t pyqt4_qtdbus_get_pyqtslot_parts;
pyqt4_qtdbus_get_slot_t pyqt4_qtdbus_get_slot;
#line 349 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

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

void sipVH_QtDBus_0(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const char*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "S", a0);
}


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

#line 32 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusabstractinterface.sip"
    static struct class_graph {
        const char *name;
        sipTypeDef **type;
        int yes, no;
    } graph[] = {
        {sipName_QDBusPendingCallWatcher, &sipType_QDBusPendingCallWatcher, -1, 1},
        {sipName_QDBusAbstractInterface, &sipType_QDBusAbstractInterface, 4, 2},
        {sipName_QDBusServiceWatcher, &sipType_QDBusServiceWatcher, -1, 3},
        {sipName_QDBusAbstractAdaptor, &sipType_QDBusAbstractAdaptor, -1, -1},
        {sipName_QDBusConnectionInterface, &sipType_QDBusConnectionInterface, -1, 5},
        {sipName_QDBusInterface, &sipType_QDBusInterface, -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 430 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

    return sipType;
}


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

    {
         ::QDBusServiceWatcher::WatchModeFlag a0;
         ::QDBusServiceWatcher::WatchMode* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QDBusServiceWatcher_WatchModeFlag, &a0, sipType_QDBusServiceWatcher_WatchMode, &a1, &a1State))
        {
             ::QDBusServiceWatcher::WatchMode*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusServiceWatcher::WatchMode((a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_QDBusServiceWatcher_WatchMode,a1State);

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

    {
         ::QDBusServiceWatcher::WatchModeFlag a0;
         ::QDBusServiceWatcher::WatchModeFlag a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EE", sipType_QDBusServiceWatcher_WatchModeFlag, &a0, sipType_QDBusServiceWatcher_WatchModeFlag, &a1))
        {
             ::QDBusServiceWatcher::WatchMode*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusServiceWatcher::WatchMode((a0 | a1));
            Py_END_ALLOW_THREADS

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
         ::QDBusConnection::RegisterOption a0;
         ::QDBusConnection::RegisterOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QDBusConnection_RegisterOption, &a0, sipType_QDBusConnection_RegisterOptions, &a1, &a1State))
        {
             ::QDBusConnection::RegisterOptions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusConnection::RegisterOptions((a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_QDBusConnection_RegisterOptions,a1State);

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

    {
         ::QDBusConnection::RegisterOption a0;
         ::QDBusConnection::RegisterOption a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EE", sipType_QDBusConnection_RegisterOption, &a0, sipType_QDBusConnection_RegisterOption, &a1))
        {
             ::QDBusConnection::RegisterOptions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusConnection::RegisterOptions((a0 | a1));
            Py_END_ALLOW_THREADS

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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

static sipEnumTypeDef enumTypes[] = {
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDBusServiceWatcher__WatchModeFlag, {0}, 0}, sipNameNr_WatchModeFlag, 30, slots_QDBusServiceWatcher_WatchModeFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDBusMessage__MessageType, {0}, 0}, sipNameNr_MessageType, 19, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDBusError__ErrorType, {0}, 0}, sipNameNr_ErrorType, 16, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDBusConnectionInterface__RegisterServiceReply, {0}, 0}, sipNameNr_RegisterServiceReply, 12, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDBusConnectionInterface__ServiceReplacementOptions, {0}, 0}, sipNameNr_ServiceReplacementOptions, 12, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDBusConnectionInterface__ServiceQueueOptions, {0}, 0}, sipNameNr_ServiceQueueOptions, 12, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDBusConnection__ConnectionCapability, {0}, 0}, sipNameNr_ConnectionCapability, 5, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDBusConnection__UnregisterMode, {0}, 0}, sipNameNr_UnregisterMode, 5, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDBusConnection__RegisterOption, {0}, 0}, sipNameNr_RegisterOption, 5, slots_QDBusConnection_RegisterOption},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDBusConnection__BusType, {0}, 0}, sipNameNr_BusType, 5, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDBus__CallMode, {0}, 0}, sipNameNr_CallMode, 0, NULL},
};


/*
 * This defines each type in this module.
 */
sipTypeDef *sipExportedTypes_QtDBus[] = {
    &sipTypeDef_QtDBus_QDBus.ctd_base,
    &enumTypes[10].etd_base,
    &sipTypeDef_QtDBus_QDBusAbstractAdaptor.ctd_base,
    &sipTypeDef_QtDBus_QDBusAbstractInterface.ctd_base,
    &sipTypeDef_QtDBus_QDBusArgument.ctd_base,
    &sipTypeDef_QtDBus_QDBusConnection.ctd_base,
    &enumTypes[9].etd_base,
    &sipTypeDef_QtDBus_QDBusConnection_ConnectionCapabilities.ctd_base,
    &enumTypes[6].etd_base,
    &enumTypes[8].etd_base,
    &sipTypeDef_QtDBus_QDBusConnection_RegisterOptions.ctd_base,
    &enumTypes[7].etd_base,
    &sipTypeDef_QtDBus_QDBusConnectionInterface.ctd_base,
    &enumTypes[3].etd_base,
    &enumTypes[5].etd_base,
    &enumTypes[4].etd_base,
    &sipTypeDef_QtDBus_QDBusError.ctd_base,
    &enumTypes[2].etd_base,
    &sipTypeDef_QtDBus_QDBusInterface.ctd_base,
    &sipTypeDef_QtDBus_QDBusMessage.ctd_base,
    &enumTypes[1].etd_base,
    &sipTypeDef_QtDBus_QDBusObjectPath.ctd_base,
    &sipTypeDef_QtDBus_QDBusPendingCall.ctd_base,
    &sipTypeDef_QtDBus_QDBusPendingCallWatcher.ctd_base,
    &sipTypeDef_QtDBus_QDBusReply_0100QDBusConnectionInterface_RegisterServiceReply.mtd_base,
    &sipTypeDef_QtDBus_QDBusReply_0100QString.mtd_base,
    &sipTypeDef_QtDBus_QDBusReply_0100QStringList.mtd_base,
    &sipTypeDef_QtDBus_QDBusReply_2600.mtd_base,
    &sipTypeDef_QtDBus_QDBusReply_1900.mtd_base,
    &sipTypeDef_QtDBus_QDBusReply_0400.mtd_base,
    &sipTypeDef_QtDBus_QDBusServiceWatcher.ctd_base,
    &sipTypeDef_QtDBus_QDBusServiceWatcher_WatchMode.ctd_base,
    &enumTypes[0].etd_base,
    &sipTypeDef_QtDBus_QDBusSignature.ctd_base,
    &sipTypeDef_QtDBus_QDBusUnixFileDescriptor.ctd_base,
    &sipTypeDef_QtDBus_QDBusVariant.ctd_base,
    &sipTypeDef_QtDBus_QPyDBusPendingReply.ctd_base,
    &sipTypeDef_QtDBus_QPyDBusReply.ctd_base,
};


/* This defines the types that this module needs to import from QtCore. */
sipImportedTypeDef sipImportedTypes_QtDBus_QtCore[] = {
    {"QByteArray"},
    {"QChildEvent"},
    {"QEvent"},
    {"QList<QVariant>"},
    {"QObject"},
    {"QString"},
    {"QStringList"},
    {"QTimerEvent"},
    {"QVariant"},
    {NULL}
};


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


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


/* This defines this module. */
sipExportedModuleDef sipModuleAPI_QtDBus = {
    0,
    SIP_API_MINOR_NR,
    sipNameNr_PyQt4_QtDBus,
    0,
    sipStrings_QtDBus,
    importsTable,
    NULL,
    38,
    sipExportedTypes_QtDBus,
    NULL,
    0,
    NULL,
    0,
    NULL,
    NULL,
    convertorsTable,
    {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL},
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL
};


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

sip_qt_metaobject_func sip_QtDBus_qt_metaobject;
sip_qt_metacall_func sip_QtDBus_qt_metacall;
sip_qt_metacast_func sip_QtDBus_qt_metacast;


/* The Python module initialisation function. */
#if PY_MAJOR_VERSION >= 3
#define SIP_MODULE_ENTRY        PyInit_QtDBus
#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        initQtDBus
#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.QtDBus",
        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_QtDBus, sip_methods);
#else
    sipModule = Py_InitModule(const_cast<char *>(sipName_PyQt4_QtDBus), 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("PyQt4.sip");
#else
    sip_sipmod = PyImport_ImportModule(const_cast<char *>("PyQt4.sip"));
#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_QtDBus = reinterpret_cast<const sipAPIDef *>(PyCapsule_GetPointer(sip_capiobj, "PyQt4.sip._C_API"));
#else
    sipAPI_QtDBus = reinterpret_cast<const sipAPIDef *>(PyCObject_AsVoidPtr(sip_capiobj));
#endif

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

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

    sip_QtDBus_qt_metaobject = (sip_qt_metaobject_func)sipImportSymbol("qtcore_qt_metaobject");
    sip_QtDBus_qt_metacall = (sip_qt_metacall_func)sipImportSymbol("qtcore_qt_metacall");
    sip_QtDBus_qt_metacast = (sip_qt_metacast_func)sipImportSymbol("qtcore_qt_metacast");

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

    /* Initialise the module now all its dependencies have been set up. */
    if (sipInitModule(&sipModuleAPI_QtDBus,sipModuleDict) < 0)
    {
        SIP_MODULE_DISCARD(sipModule);
        SIP_MODULE_RETURN(0);
    }
#line 272 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusabstractinterface.sip"
// Imports from QtCore.
pyqt4_qtdbus_from_qvariant_by_type = (pyqt4_qtdbus_from_qvariant_by_type_t)sipImportSymbol("pyqt4_from_qvariant_by_type");
Q_ASSERT(pyqt4_qtdbus_from_qvariant_by_type);

pyqt4_qtdbus_get_pyqtslot_parts = (pyqt4_qtdbus_get_pyqtslot_parts_t)sipImportSymbol("pyqt4_get_pyqtslot_parts");
Q_ASSERT(pyqt4_qtdbus_get_pyqtslot_parts);

pyqt4_qtdbus_get_slot = (pyqt4_qtdbus_get_slot_t)sipImportSymbol("pyqt4_get_slot");
Q_ASSERT(pyqt4_qtdbus_get_slot);

qpydbus_post_init();
#line 797 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

    SIP_MODULE_RETURN(sipModule);
}

#line 46 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qpydbusreply.sip"
#include <qdbusreply.h>
#include <qpydbusreply.h>
#line 805 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

#line 68 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 809 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 27 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 812 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"


extern "C" {static void assign_QDBusReply_0100QString(void *, SIP_SSIZE_T, void *);}
static void assign_QDBusReply_0100QString(void *sipDst, SIP_SSIZE_T sipDstIdx, void *sipSrc)
{
    reinterpret_cast<QDBusReply< ::QString> *>(sipDst)[sipDstIdx] = *reinterpret_cast<QDBusReply< ::QString> *>(sipSrc);
}


extern "C" {static void *array_QDBusReply_0100QString(SIP_SSIZE_T);}
static void *array_QDBusReply_0100QString(SIP_SSIZE_T sipNrElem)
{
    return new QDBusReply< ::QString>[sipNrElem];
}


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


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



extern "C" {static int convertTo_QDBusReply_0100QString(PyObject *, void **, int *, PyObject *);}
static int convertTo_QDBusReply_0100QString(PyObject *,void **,int *,PyObject *)
{
#line 84 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qpydbusreply.sip"
    // We never create a QDBusReply from Python.
    return 0;
#line 853 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
}


extern "C" {static PyObject *convertFrom_QDBusReply_0100QString(void *, PyObject *);}
static PyObject *convertFrom_QDBusReply_0100QString(void *sipCppV, PyObject *sipTransferObj)
{
   QDBusReply< ::QString> *sipCpp = reinterpret_cast<QDBusReply< ::QString> *>(sipCppV);

#line 51 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qpydbusreply.sip"
    PyObject *value_obj;

    if (sipCpp->isValid())
    {
        // Convert the value to a Python object.
        QString *value = new QString(sipCpp->value());

        if ((value_obj = sipConvertFromNewType(value, sipType_QString, NULL)) == NULL)
        {
            delete value;
            return NULL;
        }
    }
    else
    {
        value_obj = 0;
    }

    QPyDBusReply *reply = new QPyDBusReply(value_obj,
            sipCpp->isValid(), sipCpp->error());

    PyObject *reply_obj = sipConvertFromNewType(reply, sipType_QPyDBusReply, sipTransferObj);

    if (reply_obj == NULL)
    {
        delete reply;
        return NULL;
    }

    return reply_obj;
#line 893 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtDBus_QDBusReply_0100QString = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_1225,     /* QDBusReply<QString> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QDBusReply_0100QString,
    array_QDBusReply_0100QString,
    copy_QDBusReply_0100QString,
    release_QDBusReply_0100QString,
    convertTo_QDBusReply_0100QString,
    convertFrom_QDBusReply_0100QString
};

#line 46 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qpydbusreply.sip"
#include <qdbusreply.h>
#include <qpydbusreply.h>
#line 926 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

#line 47 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 930 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 27 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 933 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"


extern "C" {static void assign_QDBusReply_0100QStringList(void *, SIP_SSIZE_T, void *);}
static void assign_QDBusReply_0100QStringList(void *sipDst, SIP_SSIZE_T sipDstIdx, void *sipSrc)
{
    reinterpret_cast<QDBusReply< ::QStringList> *>(sipDst)[sipDstIdx] = *reinterpret_cast<QDBusReply< ::QStringList> *>(sipSrc);
}


extern "C" {static void *array_QDBusReply_0100QStringList(SIP_SSIZE_T);}
static void *array_QDBusReply_0100QStringList(SIP_SSIZE_T sipNrElem)
{
    return new QDBusReply< ::QStringList>[sipNrElem];
}


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


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



extern "C" {static int convertTo_QDBusReply_0100QStringList(PyObject *, void **, int *, PyObject *);}
static int convertTo_QDBusReply_0100QStringList(PyObject *,void **,int *,PyObject *)
{
#line 84 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qpydbusreply.sip"
    // We never create a QDBusReply from Python.
    return 0;
#line 974 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
}


extern "C" {static PyObject *convertFrom_QDBusReply_0100QStringList(void *, PyObject *);}
static PyObject *convertFrom_QDBusReply_0100QStringList(void *sipCppV, PyObject *sipTransferObj)
{
   QDBusReply< ::QStringList> *sipCpp = reinterpret_cast<QDBusReply< ::QStringList> *>(sipCppV);

#line 51 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qpydbusreply.sip"
    PyObject *value_obj;

    if (sipCpp->isValid())
    {
        // Convert the value to a Python object.
        QStringList *value = new QStringList(sipCpp->value());

        if ((value_obj = sipConvertFromNewType(value, sipType_QStringList, NULL)) == NULL)
        {
            delete value;
            return NULL;
        }
    }
    else
    {
        value_obj = 0;
    }

    QPyDBusReply *reply = new QPyDBusReply(value_obj,
            sipCpp->isValid(), sipCpp->error());

    PyObject *reply_obj = sipConvertFromNewType(reply, sipType_QPyDBusReply, sipTransferObj);

    if (reply_obj == NULL)
    {
        delete reply;
        return NULL;
    }

    return reply_obj;
#line 1014 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtDBus_QDBusReply_0100QStringList = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_821,     /* QDBusReply<QStringList> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QDBusReply_0100QStringList,
    array_QDBusReply_0100QStringList,
    copy_QDBusReply_0100QStringList,
    release_QDBusReply_0100QStringList,
    convertTo_QDBusReply_0100QStringList,
    convertFrom_QDBusReply_0100QStringList
};

#line 205 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qpydbusreply.sip"
#include <qdbusreply.h>
#include <qpydbusreply.h>
#line 1047 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusconnectioninterface.sip"
#include <qdbusconnectioninterface.h>
#line 1051 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"


extern "C" {static void assign_QDBusReply_0100QDBusConnectionInterface_RegisterServiceReply(void *, SIP_SSIZE_T, void *);}
static void assign_QDBusReply_0100QDBusConnectionInterface_RegisterServiceReply(void *sipDst, SIP_SSIZE_T sipDstIdx, void *sipSrc)
{
    reinterpret_cast< ::QDBusReply< ::QDBusConnectionInterface::RegisterServiceReply> *>(sipDst)[sipDstIdx] = *reinterpret_cast< ::QDBusReply< ::QDBusConnectionInterface::RegisterServiceReply> *>(sipSrc);
}


extern "C" {static void *array_QDBusReply_0100QDBusConnectionInterface_RegisterServiceReply(SIP_SSIZE_T);}
static void *array_QDBusReply_0100QDBusConnectionInterface_RegisterServiceReply(SIP_SSIZE_T sipNrElem)
{
    return new  ::QDBusReply< ::QDBusConnectionInterface::RegisterServiceReply>[sipNrElem];
}


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


/* Call the mapped type's destructor. */
extern "C" {static void release_QDBusReply_0100QDBusConnectionInterface_RegisterServiceReply(void *, int);}
static void release_QDBusReply_0100QDBusConnectionInterface_RegisterServiceReply(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast< ::QDBusReply< ::QDBusConnectionInterface::RegisterServiceReply> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QDBusReply_0100QDBusConnectionInterface_RegisterServiceReply(PyObject *, void **, int *, PyObject *);}
static int convertTo_QDBusReply_0100QDBusConnectionInterface_RegisterServiceReply(PyObject *,void **,int *,PyObject *)
{
#line 237 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qpydbusreply.sip"
    // We never create a QDBusReply from Python.
    return 0;
#line 1092 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
}


extern "C" {static PyObject *convertFrom_QDBusReply_0100QDBusConnectionInterface_RegisterServiceReply(void *, PyObject *);}
static PyObject *convertFrom_QDBusReply_0100QDBusConnectionInterface_RegisterServiceReply(void *sipCppV, PyObject *sipTransferObj)
{
    ::QDBusReply< ::QDBusConnectionInterface::RegisterServiceReply> *sipCpp = reinterpret_cast< ::QDBusReply< ::QDBusConnectionInterface::RegisterServiceReply> *>(sipCppV);

#line 210 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qpydbusreply.sip"
    PyObject *value_obj;

    if (sipCpp->isValid())
    {
        if ((value_obj = sipConvertFromEnum(sipCpp->value(), sipType_QDBusConnectionInterface_RegisterServiceReply)) == NULL)
            return NULL;
    }
    else
    {
        value_obj = 0;
    }

    QPyDBusReply *reply = new QPyDBusReply(value_obj,
            sipCpp->isValid(), sipCpp->error());

    PyObject *reply_obj = sipConvertFromNewType(reply, sipType_QPyDBusReply, sipTransferObj);

    if (reply_obj == NULL)
    {
        delete reply;
        return NULL;
    }

    return reply_obj;
#line 1126 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtDBus_QDBusReply_0100QDBusConnectionInterface_RegisterServiceReply = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_0,     /* QDBusReply<QDBusConnectionInterface::RegisterServiceReply> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QDBusReply_0100QDBusConnectionInterface_RegisterServiceReply,
    array_QDBusReply_0100QDBusConnectionInterface_RegisterServiceReply,
    copy_QDBusReply_0100QDBusConnectionInterface_RegisterServiceReply,
    release_QDBusReply_0100QDBusConnectionInterface_RegisterServiceReply,
    convertTo_QDBusReply_0100QDBusConnectionInterface_RegisterServiceReply,
    convertFrom_QDBusReply_0100QDBusConnectionInterface_RegisterServiceReply
};

#line 164 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qpydbusreply.sip"
#include <qdbusreply.h>
#include <qpydbusreply.h>
#line 1159 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"



extern "C" {static void assign_QDBusReply_1900(void *, SIP_SSIZE_T, void *);}
static void assign_QDBusReply_1900(void *sipDst, SIP_SSIZE_T sipDstIdx, void *sipSrc)
{
    reinterpret_cast< ::QDBusReply<uint> *>(sipDst)[sipDstIdx] = *reinterpret_cast< ::QDBusReply<uint> *>(sipSrc);
}


extern "C" {static void *array_QDBusReply_1900(SIP_SSIZE_T);}
static void *array_QDBusReply_1900(SIP_SSIZE_T sipNrElem)
{
    return new  ::QDBusReply<uint>[sipNrElem];
}


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


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



extern "C" {static int convertTo_QDBusReply_1900(PyObject *, void **, int *, PyObject *);}
static int convertTo_QDBusReply_1900(PyObject *,void **,int *,PyObject *)
{
#line 196 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qpydbusreply.sip"
    // We never create a QDBusReply from Python.
    return 0;
#line 1201 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
}


extern "C" {static PyObject *convertFrom_QDBusReply_1900(void *, PyObject *);}
static PyObject *convertFrom_QDBusReply_1900(void *sipCppV, PyObject *sipTransferObj)
{
    ::QDBusReply<uint> *sipCpp = reinterpret_cast< ::QDBusReply<uint> *>(sipCppV);

#line 169 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qpydbusreply.sip"
    PyObject *value_obj;

    if (sipCpp->isValid())
    {
        if ((value_obj = PyLong_FromUnsignedLong(sipCpp->value())) == NULL)
            return NULL;
    }
    else
    {
        value_obj = 0;
    }

    QPyDBusReply *reply = new QPyDBusReply(value_obj,
            sipCpp->isValid(), sipCpp->error());

    PyObject *reply_obj = sipConvertFromNewType(reply, sipType_QPyDBusReply, sipTransferObj);

    if (reply_obj == NULL)
    {
        delete reply;
        return NULL;
    }

    return reply_obj;
#line 1235 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtDBus_QDBusReply_1900 = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_1737,     /* QDBusReply<uint> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QDBusReply_1900,
    array_QDBusReply_1900,
    copy_QDBusReply_1900,
    release_QDBusReply_1900,
    convertTo_QDBusReply_1900,
    convertFrom_QDBusReply_1900
};

#line 123 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qpydbusreply.sip"
#include <qdbusreply.h>
#include <qpydbusreply.h>
#line 1268 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"



extern "C" {static void assign_QDBusReply_2600(void *, SIP_SSIZE_T, void *);}
static void assign_QDBusReply_2600(void *sipDst, SIP_SSIZE_T sipDstIdx, void *sipSrc)
{
    reinterpret_cast< ::QDBusReply<bool> *>(sipDst)[sipDstIdx] = *reinterpret_cast< ::QDBusReply<bool> *>(sipSrc);
}


extern "C" {static void *array_QDBusReply_2600(SIP_SSIZE_T);}
static void *array_QDBusReply_2600(SIP_SSIZE_T sipNrElem)
{
    return new  ::QDBusReply<bool>[sipNrElem];
}


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


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



extern "C" {static int convertTo_QDBusReply_2600(PyObject *, void **, int *, PyObject *);}
static int convertTo_QDBusReply_2600(PyObject *,void **,int *,PyObject *)
{
#line 155 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qpydbusreply.sip"
    // We never create a QDBusReply from Python.
    return 0;
#line 1310 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
}


extern "C" {static PyObject *convertFrom_QDBusReply_2600(void *, PyObject *);}
static PyObject *convertFrom_QDBusReply_2600(void *sipCppV, PyObject *sipTransferObj)
{
    ::QDBusReply<bool> *sipCpp = reinterpret_cast< ::QDBusReply<bool> *>(sipCppV);

#line 128 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qpydbusreply.sip"
    PyObject *value_obj;

    if (sipCpp->isValid())
    {
        if ((value_obj = PyBool_FromLong(sipCpp->value())) == NULL)
            return NULL;
    }
    else
    {
        value_obj = 0;
    }

    QPyDBusReply *reply = new QPyDBusReply(value_obj,
            sipCpp->isValid(), sipCpp->error());

    PyObject *reply_obj = sipConvertFromNewType(reply, sipType_QPyDBusReply, sipTransferObj);

    if (reply_obj == NULL)
    {
        delete reply;
        return NULL;
    }

    return reply_obj;
#line 1344 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtDBus_QDBusReply_2600 = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_1754,     /* QDBusReply<bool> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QDBusReply_2600,
    array_QDBusReply_2600,
    copy_QDBusReply_2600,
    release_QDBusReply_2600,
    convertTo_QDBusReply_2600,
    convertFrom_QDBusReply_2600
};

#line 93 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qpydbusreply.sip"
#include <qdbusreply.h>
#include <qpydbusreply.h>
#line 1377 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"



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


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


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


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



extern "C" {static int convertTo_QDBusReply_0400(PyObject *, void **, int *, PyObject *);}
static int convertTo_QDBusReply_0400(PyObject *,void **,int *,PyObject *)
{
#line 114 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qpydbusreply.sip"
    // We never create a QDBusReply from Python.
    return 0;
#line 1419 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
}


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

#line 98 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qpydbusreply.sip"
    Py_INCREF(Py_None);
    QPyDBusReply *reply = new QPyDBusReply(Py_None,
            sipCpp->isValid(), sipCpp->error());

    PyObject *reply_obj = sipConvertFromNewType(reply, sipType_QPyDBusReply, sipTransferObj);

    if (reply_obj == NULL)
    {
        delete reply;
        return NULL;
    }

    return reply_obj;
#line 1442 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtDBus_QDBusReply_0400 = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_1771,     /* QDBusReply<void> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QDBusReply_0400,
    array_QDBusReply_0400,
    copy_QDBusReply_0400,
    release_QDBusReply_0400,
    convertTo_QDBusReply_0400,
    convertFrom_QDBusReply_0400
};

#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qpydbusreply.sip"
#include <qpydbusreply.h>
#line 1474 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusmessage.sip"
#include <qdbusmessage.h>
#line 1478 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbuspendingcall.sip"
#include <qdbuspendingcall.h>
#line 1481 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbuserror.sip"
#include <qdbuserror.h>
#line 1484 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"


PyDoc_STRVAR(doc_QPyDBusReply_error, "error(self) -> QDBusError");

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

    {
        const  ::QPyDBusReply *sipCpp;

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

            sipRes = new  ::QDBusError(sipCpp->error());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusReply, sipName_error, doc_QPyDBusReply_error);

    return NULL;
}


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

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

    {
        const  ::QPyDBusReply *sipCpp;

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

            sipRes = sipCpp->isValid();

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QPyDBusReply_value, "value(self, type: object = None) -> object");

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

    {
        PyObject * a0 = 0;
        const  ::QPyDBusReply *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|P0", &sipSelf, sipType_QPyDBusReply, &sipCpp, &a0))
        {
            PyObject * sipRes;

            sipRes = sipCpp->value(a0);

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusReply, sipName_value, doc_QPyDBusReply_value);

    return NULL;
}


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


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


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

    {
        const  ::QDBusMessage* a0;

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

            return sipCpp;
        }
    }

    {
        const  ::QDBusPendingCall* a0;

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

            return sipCpp;
        }
    }

    {
        const  ::QDBusError* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDBusError, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::QPyDBusReply(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const  ::QPyDBusReply* a0;

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

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QPyDBusReply[] = {
    {SIP_MLNAME_CAST(sipName_error), meth_QPyDBusReply_error, METH_VARARGS, SIP_MLDOC_CAST(doc_QPyDBusReply_error)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QPyDBusReply_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QPyDBusReply_isValid)},
    {SIP_MLNAME_CAST(sipName_value), (PyCFunction)meth_QPyDBusReply_value, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPyDBusReply_value)}
};

PyDoc_STRVAR(doc_QPyDBusReply, "\1QDBusReply(QDBusMessage)\n"
"QDBusReply(QDBusPendingCall)\n"
"QDBusReply(QDBusError)\n"
"QDBusReply(QDBusReply)");


static pyqt4ClassPluginDef plugin_QPyDBusReply = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtDBus_QPyDBusReply = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QPyDBusReply,
        {0},
        &plugin_QPyDBusReply
    },
    {
        sipNameNr_QDBusReply,
        {0, 0, 1},
        3, methods_QPyDBusReply,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QPyDBusReply,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QPyDBusReply,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QPyDBusReply,
    0,
    0,
    0,
    release_QPyDBusReply,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qpydbuspendingreply.sip"
#include <qpydbuspendingreply.h>
#line 1723 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbuspendingcall.sip"
#include <qdbuspendingcall.h>
#line 1727 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusmessage.sip"
#include <qdbusmessage.h>
#line 1730 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbuserror.sip"
#include <qdbuserror.h>
#line 1733 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 265 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1736 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"


PyDoc_STRVAR(doc_QPyDBusPendingReply_argumentAt, "argumentAt(self, int) -> Any");

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

    {
        int a0;
        const  ::QPyDBusPendingReply *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QVariant(sipCpp->argumentAt(a0));
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusPendingReply, sipName_argumentAt, doc_QPyDBusPendingReply_argumentAt);

    return NULL;
}


PyDoc_STRVAR(doc_QPyDBusPendingReply_error, "error(self) -> QDBusError");

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

    {
        const  ::QPyDBusPendingReply *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusError(sipCpp->error());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusPendingReply, sipName_error, doc_QPyDBusPendingReply_error);

    return NULL;
}


PyDoc_STRVAR(doc_QPyDBusPendingReply_isError, "isError(self) -> bool");

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

    {
        const  ::QPyDBusPendingReply *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPyDBusPendingReply, &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_QDBusPendingReply, sipName_isError, doc_QPyDBusPendingReply_isError);

    return NULL;
}


PyDoc_STRVAR(doc_QPyDBusPendingReply_isFinished, "isFinished(self) -> bool");

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

    {
        const  ::QPyDBusPendingReply *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isFinished();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusPendingReply, sipName_isFinished, doc_QPyDBusPendingReply_isFinished);

    return NULL;
}


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

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

    {
        const  ::QPyDBusPendingReply *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPyDBusPendingReply, &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_QDBusPendingReply, sipName_isValid, doc_QPyDBusPendingReply_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QPyDBusPendingReply_reply, "reply(self) -> QDBusMessage");

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

    {
        const  ::QPyDBusPendingReply *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusMessage(sipCpp->reply());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusPendingReply, sipName_reply, doc_QPyDBusPendingReply_reply);

    return NULL;
}


PyDoc_STRVAR(doc_QPyDBusPendingReply_waitForFinished, "waitForFinished(self)");

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

    {
         ::QPyDBusPendingReply *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPyDBusPendingReply, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->waitForFinished();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusPendingReply, sipName_waitForFinished, doc_QPyDBusPendingReply_waitForFinished);

    return NULL;
}


PyDoc_STRVAR(doc_QPyDBusPendingReply_value, "value(self, type: object = None) -> object");

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

    {
        PyObject * a0 = 0;
        const  ::QPyDBusPendingReply *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|P0", &sipSelf, sipType_QPyDBusPendingReply, &sipCpp, &a0))
        {
            PyObject * sipRes;

            sipRes = sipCpp->value(a0);

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusPendingReply, sipName_value, doc_QPyDBusPendingReply_value);

    return NULL;
}


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

    if (targetType == sipType_QDBusPendingCall)
        return static_cast< ::QDBusPendingCall *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QPyDBusPendingReply(void *, int);}
static void release_QPyDBusPendingReply(void *sipCppV, int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast< ::QPyDBusPendingReply *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


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


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

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

            return sipCpp;
        }
    }

    {
        const  ::QPyDBusPendingReply* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QPyDBusPendingReply, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::QPyDBusPendingReply(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const  ::QDBusPendingCall* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDBusPendingCall, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::QPyDBusPendingReply(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const  ::QDBusMessage* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDBusMessage, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::QPyDBusPendingReply(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QPyDBusPendingReply[] = {{22, 255, 1}};


static PyMethodDef methods_QPyDBusPendingReply[] = {
    {SIP_MLNAME_CAST(sipName_argumentAt), meth_QPyDBusPendingReply_argumentAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QPyDBusPendingReply_argumentAt)},
    {SIP_MLNAME_CAST(sipName_error), meth_QPyDBusPendingReply_error, METH_VARARGS, SIP_MLDOC_CAST(doc_QPyDBusPendingReply_error)},
    {SIP_MLNAME_CAST(sipName_isError), meth_QPyDBusPendingReply_isError, METH_VARARGS, SIP_MLDOC_CAST(doc_QPyDBusPendingReply_isError)},
    {SIP_MLNAME_CAST(sipName_isFinished), meth_QPyDBusPendingReply_isFinished, METH_VARARGS, SIP_MLDOC_CAST(doc_QPyDBusPendingReply_isFinished)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QPyDBusPendingReply_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QPyDBusPendingReply_isValid)},
    {SIP_MLNAME_CAST(sipName_reply), meth_QPyDBusPendingReply_reply, METH_VARARGS, SIP_MLDOC_CAST(doc_QPyDBusPendingReply_reply)},
    {SIP_MLNAME_CAST(sipName_value), (PyCFunction)meth_QPyDBusPendingReply_value, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPyDBusPendingReply_value)},
    {SIP_MLNAME_CAST(sipName_waitForFinished), meth_QPyDBusPendingReply_waitForFinished, METH_VARARGS, SIP_MLDOC_CAST(doc_QPyDBusPendingReply_waitForFinished)}
};

PyDoc_STRVAR(doc_QPyDBusPendingReply, "\1QDBusPendingReply()\n"
"QDBusPendingReply(QDBusPendingReply)\n"
"QDBusPendingReply(QDBusPendingCall)\n"
"QDBusPendingReply(QDBusMessage)");


static pyqt4ClassPluginDef plugin_QPyDBusPendingReply = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtDBus_QPyDBusPendingReply = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QPyDBusPendingReply,
        {0},
        &plugin_QPyDBusPendingReply
    },
    {
        sipNameNr_QDBusPendingReply,
        {0, 0, 1},
        8, methods_QPyDBusPendingReply,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QPyDBusPendingReply,
    -1,
    -1,
    supers_QPyDBusPendingReply,
    0,
    init_type_QPyDBusPendingReply,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QPyDBusPendingReply,
    assign_QPyDBusPendingReply,
    array_QPyDBusPendingReply,
    copy_QPyDBusPendingReply,
    release_QPyDBusPendingReply,
    cast_QPyDBusPendingReply,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusunixfiledescriptor.sip"
#include <qdbusunixfiledescriptor.h>
#line 2180 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"



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

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

    {
        const  ::QDBusUnixFileDescriptor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDBusUnixFileDescriptor, &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_QDBusUnixFileDescriptor, sipName_isValid, doc_QDBusUnixFileDescriptor_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusUnixFileDescriptor_fileDescriptor, "fileDescriptor(self) -> int");

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

    {
        const  ::QDBusUnixFileDescriptor *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->fileDescriptor();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusUnixFileDescriptor, sipName_fileDescriptor, doc_QDBusUnixFileDescriptor_fileDescriptor);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusUnixFileDescriptor_setFileDescriptor, "setFileDescriptor(self, int)");

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

    {
        int a0;
         ::QDBusUnixFileDescriptor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QDBusUnixFileDescriptor, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFileDescriptor(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_QDBusUnixFileDescriptor, sipName_setFileDescriptor, doc_QDBusUnixFileDescriptor_setFileDescriptor);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusUnixFileDescriptor_isSupported, "isSupported() -> bool");

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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::QDBusUnixFileDescriptor::isSupported();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusUnixFileDescriptor, sipName_isSupported, doc_QDBusUnixFileDescriptor_isSupported);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDBusUnixFileDescriptor(void *, int);}
static void release_QDBusUnixFileDescriptor(void *sipCppV, int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast< ::QDBusUnixFileDescriptor *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


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


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

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

            return sipCpp;
        }
    }

    {
        int a0;

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

            return sipCpp;
        }
    }

    {
        const  ::QDBusUnixFileDescriptor* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDBusUnixFileDescriptor, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::QDBusUnixFileDescriptor(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QDBusUnixFileDescriptor[] = {
    {SIP_MLNAME_CAST(sipName_fileDescriptor), meth_QDBusUnixFileDescriptor_fileDescriptor, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusUnixFileDescriptor_fileDescriptor)},
    {SIP_MLNAME_CAST(sipName_isSupported), meth_QDBusUnixFileDescriptor_isSupported, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusUnixFileDescriptor_isSupported)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QDBusUnixFileDescriptor_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusUnixFileDescriptor_isValid)},
    {SIP_MLNAME_CAST(sipName_setFileDescriptor), meth_QDBusUnixFileDescriptor_setFileDescriptor, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusUnixFileDescriptor_setFileDescriptor)}
};

PyDoc_STRVAR(doc_QDBusUnixFileDescriptor, "\1QDBusUnixFileDescriptor()\n"
"QDBusUnixFileDescriptor(int)\n"
"QDBusUnixFileDescriptor(QDBusUnixFileDescriptor)");


static pyqt4ClassPluginDef plugin_QDBusUnixFileDescriptor = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtDBus_QDBusUnixFileDescriptor = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDBusUnixFileDescriptor,
        {0},
        &plugin_QDBusUnixFileDescriptor
    },
    {
        sipNameNr_QDBusUnixFileDescriptor,
        {0, 0, 1},
        4, methods_QDBusUnixFileDescriptor,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDBusUnixFileDescriptor,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QDBusUnixFileDescriptor,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDBusUnixFileDescriptor,
    assign_QDBusUnixFileDescriptor,
    array_QDBusUnixFileDescriptor,
    copy_QDBusUnixFileDescriptor,
    release_QDBusUnixFileDescriptor,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusservicewatcher.sip"
#include <qdbusservicewatcher.h>
#line 2464 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusservicewatcher.sip"
#include <qdbusservicewatcher.h>
#line 2468 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"


extern "C" {static int slot_QDBusServiceWatcher_WatchMode___bool__(PyObject *);}
static int slot_QDBusServiceWatcher_WatchMode___bool__(PyObject *sipSelf)
{
     ::QDBusServiceWatcher::WatchMode *sipCpp = reinterpret_cast< ::QDBusServiceWatcher::WatchMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDBusServiceWatcher_WatchMode));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 381 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QDBusServiceWatcher::WatchMode::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 2490 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QDBusServiceWatcher_WatchMode___ne__(PyObject *,PyObject *);}
static PyObject *slot_QDBusServiceWatcher_WatchMode___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDBusServiceWatcher::WatchMode *sipCpp = reinterpret_cast< ::QDBusServiceWatcher::WatchMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDBusServiceWatcher_WatchMode));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QDBusServiceWatcher::WatchMode* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDBusServiceWatcher_WatchMode, &a0, &a0State))
        {
            bool sipRes = 0;

#line 372 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QDBusServiceWatcher::WatchMode::Int() != a0->operator QDBusServiceWatcher::WatchMode::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 2524 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
            sipReleaseType(const_cast< ::QDBusServiceWatcher::WatchMode *>(a0),sipType_QDBusServiceWatcher_WatchMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtDBus, ne_slot, sipType_QDBusServiceWatcher_WatchMode, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QDBusServiceWatcher_WatchMode___eq__(PyObject *,PyObject *);}
static PyObject *slot_QDBusServiceWatcher_WatchMode___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDBusServiceWatcher::WatchMode *sipCpp = reinterpret_cast< ::QDBusServiceWatcher::WatchMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDBusServiceWatcher_WatchMode));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QDBusServiceWatcher::WatchMode* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDBusServiceWatcher_WatchMode, &a0, &a0State))
        {
            bool sipRes = 0;

#line 363 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QDBusServiceWatcher::WatchMode::Int() == a0->operator QDBusServiceWatcher::WatchMode::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 2564 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
            sipReleaseType(const_cast< ::QDBusServiceWatcher::WatchMode *>(a0),sipType_QDBusServiceWatcher_WatchMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtDBus, eq_slot, sipType_QDBusServiceWatcher_WatchMode, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QDBusServiceWatcher_WatchMode___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QDBusServiceWatcher_WatchMode___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QDBusServiceWatcher_WatchMode)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QDBusServiceWatcher::WatchMode *sipCpp = reinterpret_cast< ::QDBusServiceWatcher::WatchMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDBusServiceWatcher_WatchMode));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 357 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qglobal.sip"
        *sipCpp = QDBusServiceWatcher::WatchMode(*sipCpp ^ a0);
#line 2603 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QDBusServiceWatcher::WatchMode* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QDBusServiceWatcher_WatchMode, &a0, &a0State, &a1))
        {
             ::QDBusServiceWatcher::WatchMode*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusServiceWatcher::WatchMode((*a0 ^ a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QDBusServiceWatcher_WatchMode,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtDBus, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QDBusServiceWatcher_WatchMode___ior__(PyObject *,PyObject *);}
static PyObject *slot_QDBusServiceWatcher_WatchMode___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QDBusServiceWatcher_WatchMode)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QDBusServiceWatcher::WatchMode *sipCpp = reinterpret_cast< ::QDBusServiceWatcher::WatchMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDBusServiceWatcher_WatchMode));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 351 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qglobal.sip"
        *sipCpp = QDBusServiceWatcher::WatchMode(*sipCpp | a0);
#line 2677 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QDBusServiceWatcher::WatchMode* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QDBusServiceWatcher_WatchMode, &a0, &a0State, &a1))
        {
             ::QDBusServiceWatcher::WatchMode*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusServiceWatcher::WatchMode((*a0 | a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QDBusServiceWatcher_WatchMode,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtDBus, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QDBusServiceWatcher_WatchMode___iand__(PyObject *,PyObject *);}
static PyObject *slot_QDBusServiceWatcher_WatchMode___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QDBusServiceWatcher_WatchMode)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QDBusServiceWatcher::WatchMode *sipCpp = reinterpret_cast< ::QDBusServiceWatcher::WatchMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDBusServiceWatcher_WatchMode));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp-> ::QDBusServiceWatcher::WatchMode::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QDBusServiceWatcher::WatchMode* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QDBusServiceWatcher_WatchMode, &a0, &a0State, &a1))
        {
             ::QDBusServiceWatcher::WatchMode*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusServiceWatcher::WatchMode((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QDBusServiceWatcher_WatchMode,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtDBus, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QDBusServiceWatcher_WatchMode___invert__(PyObject *);}
static PyObject *slot_QDBusServiceWatcher_WatchMode___invert__(PyObject *sipSelf)
{
     ::QDBusServiceWatcher::WatchMode *sipCpp = reinterpret_cast< ::QDBusServiceWatcher::WatchMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDBusServiceWatcher_WatchMode));

    if (!sipCpp)
        return 0;


    {
        {
             ::QDBusServiceWatcher::WatchMode*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusServiceWatcher::WatchMode(~(*sipCpp));
            Py_END_ALLOW_THREADS

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

    return 0;
}


extern "C" {static PyObject *slot_QDBusServiceWatcher_WatchMode___int__(PyObject *);}
static PyObject *slot_QDBusServiceWatcher_WatchMode___int__(PyObject *sipSelf)
{
     ::QDBusServiceWatcher::WatchMode *sipCpp = reinterpret_cast< ::QDBusServiceWatcher::WatchMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDBusServiceWatcher_WatchMode));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDBusServiceWatcher_WatchMode(void *, int);}
static void release_QDBusServiceWatcher_WatchMode(void *sipCppV, int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast< ::QDBusServiceWatcher::WatchMode *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_QDBusServiceWatcher_WatchMode(void *, SIP_SSIZE_T, void *);}
static void assign_QDBusServiceWatcher_WatchMode(void *sipDst, SIP_SSIZE_T sipDstIdx, void *sipSrc)
{
    reinterpret_cast< ::QDBusServiceWatcher::WatchMode *>(sipDst)[sipDstIdx] = *reinterpret_cast< ::QDBusServiceWatcher::WatchMode *>(sipSrc);
}


extern "C" {static void *array_QDBusServiceWatcher_WatchMode(SIP_SSIZE_T);}
static void *array_QDBusServiceWatcher_WatchMode(SIP_SSIZE_T sipNrElem)
{
    return new  ::QDBusServiceWatcher::WatchMode[sipNrElem];
}


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


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


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

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::QDBusServiceWatcher::WatchMode();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::QDBusServiceWatcher::WatchMode(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const  ::QDBusServiceWatcher::WatchMode* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QDBusServiceWatcher_WatchMode, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::QDBusServiceWatcher::WatchMode(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QDBusServiceWatcher::WatchMode *>(a0),sipType_QDBusServiceWatcher_WatchMode,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


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

#line 390 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QDBusServiceWatcher::WatchMode is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QDBusServiceWatcher_WatchModeFlag)) ||
            sipCanConvertToType(sipPy, sipType_QDBusServiceWatcher_WatchMode, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QDBusServiceWatcher_WatchModeFlag)))
{
    *sipCppPtr = new QDBusServiceWatcher::WatchMode(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QDBusServiceWatcher::WatchMode *>(sipConvertToType(sipPy, sipType_QDBusServiceWatcher_WatchMode, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 2965 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QDBusServiceWatcher_WatchMode[] = {
    {(void *)slot_QDBusServiceWatcher_WatchMode___bool__, bool_slot},
    {(void *)slot_QDBusServiceWatcher_WatchMode___ne__, ne_slot},
    {(void *)slot_QDBusServiceWatcher_WatchMode___eq__, eq_slot},
    {(void *)slot_QDBusServiceWatcher_WatchMode___ixor__, ixor_slot},
    {(void *)slot_QDBusServiceWatcher_WatchMode___xor__, xor_slot},
    {(void *)slot_QDBusServiceWatcher_WatchMode___ior__, ior_slot},
    {(void *)slot_QDBusServiceWatcher_WatchMode___or__, or_slot},
    {(void *)slot_QDBusServiceWatcher_WatchMode___iand__, iand_slot},
    {(void *)slot_QDBusServiceWatcher_WatchMode___and__, and_slot},
    {(void *)slot_QDBusServiceWatcher_WatchMode___invert__, invert_slot},
    {(void *)slot_QDBusServiceWatcher_WatchMode___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QDBusServiceWatcher_WatchMode, "\1QDBusServiceWatcher.WatchMode()\n"
"QDBusServiceWatcher.WatchMode(Union[QDBusServiceWatcher.WatchMode, QDBusServiceWatcher.WatchModeFlag])\n"
"QDBusServiceWatcher.WatchMode(QDBusServiceWatcher.WatchMode)");


static pyqt4ClassPluginDef plugin_QDBusServiceWatcher_WatchMode = {
    0,
    1,
    0
};


sipClassTypeDef sipTypeDef_QtDBus_QDBusServiceWatcher_WatchMode = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDBusServiceWatcher__WatchMode,
        {0},
        &plugin_QDBusServiceWatcher_WatchMode
    },
    {
        sipNameNr_WatchMode,
        {30, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDBusServiceWatcher_WatchMode,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QDBusServiceWatcher_WatchMode,
    init_type_QDBusServiceWatcher_WatchMode,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDBusServiceWatcher_WatchMode,
    assign_QDBusServiceWatcher_WatchMode,
    array_QDBusServiceWatcher_WatchMode,
    copy_QDBusServiceWatcher_WatchMode,
    release_QDBusServiceWatcher_WatchMode,
    0,
    convertTo_QDBusServiceWatcher_WatchMode,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusservicewatcher.sip"
#include <qdbusservicewatcher.h>
#line 3051 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

#line 29 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 3055 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 27 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 3058 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 46 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusconnection.sip"
#include <qdbusconnection.h>
#line 3061 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusservicewatcher.sip"
#include <qdbusservicewatcher.h>
#line 3064 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 27 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 3067 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3070 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 368 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3073 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 351 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3076 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 265 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 3079 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 3082 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 32 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 3085 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3088 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 115 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 3091 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 3094 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 3097 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 3100 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"


class sipQDBusServiceWatcher : public  ::QDBusServiceWatcher
{
public:
    sipQDBusServiceWatcher( ::QObject*);
    sipQDBusServiceWatcher(const  ::QString&,const  ::QDBusConnection&, ::QDBusServiceWatcher::WatchMode, ::QObject*);
    virtual ~sipQDBusServiceWatcher();

    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:
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[7];
};

sipQDBusServiceWatcher::sipQDBusServiceWatcher( ::QObject*a0):  ::QDBusServiceWatcher(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDBusServiceWatcher::sipQDBusServiceWatcher(const  ::QString& a0,const  ::QDBusConnection& a1, ::QDBusServiceWatcher::WatchMode a2, ::QObject*a3):  ::QDBusServiceWatcher(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDBusServiceWatcher::~sipQDBusServiceWatcher()
{
    sipInstanceDestroyedEx(&sipPySelf);
}

const QMetaObject *sipQDBusServiceWatcher::metaObject() const
{
    return sip_QtDBus_qt_metaobject(sipPySelf,sipType_QDBusServiceWatcher);
}

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

    if (_id >= 0)
        _id = sip_QtDBus_qt_metacall(sipPySelf,sipType_QDBusServiceWatcher,_c,_id,_a);

    return _id;
}

void *sipQDBusServiceWatcher::qt_metacast(const char *_clname)
{
    return (sip_QtDBus_qt_metacast(sipPySelf, sipType_QDBusServiceWatcher, _clname)) ? this :  ::QDBusServiceWatcher::qt_metacast(_clname);
}

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

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

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

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

    return sipVH_QtDBus_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_QtDBus_4(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    extern void sipVH_QtDBus_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

    extern void sipVH_QtDBus_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

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

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

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

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

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


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

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

    {
        const sipQDBusServiceWatcher *sipCpp;

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

#line 678 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
        {
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
            Q_ASSERT(helper);
        }
        
        // 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
        
        sipRes = helper(sipRes);
#line 3386 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

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

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

    return NULL;
}


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

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

    {
        PyObject * a0;
        const sipQDBusServiceWatcher *sipCpp;

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

#line 706 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helpers if it hasn't already been done.
        typedef const char *(*pyqt4_get_signal_t)(PyObject *);
        typedef int (*receivers_helper_func)(QObject *, const char *, int);
        
        static pyqt4_get_signal_t pyqt4_get_signal = 0;
        static receivers_helper_func receivers_helper = 0;
        
        if (!pyqt4_get_signal)
        {
            pyqt4_get_signal = (pyqt4_get_signal_t)sipImportSymbol("pyqt4_get_signal");
            Q_ASSERT(pyqt4_get_signal);
        }
        
        if (!receivers_helper)
        {
            receivers_helper = (receivers_helper_func)sipImportSymbol("qpycore_qobject_receivers");
            Q_ASSERT(receivers_helper);
        }
        
        // PyQt5: Get rid of the const casts.
        const char *sig = pyqt4_get_signal(a0);
            
        if (sig)
        {
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = receivers_helper(const_cast<QObject *>(sipCpp), sig, sipCpp->receivers(sig));
        #else
            sipRes = receivers_helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), sig, sipCpp->sipProtect_receivers(sig));
        #endif
        }
        else
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 3452 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

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

            sipAddException(sipError, &sipParseErr);
        }
    }

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

    return NULL;
}


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

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

    {
         ::QTimerEvent* a0;
        sipQDBusServiceWatcher *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDBusServiceWatcher, &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_QDBusServiceWatcher, sipName_timerEvent, doc_QDBusServiceWatcher_timerEvent);

    return NULL;
}


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

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

    {
         ::QChildEvent* a0;
        sipQDBusServiceWatcher *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDBusServiceWatcher, &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_QDBusServiceWatcher, sipName_childEvent, doc_QDBusServiceWatcher_childEvent);

    return NULL;
}


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

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

    {
         ::QEvent* a0;
        sipQDBusServiceWatcher *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDBusServiceWatcher, &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_QDBusServiceWatcher, sipName_customEvent, doc_QDBusServiceWatcher_customEvent);

    return NULL;
}


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

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

    {
        PyObject * a0;
        sipQDBusServiceWatcher *sipCpp;

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

#line 752 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qobject.sip"
        typedef const char *(*pyqt4_get_signal_t)(PyObject *);
        
        static pyqt4_get_signal_t pyqt4_get_signal = 0;
        
        if (!pyqt4_get_signal)
        {
            pyqt4_get_signal = (pyqt4_get_signal_t)sipImportSymbol("pyqt4_get_signal");
            Q_ASSERT(pyqt4_get_signal);
        }
        
        const char *sig = pyqt4_get_signal(a0);
            
        if (sig)
        {
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            (sipSelfWasArg ? sipCpp->QObject::connectNotify(sig) : sipCpp->connectNotify(sig));
        #else
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg, sig);
        #endif
        }
        else
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 3608 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            Py_INCREF(Py_None);
            return Py_None;
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

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

    return NULL;
}


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

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

    {
        PyObject * a0;
        sipQDBusServiceWatcher *sipCpp;

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

#line 785 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qobject.sip"
        typedef const char *(*pyqt4_get_signal_t)(PyObject *);
        
        static pyqt4_get_signal_t pyqt4_get_signal = 0;
        
        if (!pyqt4_get_signal)
        {
            pyqt4_get_signal = (pyqt4_get_signal_t)sipImportSymbol("pyqt4_get_signal");
            Q_ASSERT(pyqt4_get_signal);
        }
        
        const char *sig = pyqt4_get_signal(a0);
            
        if (sig)
        {
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            (sipSelfWasArg ? sipCpp->QObject::disconnectNotify(sig) : sipCpp->disconnectNotify(sig));
        #else
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg, sig);
        #endif
        }
        else
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 3672 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            Py_INCREF(Py_None);
            return Py_None;
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

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

    return NULL;
}


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

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

    {
        const sipQDBusServiceWatcher *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDBusServiceWatcher, &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_QDBusServiceWatcher, sipName_senderSignalIndex, doc_QDBusServiceWatcher_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusServiceWatcher_watchedServices, "watchedServices(self) -> List[str]");

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

    {
        const  ::QDBusServiceWatcher *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QStringList(sipCpp->watchedServices());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusServiceWatcher, sipName_watchedServices, doc_QDBusServiceWatcher_watchedServices);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusServiceWatcher_setWatchedServices, "setWatchedServices(self, Sequence[str])");

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

    {
        const  ::QStringList* a0;
        int a0State = 0;
         ::QDBusServiceWatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDBusServiceWatcher, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWatchedServices(*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_QDBusServiceWatcher, sipName_setWatchedServices, doc_QDBusServiceWatcher_setWatchedServices);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusServiceWatcher_addWatchedService, "addWatchedService(self, str)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDBusServiceWatcher, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addWatchedService(*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_QDBusServiceWatcher, sipName_addWatchedService, doc_QDBusServiceWatcher_addWatchedService);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusServiceWatcher_removeWatchedService, "removeWatchedService(self, str) -> bool");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDBusServiceWatcher, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->removeWatchedService(*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_QDBusServiceWatcher, sipName_removeWatchedService, doc_QDBusServiceWatcher_removeWatchedService);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusServiceWatcher_watchMode, "watchMode(self) -> QDBusServiceWatcher.WatchMode");

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

    {
        const  ::QDBusServiceWatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDBusServiceWatcher, &sipCpp))
        {
             ::QDBusServiceWatcher::WatchMode*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusServiceWatcher::WatchMode(sipCpp->watchMode());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusServiceWatcher, sipName_watchMode, doc_QDBusServiceWatcher_watchMode);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusServiceWatcher_setWatchMode, "setWatchMode(self, QDBusServiceWatcher.WatchMode)");

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

    {
         ::QDBusServiceWatcher::WatchMode* a0;
        int a0State = 0;
         ::QDBusServiceWatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDBusServiceWatcher, &sipCpp, sipType_QDBusServiceWatcher_WatchMode, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWatchMode(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QDBusServiceWatcher_WatchMode,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusServiceWatcher, sipName_setWatchMode, doc_QDBusServiceWatcher_setWatchMode);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusServiceWatcher_connection, "connection(self) -> QDBusConnection");

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

    {
        const  ::QDBusServiceWatcher *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusConnection(sipCpp->connection());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusServiceWatcher, sipName_connection, doc_QDBusServiceWatcher_connection);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusServiceWatcher_setConnection, "setConnection(self, QDBusConnection)");

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

    {
        const  ::QDBusConnection* a0;
         ::QDBusServiceWatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QDBusServiceWatcher, &sipCpp, sipType_QDBusConnection, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setConnection(*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_QDBusServiceWatcher, sipName_setConnection, doc_QDBusServiceWatcher_setConnection);

    return NULL;
}


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

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

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


extern "C" {static void *init_type_QDBusServiceWatcher(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDBusServiceWatcher(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQDBusServiceWatcher *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 sipQDBusServiceWatcher(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QDBusConnection* a1;
         ::QDBusServiceWatcher::WatchMode a2def = QDBusServiceWatcher::WatchForOwnerChange;
         ::QDBusServiceWatcher::WatchMode* a2 = &a2def;
        int a2State = 0;
         ::QObject* a3 = 0;

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

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1J9|J1JH", sipType_QString,&a0, &a0State, sipType_QDBusConnection, &a1, sipType_QDBusServiceWatcher_WatchMode, &a2, &a2State, sipType_QObject, &a3, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQDBusServiceWatcher(*a0,*a1,*a2,a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a2,sipType_QDBusServiceWatcher_WatchMode,a2State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_QDBusServiceWatcher[] = {
    {SIP_MLNAME_CAST(sipName_addWatchedService), meth_QDBusServiceWatcher_addWatchedService, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusServiceWatcher_addWatchedService)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QDBusServiceWatcher_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QDBusServiceWatcher_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connection), meth_QDBusServiceWatcher_connection, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusServiceWatcher_connection)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QDBusServiceWatcher_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QDBusServiceWatcher_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QDBusServiceWatcher_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removeWatchedService), meth_QDBusServiceWatcher_removeWatchedService, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusServiceWatcher_removeWatchedService)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QDBusServiceWatcher_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QDBusServiceWatcher_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setConnection), meth_QDBusServiceWatcher_setConnection, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusServiceWatcher_setConnection)},
    {SIP_MLNAME_CAST(sipName_setWatchMode), meth_QDBusServiceWatcher_setWatchMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusServiceWatcher_setWatchMode)},
    {SIP_MLNAME_CAST(sipName_setWatchedServices), meth_QDBusServiceWatcher_setWatchedServices, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusServiceWatcher_setWatchedServices)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QDBusServiceWatcher_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_watchMode), meth_QDBusServiceWatcher_watchMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusServiceWatcher_watchMode)},
    {SIP_MLNAME_CAST(sipName_watchedServices), meth_QDBusServiceWatcher_watchedServices, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusServiceWatcher_watchedServices)}
};

static sipEnumMemberDef enummembers_QDBusServiceWatcher[] = {
    {sipName_WatchForOwnerChange, static_cast<int>( ::QDBusServiceWatcher::WatchForOwnerChange), 32},
    {sipName_WatchForRegistration, static_cast<int>( ::QDBusServiceWatcher::WatchForRegistration), 32},
    {sipName_WatchForUnregistration, static_cast<int>( ::QDBusServiceWatcher::WatchForUnregistration), 32},
};

PyDoc_STRVAR(doc_QDBusServiceWatcher, "\1QDBusServiceWatcher(parent: QObject = None)\n"
"QDBusServiceWatcher(str, QDBusConnection, watchMode: Union[QDBusServiceWatcher.WatchMode, QDBusServiceWatcher.WatchModeFlag] = QDBusServiceWatcher.WatchForOwnerChange, parent: QObject = None)");


/* Define this type's signals. */
static const pyqt4QtSignal signals_QDBusServiceWatcher[] = {
    {"serviceOwnerChanged(QString,QString,QString)", "\1serviceOwnerChanged(self, str, str, str)", 0, 0},
    {"serviceUnregistered(QString)", "\1serviceUnregistered(self, str)", 0, 0},
    {"serviceRegistered(QString)", "\1serviceRegistered(self, str)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_QDBusServiceWatcher = {
    & ::QDBusServiceWatcher::staticMetaObject,
    0,
    signals_QDBusServiceWatcher
};


sipClassTypeDef sipTypeDef_QtDBus_QDBusServiceWatcher = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QDBusServiceWatcher,
        {0},
        &plugin_QDBusServiceWatcher
    },
    {
        sipNameNr_QDBusServiceWatcher,
        {0, 0, 1},
        16, methods_QDBusServiceWatcher,
        3, enummembers_QDBusServiceWatcher,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDBusServiceWatcher,
    -1,
    -1,
    supers_QDBusServiceWatcher,
    0,
    init_type_QDBusServiceWatcher,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDBusServiceWatcher,
    0,
    0,
    0,
    release_QDBusServiceWatcher,
    cast_QDBusServiceWatcher,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 50 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbuspendingcall.sip"
#include <qdbuspendingcall.h>
#line 4176 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbuspendingcall.sip"
#include <qdbuspendingcall.h>
#line 4180 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 29 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 4183 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4186 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 368 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4189 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 351 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4192 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 265 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4195 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 4198 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 32 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 4201 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4204 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 115 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 4207 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 4210 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 27 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 4213 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 4216 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 4219 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusmessage.sip"
#include <qdbusmessage.h>
#line 4222 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbuserror.sip"
#include <qdbuserror.h>
#line 4225 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"


class sipQDBusPendingCallWatcher : public  ::QDBusPendingCallWatcher
{
public:
    sipQDBusPendingCallWatcher(const  ::QDBusPendingCall&, ::QObject*);
    virtual ~sipQDBusPendingCallWatcher();

    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:
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[7];
};

sipQDBusPendingCallWatcher::sipQDBusPendingCallWatcher(const  ::QDBusPendingCall& a0, ::QObject*a1):  ::QDBusPendingCallWatcher(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDBusPendingCallWatcher::~sipQDBusPendingCallWatcher()
{
    sipInstanceDestroyedEx(&sipPySelf);
}

const QMetaObject *sipQDBusPendingCallWatcher::metaObject() const
{
    return sip_QtDBus_qt_metaobject(sipPySelf,sipType_QDBusPendingCallWatcher);
}

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

    if (_id >= 0)
        _id = sip_QtDBus_qt_metacall(sipPySelf,sipType_QDBusPendingCallWatcher,_c,_id,_a);

    return _id;
}

void *sipQDBusPendingCallWatcher::qt_metacast(const char *_clname)
{
    return (sip_QtDBus_qt_metacast(sipPySelf, sipType_QDBusPendingCallWatcher, _clname)) ? this :  ::QDBusPendingCallWatcher::qt_metacast(_clname);
}

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

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

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

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

    return sipVH_QtDBus_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_QtDBus_4(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    extern void sipVH_QtDBus_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

    extern void sipVH_QtDBus_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

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

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

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

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

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


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

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

    {
        const sipQDBusPendingCallWatcher *sipCpp;

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

#line 678 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
        {
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
            Q_ASSERT(helper);
        }
        
        // 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
        
        sipRes = helper(sipRes);
#line 4505 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

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

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

    return NULL;
}


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

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

    {
        PyObject * a0;
        const sipQDBusPendingCallWatcher *sipCpp;

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

#line 706 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helpers if it hasn't already been done.
        typedef const char *(*pyqt4_get_signal_t)(PyObject *);
        typedef int (*receivers_helper_func)(QObject *, const char *, int);
        
        static pyqt4_get_signal_t pyqt4_get_signal = 0;
        static receivers_helper_func receivers_helper = 0;
        
        if (!pyqt4_get_signal)
        {
            pyqt4_get_signal = (pyqt4_get_signal_t)sipImportSymbol("pyqt4_get_signal");
            Q_ASSERT(pyqt4_get_signal);
        }
        
        if (!receivers_helper)
        {
            receivers_helper = (receivers_helper_func)sipImportSymbol("qpycore_qobject_receivers");
            Q_ASSERT(receivers_helper);
        }
        
        // PyQt5: Get rid of the const casts.
        const char *sig = pyqt4_get_signal(a0);
            
        if (sig)
        {
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = receivers_helper(const_cast<QObject *>(sipCpp), sig, sipCpp->receivers(sig));
        #else
            sipRes = receivers_helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), sig, sipCpp->sipProtect_receivers(sig));
        #endif
        }
        else
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 4571 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

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

            sipAddException(sipError, &sipParseErr);
        }
    }

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

    return NULL;
}


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

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

    {
         ::QTimerEvent* a0;
        sipQDBusPendingCallWatcher *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDBusPendingCallWatcher, &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_QDBusPendingCallWatcher, sipName_timerEvent, doc_QDBusPendingCallWatcher_timerEvent);

    return NULL;
}


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

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

    {
         ::QChildEvent* a0;
        sipQDBusPendingCallWatcher *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDBusPendingCallWatcher, &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_QDBusPendingCallWatcher, sipName_childEvent, doc_QDBusPendingCallWatcher_childEvent);

    return NULL;
}


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

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

    {
         ::QEvent* a0;
        sipQDBusPendingCallWatcher *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDBusPendingCallWatcher, &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_QDBusPendingCallWatcher, sipName_customEvent, doc_QDBusPendingCallWatcher_customEvent);

    return NULL;
}


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

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

    {
        PyObject * a0;
        sipQDBusPendingCallWatcher *sipCpp;

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

#line 752 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qobject.sip"
        typedef const char *(*pyqt4_get_signal_t)(PyObject *);
        
        static pyqt4_get_signal_t pyqt4_get_signal = 0;
        
        if (!pyqt4_get_signal)
        {
            pyqt4_get_signal = (pyqt4_get_signal_t)sipImportSymbol("pyqt4_get_signal");
            Q_ASSERT(pyqt4_get_signal);
        }
        
        const char *sig = pyqt4_get_signal(a0);
            
        if (sig)
        {
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            (sipSelfWasArg ? sipCpp->QObject::connectNotify(sig) : sipCpp->connectNotify(sig));
        #else
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg, sig);
        #endif
        }
        else
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 4727 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            Py_INCREF(Py_None);
            return Py_None;
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

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

    return NULL;
}


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

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

    {
        PyObject * a0;
        sipQDBusPendingCallWatcher *sipCpp;

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

#line 785 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qobject.sip"
        typedef const char *(*pyqt4_get_signal_t)(PyObject *);
        
        static pyqt4_get_signal_t pyqt4_get_signal = 0;
        
        if (!pyqt4_get_signal)
        {
            pyqt4_get_signal = (pyqt4_get_signal_t)sipImportSymbol("pyqt4_get_signal");
            Q_ASSERT(pyqt4_get_signal);
        }
        
        const char *sig = pyqt4_get_signal(a0);
            
        if (sig)
        {
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            (sipSelfWasArg ? sipCpp->QObject::disconnectNotify(sig) : sipCpp->disconnectNotify(sig));
        #else
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg, sig);
        #endif
        }
        else
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 4791 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            Py_INCREF(Py_None);
            return Py_None;
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

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

    return NULL;
}


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

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

    {
        const sipQDBusPendingCallWatcher *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDBusPendingCallWatcher, &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_QDBusPendingCallWatcher, sipName_senderSignalIndex, doc_QDBusPendingCallWatcher_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusPendingCallWatcher_isFinished, "isFinished(self) -> bool");

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

    {
        const  ::QDBusPendingCallWatcher *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isFinished();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusPendingCallWatcher, sipName_isFinished, doc_QDBusPendingCallWatcher_isFinished);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusPendingCallWatcher_waitForFinished, "waitForFinished(self)");

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

    {
         ::QDBusPendingCallWatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDBusPendingCallWatcher, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->waitForFinished();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusPendingCallWatcher, sipName_waitForFinished, doc_QDBusPendingCallWatcher_waitForFinished);

    return NULL;
}


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

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

    if (targetType == sipType_QDBusPendingCall)
        return static_cast< ::QDBusPendingCall *>(sipCpp);

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        const  ::QDBusPendingCall* a0;
         ::QObject* a1 = 0;

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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_QDBusPendingCallWatcher[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QDBusPendingCallWatcher_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QDBusPendingCallWatcher_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QDBusPendingCallWatcher_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QDBusPendingCallWatcher_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isFinished), meth_QDBusPendingCallWatcher_isFinished, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusPendingCallWatcher_isFinished)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QDBusPendingCallWatcher_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QDBusPendingCallWatcher_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QDBusPendingCallWatcher_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QDBusPendingCallWatcher_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_waitForFinished), meth_QDBusPendingCallWatcher_waitForFinished, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusPendingCallWatcher_waitForFinished)}
};

PyDoc_STRVAR(doc_QDBusPendingCallWatcher, "\1QDBusPendingCallWatcher(QDBusPendingCall, parent: QObject = None)");


/* Define this type's signals. */
static const pyqt4QtSignal signals_QDBusPendingCallWatcher[] = {
    {"finished(QDBusPendingCallWatcher*)", "\1finished(self, QDBusPendingCallWatcher)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_QDBusPendingCallWatcher = {
    & ::QDBusPendingCallWatcher::staticMetaObject,
    0,
    signals_QDBusPendingCallWatcher
};


sipClassTypeDef sipTypeDef_QtDBus_QDBusPendingCallWatcher = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QDBusPendingCallWatcher,
        {0},
        &plugin_QDBusPendingCallWatcher
    },
    {
        sipNameNr_QDBusPendingCallWatcher,
        {0, 0, 1},
        10, methods_QDBusPendingCallWatcher,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDBusPendingCallWatcher,
    -1,
    -1,
    supers_QDBusPendingCallWatcher,
    0,
    init_type_QDBusPendingCallWatcher,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDBusPendingCallWatcher,
    0,
    0,
    0,
    release_QDBusPendingCallWatcher,
    cast_QDBusPendingCallWatcher,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbuspendingcall.sip"
#include <qdbuspendingcall.h>
#line 5064 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusmessage.sip"
#include <qdbusmessage.h>
#line 5068 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbuserror.sip"
#include <qdbuserror.h>
#line 5071 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"


PyDoc_STRVAR(doc_QDBusPendingCall_fromError, "fromError(QDBusError) -> QDBusPendingCall");

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

    {
        const  ::QDBusError* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_QDBusError, &a0))
        {
             ::QDBusPendingCall*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusPendingCall( ::QDBusPendingCall::fromError(*a0));
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusPendingCall, sipName_fromError, doc_QDBusPendingCall_fromError);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusPendingCall_fromCompletedCall, "fromCompletedCall(QDBusMessage) -> QDBusPendingCall");

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

    {
        const  ::QDBusMessage* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_QDBusMessage, &a0))
        {
             ::QDBusPendingCall*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusPendingCall( ::QDBusPendingCall::fromCompletedCall(*a0));
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusPendingCall, sipName_fromCompletedCall, doc_QDBusPendingCall_fromCompletedCall);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDBusPendingCall(void *, int);}
static void release_QDBusPendingCall(void *sipCppV, int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast< ::QDBusPendingCall *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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

    {
        const  ::QDBusPendingCall* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDBusPendingCall, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::QDBusPendingCall(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QDBusPendingCall[] = {
    {SIP_MLNAME_CAST(sipName_fromCompletedCall), meth_QDBusPendingCall_fromCompletedCall, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusPendingCall_fromCompletedCall)},
    {SIP_MLNAME_CAST(sipName_fromError), meth_QDBusPendingCall_fromError, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusPendingCall_fromError)}
};

PyDoc_STRVAR(doc_QDBusPendingCall, "\1QDBusPendingCall(QDBusPendingCall)");


static pyqt4ClassPluginDef plugin_QDBusPendingCall = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtDBus_QDBusPendingCall = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDBusPendingCall,
        {0},
        &plugin_QDBusPendingCall
    },
    {
        sipNameNr_QDBusPendingCall,
        {0, 0, 1},
        2, methods_QDBusPendingCall,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDBusPendingCall,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QDBusPendingCall,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDBusPendingCall,
    0,
    0,
    0,
    release_QDBusPendingCall,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusmessage.sip"
#include <qdbusmessage.h>
#line 5245 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

#line 265 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 5249 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 5252 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 5255 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 27 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 5258 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbuserror.sip"
#include <qdbuserror.h>
#line 5261 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"


PyDoc_STRVAR(doc_QDBusMessage_createSignal, "createSignal(str, str, str) -> QDBusMessage");

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

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString* a2;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
             ::QDBusMessage*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusMessage( ::QDBusMessage::createSignal(*a0,*a1,*a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusMessage, sipName_createSignal, doc_QDBusMessage_createSignal);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusMessage_createMethodCall, "createMethodCall(str, str, str, str) -> QDBusMessage");

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

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString* a2;
        int a2State = 0;
        const  ::QString* a3;
        int a3State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1J1J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State))
        {
             ::QDBusMessage*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusMessage( ::QDBusMessage::createMethodCall(*a0,*a1,*a2,*a3));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusMessage, sipName_createMethodCall, doc_QDBusMessage_createMethodCall);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusMessage_createError, "createError(str, str) -> QDBusMessage\n"
"createError(QDBusError) -> QDBusMessage\n"
"createError(QDBusError.ErrorType, str) -> QDBusMessage");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
             ::QDBusMessage*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusMessage( ::QDBusMessage::createError(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

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

    {
        const  ::QDBusError* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_QDBusError, &a0))
        {
             ::QDBusMessage*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusMessage( ::QDBusMessage::createError(*a0));
            Py_END_ALLOW_THREADS

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

    {
         ::QDBusError::ErrorType a0;
        const  ::QString* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "EJ1", sipType_QDBusError_ErrorType, &a0, sipType_QString,&a1, &a1State))
        {
             ::QDBusMessage*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusMessage( ::QDBusMessage::createError(a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusMessage, sipName_createError, doc_QDBusMessage_createError);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusMessage_createReply, "createReply(self, arguments: Sequence[Any] = []) -> QDBusMessage\n"
"createReply(self, Any) -> QDBusMessage");

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

    {
        const QList< ::QVariant>& a0def = QList<QVariant>();
        const QList< ::QVariant>* a0 = &a0def;
        int a0State = 0;
        const  ::QDBusMessage *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1", &sipSelf, sipType_QDBusMessage, &sipCpp, sipType_QList_0100QVariant,&a0, &a0State))
        {
             ::QDBusMessage*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusMessage(sipCpp->createReply(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QList< ::QVariant> *>(a0),sipType_QList_0100QVariant,a0State);

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

    {
        const  ::QVariant* a0;
        int a0State = 0;
        const  ::QDBusMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QDBusMessage, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
             ::QDBusMessage*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusMessage(sipCpp->createReply(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QVariant *>(a0),sipType_QVariant,a0State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusMessage, sipName_createReply, doc_QDBusMessage_createReply);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusMessage_createErrorReply, "createErrorReply(self, str, str) -> QDBusMessage\n"
"createErrorReply(self, QDBusError) -> QDBusMessage\n"
"createErrorReply(self, QDBusError.ErrorType, str) -> QDBusMessage");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QDBusMessage, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
             ::QDBusMessage*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusMessage(sipCpp->createErrorReply(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

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

    {
        const  ::QDBusError* a0;
        const  ::QDBusMessage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QDBusMessage, &sipCpp, sipType_QDBusError, &a0))
        {
             ::QDBusMessage*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusMessage(sipCpp->createErrorReply(*a0));
            Py_END_ALLOW_THREADS

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

    {
         ::QDBusError::ErrorType a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QDBusMessage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ1", &sipSelf, sipType_QDBusMessage, &sipCpp, sipType_QDBusError_ErrorType, &a0, sipType_QString,&a1, &a1State))
        {
             ::QDBusMessage*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusMessage(sipCpp->createErrorReply(a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusMessage, sipName_createErrorReply, doc_QDBusMessage_createErrorReply);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusMessage_service, "service(self) -> str");

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

    {
        const  ::QDBusMessage *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->service());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusMessage, sipName_service, doc_QDBusMessage_service);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusMessage_path, "path(self) -> str");

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

    {
        const  ::QDBusMessage *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->path());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusMessage, sipName_path, doc_QDBusMessage_path);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusMessage_interface, "interface(self) -> str");

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

    {
        const  ::QDBusMessage *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->interface());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusMessage, sipName_interface, doc_QDBusMessage_interface);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusMessage_member, "member(self) -> str");

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

    {
        const  ::QDBusMessage *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->member());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusMessage, sipName_member, doc_QDBusMessage_member);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusMessage_errorName, "errorName(self) -> str");

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

    {
        const  ::QDBusMessage *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->errorName());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusMessage, sipName_errorName, doc_QDBusMessage_errorName);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusMessage_errorMessage, "errorMessage(self) -> str");

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

    {
        const  ::QDBusMessage *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->errorMessage());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusMessage, sipName_errorMessage, doc_QDBusMessage_errorMessage);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusMessage_type, "type(self) -> QDBusMessage.MessageType");

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

    {
        const  ::QDBusMessage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDBusMessage, &sipCpp))
        {
             ::QDBusMessage::MessageType sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->type();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(static_cast<int>(sipRes), sipType_QDBusMessage_MessageType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusMessage, sipName_type, doc_QDBusMessage_type);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusMessage_signature, "signature(self) -> str");

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

    {
        const  ::QDBusMessage *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->signature());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusMessage, sipName_signature, doc_QDBusMessage_signature);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusMessage_isReplyRequired, "isReplyRequired(self) -> bool");

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

    {
        const  ::QDBusMessage *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isReplyRequired();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusMessage, sipName_isReplyRequired, doc_QDBusMessage_isReplyRequired);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusMessage_setDelayedReply, "setDelayedReply(self, bool)");

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

    {
        bool a0;
        const  ::QDBusMessage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QDBusMessage, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDelayedReply(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_QDBusMessage, sipName_setDelayedReply, doc_QDBusMessage_setDelayedReply);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusMessage_isDelayedReply, "isDelayedReply(self) -> bool");

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

    {
        const  ::QDBusMessage *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDelayedReply();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusMessage, sipName_isDelayedReply, doc_QDBusMessage_isDelayedReply);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusMessage_setAutoStartService, "setAutoStartService(self, bool)");

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

    {
        bool a0;
         ::QDBusMessage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QDBusMessage, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAutoStartService(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_QDBusMessage, sipName_setAutoStartService, doc_QDBusMessage_setAutoStartService);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusMessage_autoStartService, "autoStartService(self) -> bool");

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

    {
        const  ::QDBusMessage *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->autoStartService();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusMessage, sipName_autoStartService, doc_QDBusMessage_autoStartService);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusMessage_setArguments, "setArguments(self, Sequence[Any])");

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

    {
        const QList< ::QVariant>* a0;
        int a0State = 0;
         ::QDBusMessage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDBusMessage, &sipCpp, sipType_QList_0100QVariant,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setArguments(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QList< ::QVariant> *>(a0),sipType_QList_0100QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusMessage, sipName_setArguments, doc_QDBusMessage_setArguments);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusMessage_arguments, "arguments(self) -> List[Any]");

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

    {
        const  ::QDBusMessage *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList< ::QVariant>(sipCpp->arguments());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusMessage, sipName_arguments, doc_QDBusMessage_arguments);

    return NULL;
}


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

    {
         ::QDBusMessage* a0;
        const  ::QVariant* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J1", sipType_QDBusMessage, &a0, sipType_QVariant,&a1, &a1State))
        {
             ::QDBusMessage*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 << *a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QVariant *>(a1),sipType_QVariant,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtDBus, lshift_slot, NULL, sipArg0, sipArg1);
}


/* Call the instance's destructor. */
extern "C" {static void release_QDBusMessage(void *, int);}
static void release_QDBusMessage(void *sipCppV, int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast< ::QDBusMessage *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


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


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

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

            return sipCpp;
        }
    }

    {
        const  ::QDBusMessage* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDBusMessage, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::QDBusMessage(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QDBusMessage[] = {
    {(void *)slot_QDBusMessage___lshift__, lshift_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QDBusMessage[] = {
    {SIP_MLNAME_CAST(sipName_arguments), meth_QDBusMessage_arguments, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusMessage_arguments)},
    {SIP_MLNAME_CAST(sipName_autoStartService), meth_QDBusMessage_autoStartService, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusMessage_autoStartService)},
    {SIP_MLNAME_CAST(sipName_createError), meth_QDBusMessage_createError, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusMessage_createError)},
    {SIP_MLNAME_CAST(sipName_createErrorReply), meth_QDBusMessage_createErrorReply, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusMessage_createErrorReply)},
    {SIP_MLNAME_CAST(sipName_createMethodCall), meth_QDBusMessage_createMethodCall, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusMessage_createMethodCall)},
    {SIP_MLNAME_CAST(sipName_createReply), (PyCFunction)meth_QDBusMessage_createReply, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDBusMessage_createReply)},
    {SIP_MLNAME_CAST(sipName_createSignal), meth_QDBusMessage_createSignal, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusMessage_createSignal)},
    {SIP_MLNAME_CAST(sipName_errorMessage), meth_QDBusMessage_errorMessage, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusMessage_errorMessage)},
    {SIP_MLNAME_CAST(sipName_errorName), meth_QDBusMessage_errorName, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusMessage_errorName)},
    {SIP_MLNAME_CAST(sipName_interface), meth_QDBusMessage_interface, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusMessage_interface)},
    {SIP_MLNAME_CAST(sipName_isDelayedReply), meth_QDBusMessage_isDelayedReply, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusMessage_isDelayedReply)},
    {SIP_MLNAME_CAST(sipName_isReplyRequired), meth_QDBusMessage_isReplyRequired, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusMessage_isReplyRequired)},
    {SIP_MLNAME_CAST(sipName_member), meth_QDBusMessage_member, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusMessage_member)},
    {SIP_MLNAME_CAST(sipName_path), meth_QDBusMessage_path, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusMessage_path)},
    {SIP_MLNAME_CAST(sipName_service), meth_QDBusMessage_service, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusMessage_service)},
    {SIP_MLNAME_CAST(sipName_setArguments), meth_QDBusMessage_setArguments, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusMessage_setArguments)},
    {SIP_MLNAME_CAST(sipName_setAutoStartService), meth_QDBusMessage_setAutoStartService, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusMessage_setAutoStartService)},
    {SIP_MLNAME_CAST(sipName_setDelayedReply), meth_QDBusMessage_setDelayedReply, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusMessage_setDelayedReply)},
    {SIP_MLNAME_CAST(sipName_signature), meth_QDBusMessage_signature, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusMessage_signature)},
    {SIP_MLNAME_CAST(sipName_type), meth_QDBusMessage_type, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusMessage_type)}
};

static sipEnumMemberDef enummembers_QDBusMessage[] = {
    {sipName_ErrorMessage, static_cast<int>( ::QDBusMessage::ErrorMessage), 20},
    {sipName_InvalidMessage, static_cast<int>( ::QDBusMessage::InvalidMessage), 20},
    {sipName_MethodCallMessage, static_cast<int>( ::QDBusMessage::MethodCallMessage), 20},
    {sipName_ReplyMessage, static_cast<int>( ::QDBusMessage::ReplyMessage), 20},
    {sipName_SignalMessage, static_cast<int>( ::QDBusMessage::SignalMessage), 20},
};

PyDoc_STRVAR(doc_QDBusMessage, "\1QDBusMessage()\n"
"QDBusMessage(QDBusMessage)");


static pyqt4ClassPluginDef plugin_QDBusMessage = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtDBus_QDBusMessage = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDBusMessage,
        {0},
        &plugin_QDBusMessage
    },
    {
        sipNameNr_QDBusMessage,
        {0, 0, 1},
        20, methods_QDBusMessage,
        5, enummembers_QDBusMessage,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDBusMessage,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QDBusMessage,
    init_type_QDBusMessage,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDBusMessage,
    assign_QDBusMessage,
    array_QDBusMessage,
    copy_QDBusMessage,
    release_QDBusMessage,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusinterface.sip"
#include <qdbusinterface.h>
#line 6210 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

#line 27 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 6214 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 46 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusconnection.sip"
#include <qdbusconnection.h>
#line 6217 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 29 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 6220 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbuspendingcall.sip"
#include <qdbuspendingcall.h>
#line 6223 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 6226 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 6229 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 265 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 6232 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusmessage.sip"
#include <qdbusmessage.h>
#line 6235 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusconnection.sip"
#include <qdbusconnection.h>
#line 6238 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbuserror.sip"
#include <qdbuserror.h>
#line 6241 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6244 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 368 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6247 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 351 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6250 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 6253 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 32 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 6256 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6259 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 115 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 6262 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 6265 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 6268 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 6271 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"


class sipQDBusInterface : public  ::QDBusInterface
{
public:
    sipQDBusInterface(const  ::QString&,const  ::QString&,const  ::QString&,const  ::QDBusConnection&, ::QObject*);
    virtual ~sipQDBusInterface();

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

    /*
     * 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:
    sipQDBusInterface(const sipQDBusInterface &);
    sipQDBusInterface &operator = (const sipQDBusInterface &);

    char sipPyMethods[7];
};

sipQDBusInterface::sipQDBusInterface(const  ::QString& a0,const  ::QString& a1,const  ::QString& a2,const  ::QDBusConnection& a3, ::QObject*a4):  ::QDBusInterface(a0,a1,a2,a3,a4), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDBusInterface::~sipQDBusInterface()
{
    sipInstanceDestroyedEx(&sipPySelf);
}

const QMetaObject *sipQDBusInterface::metaObject() const
{
    return sip_QtDBus_qt_metaobject(sipPySelf,sipType_QDBusInterface);
}

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

    if (_id >= 0)
        _id = sip_QtDBus_qt_metacall(sipPySelf,sipType_QDBusInterface,_c,_id,_a);

    return _id;
}

void *sipQDBusInterface::qt_metacast(const char *_clname)
{
    return (sip_QtDBus_qt_metacast(sipPySelf, sipType_QDBusInterface, _clname)) ? this :  ::QDBusInterface::qt_metacast(_clname);
}

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

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

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

    extern void sipVH_QtDBus_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

    extern void sipVH_QtDBus_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    return sipVH_QtDBus_4(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

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

    return sipVH_QtDBus_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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


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

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

    {
        const sipQDBusInterface *sipCpp;

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

#line 678 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
        {
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
            Q_ASSERT(helper);
        }
        
        // 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
        
        sipRes = helper(sipRes);
#line 6551 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

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

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

    return NULL;
}


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

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

    {
        PyObject * a0;
        const sipQDBusInterface *sipCpp;

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

#line 706 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helpers if it hasn't already been done.
        typedef const char *(*pyqt4_get_signal_t)(PyObject *);
        typedef int (*receivers_helper_func)(QObject *, const char *, int);
        
        static pyqt4_get_signal_t pyqt4_get_signal = 0;
        static receivers_helper_func receivers_helper = 0;
        
        if (!pyqt4_get_signal)
        {
            pyqt4_get_signal = (pyqt4_get_signal_t)sipImportSymbol("pyqt4_get_signal");
            Q_ASSERT(pyqt4_get_signal);
        }
        
        if (!receivers_helper)
        {
            receivers_helper = (receivers_helper_func)sipImportSymbol("qpycore_qobject_receivers");
            Q_ASSERT(receivers_helper);
        }
        
        // PyQt5: Get rid of the const casts.
        const char *sig = pyqt4_get_signal(a0);
            
        if (sig)
        {
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = receivers_helper(const_cast<QObject *>(sipCpp), sig, sipCpp->receivers(sig));
        #else
            sipRes = receivers_helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), sig, sipCpp->sipProtect_receivers(sig));
        #endif
        }
        else
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 6617 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

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

            sipAddException(sipError, &sipParseErr);
        }
    }

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

    return NULL;
}


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

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

    {
         ::QTimerEvent* a0;
        sipQDBusInterface *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDBusInterface, &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_QDBusInterface, sipName_timerEvent, doc_QDBusInterface_timerEvent);

    return NULL;
}


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

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

    {
         ::QChildEvent* a0;
        sipQDBusInterface *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDBusInterface, &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_QDBusInterface, sipName_childEvent, doc_QDBusInterface_childEvent);

    return NULL;
}


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

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

    {
         ::QEvent* a0;
        sipQDBusInterface *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDBusInterface, &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_QDBusInterface, sipName_customEvent, doc_QDBusInterface_customEvent);

    return NULL;
}


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

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

    {
        const sipQDBusInterface *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDBusInterface, &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_QDBusInterface, sipName_senderSignalIndex, doc_QDBusInterface_senderSignalIndex);

    return NULL;
}


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

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

    {
        PyObject * a0;
        sipQDBusInterface *sipCpp;

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

#line 186 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusabstractinterface.sip"
        typedef const char *(*pyqt4_get_signal_t)(PyObject *);
        
        static pyqt4_get_signal_t pyqt4_get_signal = 0;
        
        if (!pyqt4_get_signal)
        {
            pyqt4_get_signal = (pyqt4_get_signal_t)sipImportSymbol("pyqt4_get_signal");
            Q_ASSERT(pyqt4_get_signal);
        }
        
        const char *sig = pyqt4_get_signal(a0);
            
        if (sig)
        {
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            (sipSelfWasArg ? sipCpp->QDBusAbstractInterface::connectNotify(sig) : sipCpp->connectNotify(sig));
        #else
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg, sig);
        #endif
        }
        else
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 6803 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            Py_INCREF(Py_None);
            return Py_None;
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

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

    return NULL;
}


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

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

    {
        PyObject * a0;
        sipQDBusInterface *sipCpp;

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

#line 219 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusabstractinterface.sip"
        typedef const char *(*pyqt4_get_signal_t)(PyObject *);
        
        static pyqt4_get_signal_t pyqt4_get_signal = 0;
        
        if (!pyqt4_get_signal)
        {
            pyqt4_get_signal = (pyqt4_get_signal_t)sipImportSymbol("pyqt4_get_signal");
            Q_ASSERT(pyqt4_get_signal);
        }
        
        const char *sig = pyqt4_get_signal(a0);
            
        if (sig)
        {
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            (sipSelfWasArg ? sipCpp->QDBusAbstractInterface::disconnectNotify(sig) : sipCpp->disconnectNotify(sig));
        #else
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg, sig);
        #endif
        }
        else
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 6867 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            Py_INCREF(Py_None);
            return Py_None;
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_QDBusAbstractInterface)
        return static_cast< ::QDBusAbstractInterface *>(sipCpp);

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

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString& a2def = QString();
        const  ::QString* a2 = &a2def;
        int a2State = 0;
        const  ::QDBusConnection& a3def = QDBusConnection::sessionBus();
        const  ::QDBusConnection* a3 = &a3def;
         ::QObject* a4 = 0;

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

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1J1|J1J9J8", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QDBusConnection, &a3, sipType_QObject, &a4))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQDBusInterface(*a0,*a1,*a2,*a3,a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QDBusInterface[] = {{3, 255, 1}};


static PyMethodDef methods_QDBusInterface[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QDBusInterface_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QDBusInterface_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QDBusInterface_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QDBusInterface_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QDBusInterface_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QDBusInterface_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QDBusInterface_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QDBusInterface_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QDBusInterface, "\1QDBusInterface(str, str, interface: str = '', connection: QDBusConnection = QDBusConnection.sessionBus(), parent: QObject = None)");


static pyqt4ClassPluginDef plugin_QDBusInterface = {
    & ::QDBusInterface::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtDBus_QDBusInterface = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QDBusInterface,
        {0},
        &plugin_QDBusInterface
    },
    {
        sipNameNr_QDBusInterface,
        {0, 0, 1},
        8, methods_QDBusInterface,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDBusInterface,
    -1,
    -1,
    supers_QDBusInterface,
    0,
    init_type_QDBusInterface,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDBusInterface,
    0,
    0,
    0,
    release_QDBusInterface,
    cast_QDBusInterface,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 150 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusextratypes.sip"
#include <qdbusextratypes.h>
#line 7056 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

#line 265 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7060 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"


PyDoc_STRVAR(doc_QDBusVariant_variant, "variant(self) -> Any");

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

    {
        const  ::QDBusVariant *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QVariant(sipCpp->variant());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusVariant, sipName_variant, doc_QDBusVariant_variant);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusVariant_setVariant, "setVariant(self, Any)");

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

    {
        const  ::QVariant* a0;
        int a0State = 0;
         ::QDBusVariant *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDBusVariant, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setVariant(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QVariant *>(a0),sipType_QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusVariant, sipName_setVariant, doc_QDBusVariant_setVariant);

    return NULL;
}


extern "C" {static PyObject *slot_QDBusVariant___ne__(PyObject *,PyObject *);}
static PyObject *slot_QDBusVariant___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDBusVariant *sipCpp = reinterpret_cast< ::QDBusVariant *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDBusVariant));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QDBusVariant* a0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = !operator==((*sipCpp), *a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtDBus, ne_slot, sipType_QDBusVariant, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QDBusVariant___eq__(PyObject *,PyObject *);}
static PyObject *slot_QDBusVariant___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDBusVariant *sipCpp = reinterpret_cast< ::QDBusVariant *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDBusVariant));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QDBusVariant* a0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator==((*sipCpp), *a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtDBus, eq_slot, sipType_QDBusVariant, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QDBusVariant(void *, int);}
static void release_QDBusVariant(void *sipCppV, int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast< ::QDBusVariant *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


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


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

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

            return sipCpp;
        }
    }

    {
        const  ::QVariant* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QVariant,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::QDBusVariant(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QVariant *>(a0),sipType_QVariant,a0State);

            return sipCpp;
        }
    }

    {
        const  ::QDBusVariant* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDBusVariant, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::QDBusVariant(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_QDBusVariant[] = {
    {SIP_MLNAME_CAST(sipName_setVariant), meth_QDBusVariant_setVariant, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusVariant_setVariant)},
    {SIP_MLNAME_CAST(sipName_variant), meth_QDBusVariant_variant, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusVariant_variant)}
};

PyDoc_STRVAR(doc_QDBusVariant, "\1QDBusVariant()\n"
"QDBusVariant(Any)\n"
"QDBusVariant(QDBusVariant)");


static pyqt4ClassPluginDef plugin_QDBusVariant = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtDBus_QDBusVariant = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDBusVariant,
        {0},
        &plugin_QDBusVariant
    },
    {
        sipNameNr_QDBusVariant,
        {0, 0, 1},
        2, methods_QDBusVariant,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDBusVariant,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QDBusVariant,
    init_type_QDBusVariant,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDBusVariant,
    assign_QDBusVariant,
    array_QDBusVariant,
    copy_QDBusVariant,
    release_QDBusVariant,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 101 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusextratypes.sip"
#include <qdbusextratypes.h>
#line 7363 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

#line 27 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7367 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 105 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusextratypes.sip"
#include <QHash>
#line 7370 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"


PyDoc_STRVAR(doc_QDBusSignature_signature, "signature(self) -> str");

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

    {
        const  ::QDBusSignature *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->signature());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusSignature, sipName_signature, doc_QDBusSignature_signature);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusSignature_setSignature, "setSignature(self, str)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDBusSignature, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSignature(*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_QDBusSignature, sipName_setSignature, doc_QDBusSignature_setSignature);

    return NULL;
}


extern "C" {static PyObject *slot_QDBusSignature___ge__(PyObject *,PyObject *);}
static PyObject *slot_QDBusSignature___ge__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDBusSignature *sipCpp = reinterpret_cast< ::QDBusSignature *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDBusSignature));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QDBusSignature* a0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = !operator<((*sipCpp), *a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtDBus, ge_slot, sipType_QDBusSignature, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QDBusSignature___eq__(PyObject *,PyObject *);}
static PyObject *slot_QDBusSignature___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDBusSignature *sipCpp = reinterpret_cast< ::QDBusSignature *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDBusSignature));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QDBusSignature* a0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator==((*sipCpp), *a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtDBus, eq_slot, sipType_QDBusSignature, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QDBusSignature___ne__(PyObject *,PyObject *);}
static PyObject *slot_QDBusSignature___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDBusSignature *sipCpp = reinterpret_cast< ::QDBusSignature *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDBusSignature));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QDBusSignature* a0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator!=((*sipCpp), *a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtDBus, ne_slot, sipType_QDBusSignature, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QDBusSignature___lt__(PyObject *,PyObject *);}
static PyObject *slot_QDBusSignature___lt__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDBusSignature *sipCpp = reinterpret_cast< ::QDBusSignature *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDBusSignature));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QDBusSignature* a0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator<((*sipCpp), *a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtDBus, lt_slot, sipType_QDBusSignature, sipSelf, sipArg);
}


extern "C" {static long slot_QDBusSignature___hash__(PyObject *);}
static long slot_QDBusSignature___hash__(PyObject *sipSelf)
{
     ::QDBusSignature *sipCpp = reinterpret_cast< ::QDBusSignature *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDBusSignature));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 115 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusextratypes.sip"
        sipRes = qHash(*sipCpp);
#line 7586 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDBusSignature(void *, int);}
static void release_QDBusSignature(void *sipCppV, int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast< ::QDBusSignature *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


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


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

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

            return sipCpp;
        }
    }

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

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::QDBusSignature(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipCpp;
        }
    }

    {
        const  ::QDBusSignature* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDBusSignature, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::QDBusSignature(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QDBusSignature[] = {
    {(void *)slot_QDBusSignature___ge__, ge_slot},
    {(void *)slot_QDBusSignature___eq__, eq_slot},
    {(void *)slot_QDBusSignature___ne__, ne_slot},
    {(void *)slot_QDBusSignature___lt__, lt_slot},
    {(void *)slot_QDBusSignature___hash__, hash_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QDBusSignature[] = {
    {SIP_MLNAME_CAST(sipName_setSignature), meth_QDBusSignature_setSignature, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusSignature_setSignature)},
    {SIP_MLNAME_CAST(sipName_signature), meth_QDBusSignature_signature, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusSignature_signature)}
};

PyDoc_STRVAR(doc_QDBusSignature, "\1QDBusSignature()\n"
"QDBusSignature(str)\n"
"QDBusSignature(QDBusSignature)");


static pyqt4ClassPluginDef plugin_QDBusSignature = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtDBus_QDBusSignature = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDBusSignature,
        {0},
        &plugin_QDBusSignature
    },
    {
        sipNameNr_QDBusSignature,
        {0, 0, 1},
        2, methods_QDBusSignature,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDBusSignature,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QDBusSignature,
    init_type_QDBusSignature,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDBusSignature,
    assign_QDBusSignature,
    array_QDBusSignature,
    copy_QDBusSignature,
    release_QDBusSignature,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 48 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusextratypes.sip"
#include <qdbusextratypes.h>
#line 7769 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

#line 27 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7773 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 52 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusextratypes.sip"
#include <QHash>
#line 7776 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"


PyDoc_STRVAR(doc_QDBusObjectPath_path, "path(self) -> str");

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

    {
        const  ::QDBusObjectPath *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->path());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusObjectPath, sipName_path, doc_QDBusObjectPath_path);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusObjectPath_setPath, "setPath(self, str)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDBusObjectPath, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPath(*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_QDBusObjectPath, sipName_setPath, doc_QDBusObjectPath_setPath);

    return NULL;
}


extern "C" {static PyObject *slot_QDBusObjectPath___ge__(PyObject *,PyObject *);}
static PyObject *slot_QDBusObjectPath___ge__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDBusObjectPath *sipCpp = reinterpret_cast< ::QDBusObjectPath *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDBusObjectPath));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QDBusObjectPath* a0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = !operator<((*sipCpp), *a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtDBus, ge_slot, sipType_QDBusObjectPath, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QDBusObjectPath___eq__(PyObject *,PyObject *);}
static PyObject *slot_QDBusObjectPath___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDBusObjectPath *sipCpp = reinterpret_cast< ::QDBusObjectPath *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDBusObjectPath));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QDBusObjectPath* a0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator==((*sipCpp), *a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtDBus, eq_slot, sipType_QDBusObjectPath, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QDBusObjectPath___ne__(PyObject *,PyObject *);}
static PyObject *slot_QDBusObjectPath___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDBusObjectPath *sipCpp = reinterpret_cast< ::QDBusObjectPath *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDBusObjectPath));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QDBusObjectPath* a0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator!=((*sipCpp), *a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtDBus, ne_slot, sipType_QDBusObjectPath, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QDBusObjectPath___lt__(PyObject *,PyObject *);}
static PyObject *slot_QDBusObjectPath___lt__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDBusObjectPath *sipCpp = reinterpret_cast< ::QDBusObjectPath *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDBusObjectPath));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QDBusObjectPath* a0;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = operator<((*sipCpp), *a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtDBus, lt_slot, sipType_QDBusObjectPath, sipSelf, sipArg);
}


extern "C" {static long slot_QDBusObjectPath___hash__(PyObject *);}
static long slot_QDBusObjectPath___hash__(PyObject *sipSelf)
{
     ::QDBusObjectPath *sipCpp = reinterpret_cast< ::QDBusObjectPath *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDBusObjectPath));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 62 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusextratypes.sip"
        sipRes = qHash(*sipCpp);
#line 7992 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDBusObjectPath(void *, int);}
static void release_QDBusObjectPath(void *sipCppV, int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast< ::QDBusObjectPath *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


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


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

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

            return sipCpp;
        }
    }

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

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::QDBusObjectPath(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipCpp;
        }
    }

    {
        const  ::QDBusObjectPath* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDBusObjectPath, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::QDBusObjectPath(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QDBusObjectPath[] = {
    {(void *)slot_QDBusObjectPath___ge__, ge_slot},
    {(void *)slot_QDBusObjectPath___eq__, eq_slot},
    {(void *)slot_QDBusObjectPath___ne__, ne_slot},
    {(void *)slot_QDBusObjectPath___lt__, lt_slot},
    {(void *)slot_QDBusObjectPath___hash__, hash_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QDBusObjectPath[] = {
    {SIP_MLNAME_CAST(sipName_path), meth_QDBusObjectPath_path, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusObjectPath_path)},
    {SIP_MLNAME_CAST(sipName_setPath), meth_QDBusObjectPath_setPath, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusObjectPath_setPath)}
};

PyDoc_STRVAR(doc_QDBusObjectPath, "\1QDBusObjectPath()\n"
"QDBusObjectPath(str)\n"
"QDBusObjectPath(QDBusObjectPath)");


static pyqt4ClassPluginDef plugin_QDBusObjectPath = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtDBus_QDBusObjectPath = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDBusObjectPath,
        {0},
        &plugin_QDBusObjectPath
    },
    {
        sipNameNr_QDBusObjectPath,
        {0, 0, 1},
        2, methods_QDBusObjectPath,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDBusObjectPath,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QDBusObjectPath,
    init_type_QDBusObjectPath,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDBusObjectPath,
    assign_QDBusObjectPath,
    array_QDBusObjectPath,
    copy_QDBusObjectPath,
    release_QDBusObjectPath,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbuserror.sip"
#include <qdbuserror.h>
#line 8175 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

#line 27 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 8179 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"


PyDoc_STRVAR(doc_QDBusError_type, "type(self) -> QDBusError.ErrorType");

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

    {
        const  ::QDBusError *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDBusError, &sipCpp))
        {
             ::QDBusError::ErrorType sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->type();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(static_cast<int>(sipRes), sipType_QDBusError_ErrorType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusError, sipName_type, doc_QDBusError_type);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusError_name, "name(self) -> str");

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

    {
        const  ::QDBusError *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDBusError, &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_QDBusError, sipName_name, doc_QDBusError_name);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusError_message, "message(self) -> str");

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

    {
        const  ::QDBusError *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->message());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusError, sipName_message, doc_QDBusError_message);

    return NULL;
}


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

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

    {
        const  ::QDBusError *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDBusError, &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_QDBusError, sipName_isValid, doc_QDBusError_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusError_errorString, "errorString(QDBusError.ErrorType) -> str");

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

    {
         ::QDBusError::ErrorType a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_QDBusError_ErrorType, &a0))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString( ::QDBusError::errorString(a0));
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusError, sipName_errorString, doc_QDBusError_errorString);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDBusError(void *, int);}
static void release_QDBusError(void *sipCppV, int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast< ::QDBusError *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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

    {
        const  ::QDBusError* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDBusError, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::QDBusError(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QDBusError[] = {
    {SIP_MLNAME_CAST(sipName_errorString), meth_QDBusError_errorString, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusError_errorString)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QDBusError_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusError_isValid)},
    {SIP_MLNAME_CAST(sipName_message), meth_QDBusError_message, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusError_message)},
    {SIP_MLNAME_CAST(sipName_name), meth_QDBusError_name, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusError_name)},
    {SIP_MLNAME_CAST(sipName_type), meth_QDBusError_type, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusError_type)}
};

static sipEnumMemberDef enummembers_QDBusError[] = {
    {sipName_AccessDenied, static_cast<int>( ::QDBusError::AccessDenied), 17},
    {sipName_AddressInUse, static_cast<int>( ::QDBusError::AddressInUse), 17},
    {sipName_BadAddress, static_cast<int>( ::QDBusError::BadAddress), 17},
    {sipName_Disconnected, static_cast<int>( ::QDBusError::Disconnected), 17},
    {sipName_Failed, static_cast<int>( ::QDBusError::Failed), 17},
    {sipName_InternalError, static_cast<int>( ::QDBusError::InternalError), 17},
    {sipName_InvalidArgs, static_cast<int>( ::QDBusError::InvalidArgs), 17},
    {sipName_InvalidInterface, static_cast<int>( ::QDBusError::InvalidInterface), 17},
    {sipName_InvalidMember, static_cast<int>( ::QDBusError::InvalidMember), 17},
    {sipName_InvalidObjectPath, static_cast<int>( ::QDBusError::InvalidObjectPath), 17},
    {sipName_InvalidService, static_cast<int>( ::QDBusError::InvalidService), 17},
    {sipName_InvalidSignature, static_cast<int>( ::QDBusError::InvalidSignature), 17},
    {sipName_LimitsExceeded, static_cast<int>( ::QDBusError::LimitsExceeded), 17},
    {sipName_NoError, static_cast<int>( ::QDBusError::NoError), 17},
    {sipName_NoMemory, static_cast<int>( ::QDBusError::NoMemory), 17},
    {sipName_NoNetwork, static_cast<int>( ::QDBusError::NoNetwork), 17},
    {sipName_NoReply, static_cast<int>( ::QDBusError::NoReply), 17},
    {sipName_NoServer, static_cast<int>( ::QDBusError::NoServer), 17},
    {sipName_NotSupported, static_cast<int>( ::QDBusError::NotSupported), 17},
    {sipName_Other, static_cast<int>( ::QDBusError::Other), 17},
    {sipName_ServiceUnknown, static_cast<int>( ::QDBusError::ServiceUnknown), 17},
    {sipName_TimedOut, static_cast<int>( ::QDBusError::TimedOut), 17},
    {sipName_Timeout, static_cast<int>( ::QDBusError::Timeout), 17},
    {sipName_UnknownInterface, static_cast<int>( ::QDBusError::UnknownInterface), 17},
    {sipName_UnknownMethod, static_cast<int>( ::QDBusError::UnknownMethod), 17},
    {sipName_UnknownObject, static_cast<int>( ::QDBusError::UnknownObject), 17},
};

PyDoc_STRVAR(doc_QDBusError, "\1QDBusError(QDBusError)");


static pyqt4ClassPluginDef plugin_QDBusError = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtDBus_QDBusError = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDBusError,
        {0},
        &plugin_QDBusError
    },
    {
        sipNameNr_QDBusError,
        {0, 0, 1},
        5, methods_QDBusError,
        26, enummembers_QDBusError,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDBusError,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QDBusError,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDBusError,
    0,
    0,
    0,
    release_QDBusError,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusconnectioninterface.sip"
#include <qdbusconnectioninterface.h>
#line 8475 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

#line 46 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusconnection.sip"
#include <qdbusconnection.h>
#line 8479 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 29 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 8482 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbuserror.sip"
#include <qdbuserror.h>
#line 8485 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusmessage.sip"
#include <qdbusmessage.h>
#line 8488 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 27 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 8491 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 93 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qpydbusreply.sip"
#include <qdbusreply.h>
#include <qpydbusreply.h>
#line 8495 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 164 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qpydbusreply.sip"
#include <qdbusreply.h>
#include <qpydbusreply.h>
#line 8499 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 205 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qpydbusreply.sip"
#include <qdbusreply.h>
#include <qpydbusreply.h>
#line 8503 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 123 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qpydbusreply.sip"
#include <qdbusreply.h>
#include <qpydbusreply.h>
#line 8507 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 46 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qpydbusreply.sip"
#include <qdbusreply.h>
#include <qpydbusreply.h>
#line 8511 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 68 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 8514 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 46 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qpydbusreply.sip"
#include <qdbusreply.h>
#include <qpydbusreply.h>
#line 8518 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 47 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 8521 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 27 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 8524 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbuspendingcall.sip"
#include <qdbuspendingcall.h>
#line 8527 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 8530 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8533 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 265 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8536 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusconnection.sip"
#include <qdbusconnection.h>
#line 8539 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8542 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 368 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8545 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 351 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8548 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 8551 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 32 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 8554 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8557 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 115 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 8560 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 8563 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 8566 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 8569 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"


PyDoc_STRVAR(doc_QDBusConnectionInterface_registeredServiceNames, "registeredServiceNames(self) -> object");

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

    {
        const  ::QDBusConnectionInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDBusConnectionInterface, &sipCpp))
        {
            QDBusReply< ::QStringList>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDBusReply< ::QStringList>(sipCpp->registeredServiceNames());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusConnectionInterface, sipName_registeredServiceNames, doc_QDBusConnectionInterface_registeredServiceNames);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusConnectionInterface_isServiceRegistered, "isServiceRegistered(self, str) -> QDBusReply");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDBusConnectionInterface, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QDBusReply<bool>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusReply<bool>(sipCpp->isServiceRegistered(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusConnectionInterface, sipName_isServiceRegistered, doc_QDBusConnectionInterface_isServiceRegistered);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusConnectionInterface_serviceOwner, "serviceOwner(self, str) -> object");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDBusConnectionInterface, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QDBusReply< ::QString>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDBusReply< ::QString>(sipCpp->serviceOwner(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusConnectionInterface, sipName_serviceOwner, doc_QDBusConnectionInterface_serviceOwner);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusConnectionInterface_unregisterService, "unregisterService(self, str) -> QDBusReply");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDBusConnectionInterface, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QDBusReply<bool>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusReply<bool>(sipCpp->unregisterService(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusConnectionInterface, sipName_unregisterService, doc_QDBusConnectionInterface_unregisterService);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusConnectionInterface_registerService, "registerService(self, str, qoption: QDBusConnectionInterface.ServiceQueueOptions = QDBusConnectionInterface.DontQueueService, roption: QDBusConnectionInterface.ServiceReplacementOptions = QDBusConnectionInterface.DontAllowReplacement) -> QDBusReply");

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

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QDBusConnectionInterface::ServiceQueueOptions a1 = QDBusConnectionInterface::DontQueueService;
         ::QDBusConnectionInterface::ServiceReplacementOptions a2 = QDBusConnectionInterface::DontAllowReplacement;
         ::QDBusConnectionInterface *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|EE", &sipSelf, sipType_QDBusConnectionInterface, &sipCpp, sipType_QString,&a0, &a0State, sipType_QDBusConnectionInterface_ServiceQueueOptions, &a1, sipType_QDBusConnectionInterface_ServiceReplacementOptions, &a2))
        {
             ::QDBusReply< ::QDBusConnectionInterface::RegisterServiceReply>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusReply< ::QDBusConnectionInterface::RegisterServiceReply>(sipCpp->registerService(*a0,a1,a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusConnectionInterface, sipName_registerService, doc_QDBusConnectionInterface_registerService);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusConnectionInterface_servicePid, "servicePid(self, str) -> QDBusReply");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDBusConnectionInterface, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QDBusReply<uint>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusReply<uint>(sipCpp->servicePid(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusConnectionInterface, sipName_servicePid, doc_QDBusConnectionInterface_servicePid);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusConnectionInterface_serviceUid, "serviceUid(self, str) -> QDBusReply");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDBusConnectionInterface, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QDBusReply<uint>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusReply<uint>(sipCpp->serviceUid(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusConnectionInterface, sipName_serviceUid, doc_QDBusConnectionInterface_serviceUid);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusConnectionInterface_startService, "startService(self, str) -> QDBusReply");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDBusConnectionInterface, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QDBusReply<void>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusReply<void>(sipCpp->startService(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusConnectionInterface, sipName_startService, doc_QDBusConnectionInterface_startService);

    return NULL;
}


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

    if (targetType == sipType_QDBusAbstractInterface)
        return static_cast< ::QDBusAbstractInterface *>(sipCpp);

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

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDBusConnectionInterface(void *, int);}
static void release_QDBusConnectionInterface(void *, int)
{
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QDBusConnectionInterface[] = {{3, 255, 1}};


static PyMethodDef methods_QDBusConnectionInterface[] = {
    {SIP_MLNAME_CAST(sipName_isServiceRegistered), meth_QDBusConnectionInterface_isServiceRegistered, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusConnectionInterface_isServiceRegistered)},
    {SIP_MLNAME_CAST(sipName_registerService), (PyCFunction)meth_QDBusConnectionInterface_registerService, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDBusConnectionInterface_registerService)},
    {SIP_MLNAME_CAST(sipName_registeredServiceNames), meth_QDBusConnectionInterface_registeredServiceNames, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusConnectionInterface_registeredServiceNames)},
    {SIP_MLNAME_CAST(sipName_serviceOwner), meth_QDBusConnectionInterface_serviceOwner, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusConnectionInterface_serviceOwner)},
    {SIP_MLNAME_CAST(sipName_servicePid), meth_QDBusConnectionInterface_servicePid, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusConnectionInterface_servicePid)},
    {SIP_MLNAME_CAST(sipName_serviceUid), meth_QDBusConnectionInterface_serviceUid, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusConnectionInterface_serviceUid)},
    {SIP_MLNAME_CAST(sipName_startService), meth_QDBusConnectionInterface_startService, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusConnectionInterface_startService)},
    {SIP_MLNAME_CAST(sipName_unregisterService), meth_QDBusConnectionInterface_unregisterService, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusConnectionInterface_unregisterService)}
};

static sipEnumMemberDef enummembers_QDBusConnectionInterface[] = {
    {sipName_AllowReplacement, static_cast<int>( ::QDBusConnectionInterface::AllowReplacement), 15},
    {sipName_DontAllowReplacement, static_cast<int>( ::QDBusConnectionInterface::DontAllowReplacement), 15},
    {sipName_DontQueueService, static_cast<int>( ::QDBusConnectionInterface::DontQueueService), 14},
    {sipName_QueueService, static_cast<int>( ::QDBusConnectionInterface::QueueService), 14},
    {sipName_ReplaceExistingService, static_cast<int>( ::QDBusConnectionInterface::ReplaceExistingService), 14},
    {sipName_ServiceNotRegistered, static_cast<int>( ::QDBusConnectionInterface::ServiceNotRegistered), 13},
    {sipName_ServiceQueued, static_cast<int>( ::QDBusConnectionInterface::ServiceQueued), 13},
    {sipName_ServiceRegistered, static_cast<int>( ::QDBusConnectionInterface::ServiceRegistered), 13},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_QDBusConnectionInterface[] = {
    {"callWithCallbackFailed(QDBusError,QDBusMessage)", "\1callWithCallbackFailed(self, QDBusError, QDBusMessage)", 0, 0},
    {"serviceOwnerChanged(QString,QString,QString)", "\1serviceOwnerChanged(self, str, str, str)", 0, 0},
    {"serviceUnregistered(QString)", "\1serviceUnregistered(self, str)", 0, 0},
    {"serviceRegistered(QString)", "\1serviceRegistered(self, str)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_QDBusConnectionInterface = {
    & ::QDBusConnectionInterface::staticMetaObject,
    0,
    signals_QDBusConnectionInterface
};


sipClassTypeDef sipTypeDef_QtDBus_QDBusConnectionInterface = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QDBusConnectionInterface,
        {0},
        &plugin_QDBusConnectionInterface
    },
    {
        sipNameNr_QDBusConnectionInterface,
        {0, 0, 1},
        8, methods_QDBusConnectionInterface,
        8, enummembers_QDBusConnectionInterface,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_QDBusConnectionInterface,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    release_QDBusConnectionInterface,
    cast_QDBusConnectionInterface,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 46 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusconnection.sip"
#include <qdbusconnection.h>
#line 8959 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

#line 46 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusconnection.sip"
#include <qdbusconnection.h>
#line 8963 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"


extern "C" {static int slot_QDBusConnection_ConnectionCapabilities___bool__(PyObject *);}
static int slot_QDBusConnection_ConnectionCapabilities___bool__(PyObject *sipSelf)
{
     ::QDBusConnection::ConnectionCapabilities *sipCpp = reinterpret_cast< ::QDBusConnection::ConnectionCapabilities *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDBusConnection_ConnectionCapabilities));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 381 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QDBusConnection::ConnectionCapabilities::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 8985 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QDBusConnection_ConnectionCapabilities___ne__(PyObject *,PyObject *);}
static PyObject *slot_QDBusConnection_ConnectionCapabilities___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDBusConnection::ConnectionCapabilities *sipCpp = reinterpret_cast< ::QDBusConnection::ConnectionCapabilities *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDBusConnection_ConnectionCapabilities));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QDBusConnection::ConnectionCapabilities* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDBusConnection_ConnectionCapabilities, &a0, &a0State))
        {
            bool sipRes = 0;

#line 372 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QDBusConnection::ConnectionCapabilities::Int() != a0->operator QDBusConnection::ConnectionCapabilities::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 9019 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
            sipReleaseType(const_cast< ::QDBusConnection::ConnectionCapabilities *>(a0),sipType_QDBusConnection_ConnectionCapabilities,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtDBus, ne_slot, sipType_QDBusConnection_ConnectionCapabilities, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QDBusConnection_ConnectionCapabilities___eq__(PyObject *,PyObject *);}
static PyObject *slot_QDBusConnection_ConnectionCapabilities___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDBusConnection::ConnectionCapabilities *sipCpp = reinterpret_cast< ::QDBusConnection::ConnectionCapabilities *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDBusConnection_ConnectionCapabilities));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QDBusConnection::ConnectionCapabilities* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDBusConnection_ConnectionCapabilities, &a0, &a0State))
        {
            bool sipRes = 0;

#line 363 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QDBusConnection::ConnectionCapabilities::Int() == a0->operator QDBusConnection::ConnectionCapabilities::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 9059 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
            sipReleaseType(const_cast< ::QDBusConnection::ConnectionCapabilities *>(a0),sipType_QDBusConnection_ConnectionCapabilities,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtDBus, eq_slot, sipType_QDBusConnection_ConnectionCapabilities, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QDBusConnection_ConnectionCapabilities___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QDBusConnection_ConnectionCapabilities___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QDBusConnection_ConnectionCapabilities)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QDBusConnection::ConnectionCapabilities *sipCpp = reinterpret_cast< ::QDBusConnection::ConnectionCapabilities *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDBusConnection_ConnectionCapabilities));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 357 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qglobal.sip"
        *sipCpp = QDBusConnection::ConnectionCapabilities(*sipCpp ^ a0);
#line 9098 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QDBusConnection::ConnectionCapabilities* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QDBusConnection_ConnectionCapabilities, &a0, &a0State, &a1))
        {
             ::QDBusConnection::ConnectionCapabilities*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusConnection::ConnectionCapabilities((*a0 ^ a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QDBusConnection_ConnectionCapabilities,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtDBus, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QDBusConnection_ConnectionCapabilities___ior__(PyObject *,PyObject *);}
static PyObject *slot_QDBusConnection_ConnectionCapabilities___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QDBusConnection_ConnectionCapabilities)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QDBusConnection::ConnectionCapabilities *sipCpp = reinterpret_cast< ::QDBusConnection::ConnectionCapabilities *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDBusConnection_ConnectionCapabilities));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 351 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qglobal.sip"
        *sipCpp = QDBusConnection::ConnectionCapabilities(*sipCpp | a0);
#line 9172 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QDBusConnection::ConnectionCapabilities* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QDBusConnection_ConnectionCapabilities, &a0, &a0State, &a1))
        {
             ::QDBusConnection::ConnectionCapabilities*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusConnection::ConnectionCapabilities((*a0 | a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QDBusConnection_ConnectionCapabilities,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtDBus, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QDBusConnection_ConnectionCapabilities___iand__(PyObject *,PyObject *);}
static PyObject *slot_QDBusConnection_ConnectionCapabilities___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QDBusConnection_ConnectionCapabilities)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QDBusConnection::ConnectionCapabilities *sipCpp = reinterpret_cast< ::QDBusConnection::ConnectionCapabilities *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDBusConnection_ConnectionCapabilities));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp-> ::QDBusConnection::ConnectionCapabilities::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QDBusConnection::ConnectionCapabilities* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QDBusConnection_ConnectionCapabilities, &a0, &a0State, &a1))
        {
             ::QDBusConnection::ConnectionCapabilities*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusConnection::ConnectionCapabilities((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QDBusConnection_ConnectionCapabilities,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtDBus, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QDBusConnection_ConnectionCapabilities___invert__(PyObject *);}
static PyObject *slot_QDBusConnection_ConnectionCapabilities___invert__(PyObject *sipSelf)
{
     ::QDBusConnection::ConnectionCapabilities *sipCpp = reinterpret_cast< ::QDBusConnection::ConnectionCapabilities *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDBusConnection_ConnectionCapabilities));

    if (!sipCpp)
        return 0;


    {
        {
             ::QDBusConnection::ConnectionCapabilities*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusConnection::ConnectionCapabilities(~(*sipCpp));
            Py_END_ALLOW_THREADS

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

    return 0;
}


extern "C" {static PyObject *slot_QDBusConnection_ConnectionCapabilities___int__(PyObject *);}
static PyObject *slot_QDBusConnection_ConnectionCapabilities___int__(PyObject *sipSelf)
{
     ::QDBusConnection::ConnectionCapabilities *sipCpp = reinterpret_cast< ::QDBusConnection::ConnectionCapabilities *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDBusConnection_ConnectionCapabilities));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDBusConnection_ConnectionCapabilities(void *, int);}
static void release_QDBusConnection_ConnectionCapabilities(void *sipCppV, int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast< ::QDBusConnection::ConnectionCapabilities *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_QDBusConnection_ConnectionCapabilities(void *, SIP_SSIZE_T, void *);}
static void assign_QDBusConnection_ConnectionCapabilities(void *sipDst, SIP_SSIZE_T sipDstIdx, void *sipSrc)
{
    reinterpret_cast< ::QDBusConnection::ConnectionCapabilities *>(sipDst)[sipDstIdx] = *reinterpret_cast< ::QDBusConnection::ConnectionCapabilities *>(sipSrc);
}


extern "C" {static void *array_QDBusConnection_ConnectionCapabilities(SIP_SSIZE_T);}
static void *array_QDBusConnection_ConnectionCapabilities(SIP_SSIZE_T sipNrElem)
{
    return new  ::QDBusConnection::ConnectionCapabilities[sipNrElem];
}


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


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


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

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::QDBusConnection::ConnectionCapabilities();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::QDBusConnection::ConnectionCapabilities(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const  ::QDBusConnection::ConnectionCapabilities* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QDBusConnection_ConnectionCapabilities, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::QDBusConnection::ConnectionCapabilities(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QDBusConnection::ConnectionCapabilities *>(a0),sipType_QDBusConnection_ConnectionCapabilities,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


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

#line 390 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QDBusConnection::ConnectionCapabilities is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QDBusConnection_ConnectionCapability)) ||
            sipCanConvertToType(sipPy, sipType_QDBusConnection_ConnectionCapabilities, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QDBusConnection_ConnectionCapability)))
{
    *sipCppPtr = new QDBusConnection::ConnectionCapabilities(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QDBusConnection::ConnectionCapabilities *>(sipConvertToType(sipPy, sipType_QDBusConnection_ConnectionCapabilities, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 9460 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QDBusConnection_ConnectionCapabilities[] = {
    {(void *)slot_QDBusConnection_ConnectionCapabilities___bool__, bool_slot},
    {(void *)slot_QDBusConnection_ConnectionCapabilities___ne__, ne_slot},
    {(void *)slot_QDBusConnection_ConnectionCapabilities___eq__, eq_slot},
    {(void *)slot_QDBusConnection_ConnectionCapabilities___ixor__, ixor_slot},
    {(void *)slot_QDBusConnection_ConnectionCapabilities___xor__, xor_slot},
    {(void *)slot_QDBusConnection_ConnectionCapabilities___ior__, ior_slot},
    {(void *)slot_QDBusConnection_ConnectionCapabilities___or__, or_slot},
    {(void *)slot_QDBusConnection_ConnectionCapabilities___iand__, iand_slot},
    {(void *)slot_QDBusConnection_ConnectionCapabilities___and__, and_slot},
    {(void *)slot_QDBusConnection_ConnectionCapabilities___invert__, invert_slot},
    {(void *)slot_QDBusConnection_ConnectionCapabilities___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QDBusConnection_ConnectionCapabilities, "\1QDBusConnection.ConnectionCapabilities()\n"
"QDBusConnection.ConnectionCapabilities(Union[QDBusConnection.ConnectionCapabilities, QDBusConnection.ConnectionCapability])\n"
"QDBusConnection.ConnectionCapabilities(QDBusConnection.ConnectionCapabilities)");


static pyqt4ClassPluginDef plugin_QDBusConnection_ConnectionCapabilities = {
    0,
    1,
    0
};


sipClassTypeDef sipTypeDef_QtDBus_QDBusConnection_ConnectionCapabilities = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDBusConnection__ConnectionCapabilities,
        {0},
        &plugin_QDBusConnection_ConnectionCapabilities
    },
    {
        sipNameNr_ConnectionCapabilities,
        {5, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDBusConnection_ConnectionCapabilities,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QDBusConnection_ConnectionCapabilities,
    init_type_QDBusConnection_ConnectionCapabilities,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDBusConnection_ConnectionCapabilities,
    assign_QDBusConnection_ConnectionCapabilities,
    array_QDBusConnection_ConnectionCapabilities,
    copy_QDBusConnection_ConnectionCapabilities,
    release_QDBusConnection_ConnectionCapabilities,
    0,
    convertTo_QDBusConnection_ConnectionCapabilities,
    0,
    0,
    0,
    0,
    0
};

#line 46 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusconnection.sip"
#include <qdbusconnection.h>
#line 9546 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

#line 46 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusconnection.sip"
#include <qdbusconnection.h>
#line 9550 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"


extern "C" {static int slot_QDBusConnection_RegisterOptions___bool__(PyObject *);}
static int slot_QDBusConnection_RegisterOptions___bool__(PyObject *sipSelf)
{
     ::QDBusConnection::RegisterOptions *sipCpp = reinterpret_cast< ::QDBusConnection::RegisterOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDBusConnection_RegisterOptions));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 381 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QDBusConnection::RegisterOptions::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 9572 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QDBusConnection_RegisterOptions___ne__(PyObject *,PyObject *);}
static PyObject *slot_QDBusConnection_RegisterOptions___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDBusConnection::RegisterOptions *sipCpp = reinterpret_cast< ::QDBusConnection::RegisterOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDBusConnection_RegisterOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QDBusConnection::RegisterOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDBusConnection_RegisterOptions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 372 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QDBusConnection::RegisterOptions::Int() != a0->operator QDBusConnection::RegisterOptions::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 9606 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
            sipReleaseType(const_cast< ::QDBusConnection::RegisterOptions *>(a0),sipType_QDBusConnection_RegisterOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtDBus, ne_slot, sipType_QDBusConnection_RegisterOptions, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QDBusConnection_RegisterOptions___eq__(PyObject *,PyObject *);}
static PyObject *slot_QDBusConnection_RegisterOptions___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDBusConnection::RegisterOptions *sipCpp = reinterpret_cast< ::QDBusConnection::RegisterOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDBusConnection_RegisterOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QDBusConnection::RegisterOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDBusConnection_RegisterOptions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 363 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QDBusConnection::RegisterOptions::Int() == a0->operator QDBusConnection::RegisterOptions::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 9646 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
            sipReleaseType(const_cast< ::QDBusConnection::RegisterOptions *>(a0),sipType_QDBusConnection_RegisterOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtDBus, eq_slot, sipType_QDBusConnection_RegisterOptions, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QDBusConnection_RegisterOptions___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QDBusConnection_RegisterOptions___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QDBusConnection_RegisterOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QDBusConnection::RegisterOptions *sipCpp = reinterpret_cast< ::QDBusConnection::RegisterOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDBusConnection_RegisterOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 357 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qglobal.sip"
        *sipCpp = QDBusConnection::RegisterOptions(*sipCpp ^ a0);
#line 9685 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QDBusConnection::RegisterOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QDBusConnection_RegisterOptions, &a0, &a0State, &a1))
        {
             ::QDBusConnection::RegisterOptions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusConnection::RegisterOptions((*a0 ^ a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QDBusConnection_RegisterOptions,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtDBus, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QDBusConnection_RegisterOptions___ior__(PyObject *,PyObject *);}
static PyObject *slot_QDBusConnection_RegisterOptions___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QDBusConnection_RegisterOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QDBusConnection::RegisterOptions *sipCpp = reinterpret_cast< ::QDBusConnection::RegisterOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDBusConnection_RegisterOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 351 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qglobal.sip"
        *sipCpp = QDBusConnection::RegisterOptions(*sipCpp | a0);
#line 9759 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QDBusConnection::RegisterOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QDBusConnection_RegisterOptions, &a0, &a0State, &a1))
        {
             ::QDBusConnection::RegisterOptions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusConnection::RegisterOptions((*a0 | a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QDBusConnection_RegisterOptions,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtDBus, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QDBusConnection_RegisterOptions___iand__(PyObject *,PyObject *);}
static PyObject *slot_QDBusConnection_RegisterOptions___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QDBusConnection_RegisterOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QDBusConnection::RegisterOptions *sipCpp = reinterpret_cast< ::QDBusConnection::RegisterOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDBusConnection_RegisterOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp-> ::QDBusConnection::RegisterOptions::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QDBusConnection::RegisterOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QDBusConnection_RegisterOptions, &a0, &a0State, &a1))
        {
             ::QDBusConnection::RegisterOptions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusConnection::RegisterOptions((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QDBusConnection_RegisterOptions,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtDBus, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QDBusConnection_RegisterOptions___invert__(PyObject *);}
static PyObject *slot_QDBusConnection_RegisterOptions___invert__(PyObject *sipSelf)
{
     ::QDBusConnection::RegisterOptions *sipCpp = reinterpret_cast< ::QDBusConnection::RegisterOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDBusConnection_RegisterOptions));

    if (!sipCpp)
        return 0;


    {
        {
             ::QDBusConnection::RegisterOptions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusConnection::RegisterOptions(~(*sipCpp));
            Py_END_ALLOW_THREADS

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

    return 0;
}


extern "C" {static PyObject *slot_QDBusConnection_RegisterOptions___int__(PyObject *);}
static PyObject *slot_QDBusConnection_RegisterOptions___int__(PyObject *sipSelf)
{
     ::QDBusConnection::RegisterOptions *sipCpp = reinterpret_cast< ::QDBusConnection::RegisterOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDBusConnection_RegisterOptions));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDBusConnection_RegisterOptions(void *, int);}
static void release_QDBusConnection_RegisterOptions(void *sipCppV, int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast< ::QDBusConnection::RegisterOptions *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_QDBusConnection_RegisterOptions(void *, SIP_SSIZE_T, void *);}
static void assign_QDBusConnection_RegisterOptions(void *sipDst, SIP_SSIZE_T sipDstIdx, void *sipSrc)
{
    reinterpret_cast< ::QDBusConnection::RegisterOptions *>(sipDst)[sipDstIdx] = *reinterpret_cast< ::QDBusConnection::RegisterOptions *>(sipSrc);
}


extern "C" {static void *array_QDBusConnection_RegisterOptions(SIP_SSIZE_T);}
static void *array_QDBusConnection_RegisterOptions(SIP_SSIZE_T sipNrElem)
{
    return new  ::QDBusConnection::RegisterOptions[sipNrElem];
}


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


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


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

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::QDBusConnection::RegisterOptions();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::QDBusConnection::RegisterOptions(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const  ::QDBusConnection::RegisterOptions* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QDBusConnection_RegisterOptions, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::QDBusConnection::RegisterOptions(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QDBusConnection::RegisterOptions *>(a0),sipType_QDBusConnection_RegisterOptions,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


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

#line 390 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QDBusConnection::RegisterOptions is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QDBusConnection_RegisterOption)) ||
            sipCanConvertToType(sipPy, sipType_QDBusConnection_RegisterOptions, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QDBusConnection_RegisterOption)))
{
    *sipCppPtr = new QDBusConnection::RegisterOptions(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QDBusConnection::RegisterOptions *>(sipConvertToType(sipPy, sipType_QDBusConnection_RegisterOptions, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 10047 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QDBusConnection_RegisterOptions[] = {
    {(void *)slot_QDBusConnection_RegisterOptions___bool__, bool_slot},
    {(void *)slot_QDBusConnection_RegisterOptions___ne__, ne_slot},
    {(void *)slot_QDBusConnection_RegisterOptions___eq__, eq_slot},
    {(void *)slot_QDBusConnection_RegisterOptions___ixor__, ixor_slot},
    {(void *)slot_QDBusConnection_RegisterOptions___xor__, xor_slot},
    {(void *)slot_QDBusConnection_RegisterOptions___ior__, ior_slot},
    {(void *)slot_QDBusConnection_RegisterOptions___or__, or_slot},
    {(void *)slot_QDBusConnection_RegisterOptions___iand__, iand_slot},
    {(void *)slot_QDBusConnection_RegisterOptions___and__, and_slot},
    {(void *)slot_QDBusConnection_RegisterOptions___invert__, invert_slot},
    {(void *)slot_QDBusConnection_RegisterOptions___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QDBusConnection_RegisterOptions, "\1QDBusConnection.RegisterOptions()\n"
"QDBusConnection.RegisterOptions(Union[QDBusConnection.RegisterOptions, QDBusConnection.RegisterOption])\n"
"QDBusConnection.RegisterOptions(QDBusConnection.RegisterOptions)");


static pyqt4ClassPluginDef plugin_QDBusConnection_RegisterOptions = {
    0,
    1,
    0
};


sipClassTypeDef sipTypeDef_QtDBus_QDBusConnection_RegisterOptions = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDBusConnection__RegisterOptions,
        {0},
        &plugin_QDBusConnection_RegisterOptions
    },
    {
        sipNameNr_RegisterOptions,
        {5, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDBusConnection_RegisterOptions,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QDBusConnection_RegisterOptions,
    init_type_QDBusConnection_RegisterOptions,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDBusConnection_RegisterOptions,
    assign_QDBusConnection_RegisterOptions,
    array_QDBusConnection_RegisterOptions,
    copy_QDBusConnection_RegisterOptions,
    release_QDBusConnection_RegisterOptions,
    0,
    convertTo_QDBusConnection_RegisterOptions,
    0,
    0,
    0,
    0,
    0
};

#line 46 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusconnection.sip"
#include <qdbusconnection.h>
#line 10133 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

#line 27 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 10137 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 32 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 10140 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusconnectioninterface.sip"
#include <qdbusconnectioninterface.h>
#line 10143 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 29 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 10146 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 46 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusconnection.sip"
#include <qdbusconnection.h>
#line 10149 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 27 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 10152 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbuspendingcall.sip"
#include <qdbuspendingcall.h>
#line 10155 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusmessage.sip"
#include <qdbusmessage.h>
#line 10158 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusconnection.sip"
#include <qdbusconnection.h>
#line 10161 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 46 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusconnection.sip"
#include <qdbusconnection.h>
#line 10164 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbuserror.sip"
#include <qdbuserror.h>
#line 10167 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"


PyDoc_STRVAR(doc_QDBusConnection_isConnected, "isConnected(self) -> bool");

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

    {
        const  ::QDBusConnection *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isConnected();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusConnection, sipName_isConnected, doc_QDBusConnection_isConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusConnection_baseService, "baseService(self) -> str");

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

    {
        const  ::QDBusConnection *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->baseService());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusConnection, sipName_baseService, doc_QDBusConnection_baseService);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusConnection_lastError, "lastError(self) -> QDBusError");

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

    {
        const  ::QDBusConnection *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusError(sipCpp->lastError());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusConnection, sipName_lastError, doc_QDBusConnection_lastError);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusConnection_name, "name(self) -> str");

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

    {
        const  ::QDBusConnection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDBusConnection, &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_QDBusConnection, sipName_name, doc_QDBusConnection_name);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusConnection_connectionCapabilities, "connectionCapabilities(self) -> QDBusConnection.ConnectionCapabilities");

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

    {
        const  ::QDBusConnection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDBusConnection, &sipCpp))
        {
             ::QDBusConnection::ConnectionCapabilities*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusConnection::ConnectionCapabilities(sipCpp->connectionCapabilities());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusConnection, sipName_connectionCapabilities, doc_QDBusConnection_connectionCapabilities);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusConnection_send, "send(self, QDBusMessage) -> bool");

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

    {
        const  ::QDBusMessage* a0;
        const  ::QDBusConnection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QDBusConnection, &sipCpp, sipType_QDBusMessage, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->send(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusConnection, sipName_send, doc_QDBusConnection_send);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusConnection_callWithCallback, "callWithCallback(self, QDBusMessage, QObject, QT_SLOT, QT_SLOT, timeout: int = -1) -> bool\n"
"callWithCallback(self, QDBusMessage, Callable[..., None], Callable[..., None], timeout: int = -1) -> bool\n"
"callWithCallback(self, QDBusMessage, QObject, QT_SLOT, timeout: int = -1) -> bool\n"
"callWithCallback(self, QDBusMessage, Callable[..., None], timeout: int = -1) -> bool");

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

    {
        const  ::QDBusMessage* a0;
         ::QObject* a1;
        PyObject * a2;
        PyObject * a3;
        int a4 = -1;
        const  ::QDBusConnection *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9J8P0P0|i", &sipSelf, sipType_QDBusConnection, &sipCpp, sipType_QDBusMessage, &a0, sipType_QObject, &a1, &a2, &a3, &a4))
        {
            bool sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 115 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusconnection.sip"
        const char *ret_slot = pyqt4_qtdbus_get_slot(a2);
        
        if (ret_slot)
        {
            const char *err_slot = pyqt4_qtdbus_get_slot(a3);
        
            if (err_slot)
            {
                Py_BEGIN_ALLOW_THREADS
                sipRes = sipCpp->callWithCallback(*a0, a1, ret_slot, err_slot, a4);
                Py_END_ALLOW_THREADS
            }
            else
            {
                sipError = sipBadCallableArg(3, a3);
            }
        }
        else
        {
            sipError = sipBadCallableArg(2, a2);
        }
#line 10408 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

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

            sipAddException(sipError, &sipParseErr);
        }
    }

    {
        const  ::QDBusMessage* a0;
        PyObject * a1;
        PyObject * a2;
        int a3 = -1;
         ::QDBusConnection *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9FF|i", &sipSelf, sipType_QDBusConnection, &sipCpp, sipType_QDBusMessage, &a0, &a1, &a2, &a3))
        {
            bool sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 140 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusconnection.sip"
        QObject *receiver;
        QByteArray retslot_signature;
        
        if ((sipError = pyqt4_qtdbus_get_pyqtslot_parts(a1, &receiver, retslot_signature)) == sipErrorNone)
        {
            QObject *error_receiver;
            QByteArray errslot_signature;
        
            if ((sipError = pyqt4_qtdbus_get_pyqtslot_parts(a2, &error_receiver, errslot_signature)) == sipErrorNone)
            {
                if (receiver == error_receiver)
                {
                    Py_BEGIN_ALLOW_THREADS
                    sipRes = sipCpp->callWithCallback(*a0, receiver, retslot_signature.constData(), errslot_signature.constData(), a3);
                    Py_END_ALLOW_THREADS
                }
                else
                {
                    PyErr_SetString(PyExc_ValueError,
                            "the return and error methods must be bound to the same QObject instance");
                    sipError = sipErrorFail;
                }
            }
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(2, a2);
            }
        }
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(1, a1);
        }
#line 10474 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

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

            sipAddException(sipError, &sipParseErr);
        }
    }

    {
        const  ::QDBusMessage* a0;
         ::QObject* a1;
        PyObject * a2;
        int a3 = -1;
        const  ::QDBusConnection *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9J8P0|i", &sipSelf, sipType_QDBusConnection, &sipCpp, sipType_QDBusMessage, &a0, sipType_QObject, &a1, &a2, &a3))
        {
            bool sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 176 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusconnection.sip"
        const char *slot = pyqt4_qtdbus_get_slot(a2);
        
        if (slot)
        {
            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->callWithCallback(*a0, a1, slot, a3);
            Py_END_ALLOW_THREADS
        }
        else
        {
            sipError = sipBadCallableArg(2, a2);
        }
#line 10520 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

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

            sipAddException(sipError, &sipParseErr);
        }
    }

    {
        const  ::QDBusMessage* a0;
        PyObject * a1;
        int a2 = -1;
         ::QDBusConnection *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9F|i", &sipSelf, sipType_QDBusConnection, &sipCpp, sipType_QDBusMessage, &a0, &a1, &a2))
        {
            bool sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 192 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusconnection.sip"
        QObject *receiver;
        QByteArray slot_signature;
        
        if ((sipError = pyqt4_qtdbus_get_pyqtslot_parts(a1, &receiver, slot_signature)) == sipErrorNone)
        {
            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->callWithCallback(*a0, receiver, slot_signature.constData(), a2);
            Py_END_ALLOW_THREADS
        }
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(1, a1);
        }
#line 10565 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

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

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusConnection, sipName_callWithCallback, doc_QDBusConnection_callWithCallback);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusConnection_call, "call(self, QDBusMessage, mode: QDBus.CallMode = QDBus.Block, timeout: int = -1) -> QDBusMessage");

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

    {
        const  ::QDBusMessage* a0;
         ::QDBus::CallMode a1 = QDBus::Block;
        int a2 = -1;
        const  ::QDBusConnection *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|Ei", &sipSelf, sipType_QDBusConnection, &sipCpp, sipType_QDBusMessage, &a0, sipType_QDBus_CallMode, &a1, &a2))
        {
             ::QDBusMessage*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusMessage(sipCpp->call(*a0,a1,a2));
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusConnection, sipName_call, doc_QDBusConnection_call);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusConnection_asyncCall, "asyncCall(self, QDBusMessage, timeout: int = -1) -> QDBusPendingCall");

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

    {
        const  ::QDBusMessage* a0;
        int a1 = -1;
        const  ::QDBusConnection *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|i", &sipSelf, sipType_QDBusConnection, &sipCpp, sipType_QDBusMessage, &a0, &a1))
        {
             ::QDBusPendingCall*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusPendingCall(sipCpp->asyncCall(*a0,a1));
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusConnection, sipName_asyncCall, doc_QDBusConnection_asyncCall);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusConnection_connect, "connect(self, str, str, str, str, QObject, QT_SLOT) -> bool\n"
"connect(self, str, str, str, str, Callable[..., None]) -> bool\n"
"connect(self, str, str, str, str, str, QObject, QT_SLOT) -> bool\n"
"connect(self, str, str, str, str, str, Callable[..., None]) -> bool\n"
"connect(self, str, str, str, str, Sequence[str], str, QObject, QT_SLOT) -> bool\n"
"connect(self, str, str, str, str, Sequence[str], str, Callable[..., None]) -> bool");

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

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString* a2;
        int a2State = 0;
        const  ::QString* a3;
        int a3State = 0;
         ::QObject* a4;
        PyObject * a5;
         ::QDBusConnection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1J1J8P0", &sipSelf, sipType_QDBusConnection, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_QObject, &a4, &a5))
        {
            bool sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 211 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusconnection.sip"
        const char *slot = pyqt4_qtdbus_get_slot(a5);
        
        if (slot)
        {
            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->connect(*a0, *a1, *a2, *a3, a4, slot);
            Py_END_ALLOW_THREADS
        }
        else
        {
            sipError = sipBadCallableArg(5, a5);
        }
#line 10711 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);

            if (sipError == sipErrorFail)
                return 0;

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

            sipAddException(sipError, &sipParseErr);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString* a2;
        int a2State = 0;
        const  ::QString* a3;
        int a3State = 0;
        PyObject * a4;
         ::QDBusConnection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1J1F", &sipSelf, sipType_QDBusConnection, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, &a4))
        {
            bool sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 227 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusconnection.sip"
        QObject *receiver;
        QByteArray slot_signature;
        
        if ((sipError = pyqt4_qtdbus_get_pyqtslot_parts(a4, &receiver, slot_signature)) == sipErrorNone)
        {
            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->connect(*a0, *a1, *a2, *a3, receiver, slot_signature.constData());
            Py_END_ALLOW_THREADS
        }
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(4, a4);
        }
#line 10760 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);

            if (sipError == sipErrorFail)
                return 0;

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

            sipAddException(sipError, &sipParseErr);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString* a2;
        int a2State = 0;
        const  ::QString* a3;
        int a3State = 0;
        const  ::QString* a4;
        int a4State = 0;
         ::QObject* a5;
        PyObject * a6;
         ::QDBusConnection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1J1J1J8P0", &sipSelf, sipType_QDBusConnection, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_QString,&a4, &a4State, sipType_QObject, &a5, &a6))
        {
            bool sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 244 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusconnection.sip"
        const char *slot = pyqt4_qtdbus_get_slot(a6);
        
        if (slot)
        {
            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->connect(*a0, *a1, *a2, *a3, *a4, a5, slot);
            Py_END_ALLOW_THREADS
        }
        else
        {
            sipError = sipBadCallableArg(6, a6);
        }
#line 10811 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast< ::QString *>(a4),sipType_QString,a4State);

            if (sipError == sipErrorFail)
                return 0;

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

            sipAddException(sipError, &sipParseErr);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString* a2;
        int a2State = 0;
        const  ::QString* a3;
        int a3State = 0;
        const  ::QString* a4;
        int a4State = 0;
        PyObject * a5;
         ::QDBusConnection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1J1J1F", &sipSelf, sipType_QDBusConnection, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_QString,&a4, &a4State, &a5))
        {
            bool sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 260 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusconnection.sip"
        QObject *receiver;
        QByteArray slot_signature;
        
        if ((sipError = pyqt4_qtdbus_get_pyqtslot_parts(a5, &receiver, slot_signature)) == sipErrorNone)
        {
            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->connect(*a0, *a1, *a2, *a3, *a4, receiver, slot_signature.constData());
            Py_END_ALLOW_THREADS
        }
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(5, a5);
        }
#line 10863 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast< ::QString *>(a4),sipType_QString,a4State);

            if (sipError == sipErrorFail)
                return 0;

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

            sipAddException(sipError, &sipParseErr);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString* a2;
        int a2State = 0;
        const  ::QString* a3;
        int a3State = 0;
        const  ::QStringList* a4;
        int a4State = 0;
        const  ::QString* a5;
        int a5State = 0;
         ::QObject* a6;
        PyObject * a7;
         ::QDBusConnection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1J1J1J1J8P0", &sipSelf, sipType_QDBusConnection, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_QStringList,&a4, &a4State, sipType_QString,&a5, &a5State, sipType_QObject, &a6, &a7))
        {
            bool sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 277 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusconnection.sip"
        const char *slot = pyqt4_qtdbus_get_slot(a7);
        
        if (slot)
        {
            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->connect(*a0, *a1, *a2, *a3, *a4, *a5, a6, slot);
            Py_END_ALLOW_THREADS
        }
        else
        {
            sipError = sipBadCallableArg(7, a7);
        }
#line 10917 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast< ::QStringList *>(a4),sipType_QStringList,a4State);
            sipReleaseType(const_cast< ::QString *>(a5),sipType_QString,a5State);

            if (sipError == sipErrorFail)
                return 0;

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

            sipAddException(sipError, &sipParseErr);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString* a2;
        int a2State = 0;
        const  ::QString* a3;
        int a3State = 0;
        const  ::QStringList* a4;
        int a4State = 0;
        const  ::QString* a5;
        int a5State = 0;
        PyObject * a6;
         ::QDBusConnection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1J1J1J1F", &sipSelf, sipType_QDBusConnection, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_QStringList,&a4, &a4State, sipType_QString,&a5, &a5State, &a6))
        {
            bool sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 293 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusconnection.sip"
        QObject *receiver;
        QByteArray slot_signature;
        
        if ((sipError = pyqt4_qtdbus_get_pyqtslot_parts(a6, &receiver, slot_signature)) == sipErrorNone)
        {
            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->connect(*a0, *a1, *a2, *a3, *a4, *a5, receiver, slot_signature.constData());
            Py_END_ALLOW_THREADS
        }
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(6, a6);
        }
#line 10972 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast< ::QStringList *>(a4),sipType_QStringList,a4State);
            sipReleaseType(const_cast< ::QString *>(a5),sipType_QString,a5State);

            if (sipError == sipErrorFail)
                return 0;

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

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusConnection, sipName_connect, doc_QDBusConnection_connect);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusConnection_disconnect, "disconnect(self, str, str, str, str, QObject, QT_SLOT) -> bool\n"
"disconnect(self, str, str, str, str, Callable[..., None]) -> bool\n"
"disconnect(self, str, str, str, str, str, QObject, QT_SLOT) -> bool\n"
"disconnect(self, str, str, str, str, str, Callable[..., None]) -> bool\n"
"disconnect(self, str, str, str, str, Sequence[str], str, QObject, QT_SLOT) -> bool\n"
"disconnect(self, str, str, str, str, Sequence[str], str, Callable[..., None]) -> bool");

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

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString* a2;
        int a2State = 0;
        const  ::QString* a3;
        int a3State = 0;
         ::QObject* a4;
        PyObject * a5;
         ::QDBusConnection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1J1J8P0", &sipSelf, sipType_QDBusConnection, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_QObject, &a4, &a5))
        {
            bool sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 310 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusconnection.sip"
        const char *slot = pyqt4_qtdbus_get_slot(a5);
        
        if (slot)
        {
            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->disconnect(*a0, *a1, *a2, *a3, a4, slot);
            Py_END_ALLOW_THREADS
        }
        else
        {
            sipError = sipBadCallableArg(5, a5);
        }
#line 11048 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);

            if (sipError == sipErrorFail)
                return 0;

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

            sipAddException(sipError, &sipParseErr);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString* a2;
        int a2State = 0;
        const  ::QString* a3;
        int a3State = 0;
        PyObject * a4;
         ::QDBusConnection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1J1F", &sipSelf, sipType_QDBusConnection, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, &a4))
        {
            bool sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 326 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusconnection.sip"
        QObject *receiver;
        QByteArray slot_signature;
        
        if ((sipError = pyqt4_qtdbus_get_pyqtslot_parts(a4, &receiver, slot_signature)) == sipErrorNone)
        {
            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->disconnect(*a0, *a1, *a2, *a3, receiver, slot_signature.constData());
            Py_END_ALLOW_THREADS
        }
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(4, a4);
        }
#line 11097 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);

            if (sipError == sipErrorFail)
                return 0;

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

            sipAddException(sipError, &sipParseErr);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString* a2;
        int a2State = 0;
        const  ::QString* a3;
        int a3State = 0;
        const  ::QString* a4;
        int a4State = 0;
         ::QObject* a5;
        PyObject * a6;
         ::QDBusConnection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1J1J1J8P0", &sipSelf, sipType_QDBusConnection, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_QString,&a4, &a4State, sipType_QObject, &a5, &a6))
        {
            bool sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 343 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusconnection.sip"
        const char *slot = pyqt4_qtdbus_get_slot(a6);
        
        if (slot)
        {
            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->disconnect(*a0, *a1, *a2, *a3, *a4, a5, slot);
            Py_END_ALLOW_THREADS
        }
        else
        {
            sipError = sipBadCallableArg(6, a6);
        }
#line 11148 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast< ::QString *>(a4),sipType_QString,a4State);

            if (sipError == sipErrorFail)
                return 0;

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

            sipAddException(sipError, &sipParseErr);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString* a2;
        int a2State = 0;
        const  ::QString* a3;
        int a3State = 0;
        const  ::QString* a4;
        int a4State = 0;
        PyObject * a5;
         ::QDBusConnection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1J1J1F", &sipSelf, sipType_QDBusConnection, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_QString,&a4, &a4State, &a5))
        {
            bool sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 359 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusconnection.sip"
        QObject *receiver;
        QByteArray slot_signature;
        
        if ((sipError = pyqt4_qtdbus_get_pyqtslot_parts(a5, &receiver, slot_signature)) == sipErrorNone)
        {
            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->disconnect(*a0, *a1, *a2, *a3, *a4, receiver, slot_signature.constData());
            Py_END_ALLOW_THREADS
        }
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(5, a5);
        }
#line 11200 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast< ::QString *>(a4),sipType_QString,a4State);

            if (sipError == sipErrorFail)
                return 0;

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

            sipAddException(sipError, &sipParseErr);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString* a2;
        int a2State = 0;
        const  ::QString* a3;
        int a3State = 0;
        const  ::QStringList* a4;
        int a4State = 0;
        const  ::QString* a5;
        int a5State = 0;
         ::QObject* a6;
        PyObject * a7;
         ::QDBusConnection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1J1J1J1J8P0", &sipSelf, sipType_QDBusConnection, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_QStringList,&a4, &a4State, sipType_QString,&a5, &a5State, sipType_QObject, &a6, &a7))
        {
            bool sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 376 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusconnection.sip"
        const char *slot = pyqt4_qtdbus_get_slot(a7);
        
        if (slot)
        {
            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->disconnect(*a0, *a1, *a2, *a3, *a4, *a5, a6, slot);
            Py_END_ALLOW_THREADS
        }
        else
        {
            sipError = sipBadCallableArg(7, a7);
        }
#line 11254 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast< ::QStringList *>(a4),sipType_QStringList,a4State);
            sipReleaseType(const_cast< ::QString *>(a5),sipType_QString,a5State);

            if (sipError == sipErrorFail)
                return 0;

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

            sipAddException(sipError, &sipParseErr);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString* a2;
        int a2State = 0;
        const  ::QString* a3;
        int a3State = 0;
        const  ::QStringList* a4;
        int a4State = 0;
        const  ::QString* a5;
        int a5State = 0;
        PyObject * a6;
         ::QDBusConnection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1J1J1J1F", &sipSelf, sipType_QDBusConnection, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_QStringList,&a4, &a4State, sipType_QString,&a5, &a5State, &a6))
        {
            bool sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 392 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusconnection.sip"
        QObject *receiver;
        QByteArray slot_signature;
        
        if ((sipError = pyqt4_qtdbus_get_pyqtslot_parts(a6, &receiver, slot_signature)) == sipErrorNone)
        {
            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->disconnect(*a0, *a1, *a2, *a3, *a4, *a5, receiver, slot_signature.constData());
            Py_END_ALLOW_THREADS
        }
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(6, a6);
        }
#line 11309 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast< ::QStringList *>(a4),sipType_QStringList,a4State);
            sipReleaseType(const_cast< ::QString *>(a5),sipType_QString,a5State);

            if (sipError == sipErrorFail)
                return 0;

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

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusConnection, sipName_disconnect, doc_QDBusConnection_disconnect);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusConnection_registerObject, "registerObject(self, str, QObject, options: Union[QDBusConnection.RegisterOptions, QDBusConnection.RegisterOption] = QDBusConnection.ExportAdaptors) -> bool");

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

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QObject* a1;
         ::QDBusConnection::RegisterOptions a2def = QDBusConnection::ExportAdaptors;
         ::QDBusConnection::RegisterOptions* a2 = &a2def;
        int a2State = 0;
         ::QDBusConnection *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1J8|J1", &sipSelf, sipType_QDBusConnection, &sipCpp, sipType_QString,&a0, &a0State, sipType_QObject, &a1, sipType_QDBusConnection_RegisterOptions, &a2, &a2State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->registerObject(*a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a2,sipType_QDBusConnection_RegisterOptions,a2State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusConnection, sipName_registerObject, doc_QDBusConnection_registerObject);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusConnection_unregisterObject, "unregisterObject(self, str, mode: QDBusConnection.UnregisterMode = QDBusConnection.UnregisterNode)");

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

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QDBusConnection::UnregisterMode a1 = QDBusConnection::UnregisterNode;
         ::QDBusConnection *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QDBusConnection, &sipCpp, sipType_QString,&a0, &a0State, sipType_QDBusConnection_UnregisterMode, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->unregisterObject(*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_QDBusConnection, sipName_unregisterObject, doc_QDBusConnection_unregisterObject);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusConnection_objectRegisteredAt, "objectRegisteredAt(self, str) -> QObject");

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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->objectRegisteredAt(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusConnection, sipName_objectRegisteredAt, doc_QDBusConnection_objectRegisteredAt);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusConnection_registerService, "registerService(self, str) -> bool");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDBusConnection, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->registerService(*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_QDBusConnection, sipName_registerService, doc_QDBusConnection_registerService);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusConnection_unregisterService, "unregisterService(self, str) -> bool");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDBusConnection, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->unregisterService(*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_QDBusConnection, sipName_unregisterService, doc_QDBusConnection_unregisterService);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusConnection_interface, "interface(self) -> QDBusConnectionInterface");

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

    {
        const  ::QDBusConnection *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->interface();
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusConnection, sipName_interface, doc_QDBusConnection_interface);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusConnection_connectToBus, "connectToBus(QDBusConnection.BusType, str) -> QDBusConnection\n"
"connectToBus(str, str) -> QDBusConnection");

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

    {
         ::QDBusConnection::BusType a0;
        const  ::QString* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "EJ1", sipType_QDBusConnection_BusType, &a0, sipType_QString,&a1, &a1State))
        {
             ::QDBusConnection*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusConnection( ::QDBusConnection::connectToBus(a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
             ::QDBusConnection*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusConnection( ::QDBusConnection::connectToBus(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusConnection, sipName_connectToBus, doc_QDBusConnection_connectToBus);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusConnection_connectToPeer, "connectToPeer(str, str) -> QDBusConnection");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
             ::QDBusConnection*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusConnection( ::QDBusConnection::connectToPeer(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusConnection, sipName_connectToPeer, doc_QDBusConnection_connectToPeer);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusConnection_disconnectFromBus, "disconnectFromBus(str)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
             ::QDBusConnection::disconnectFromBus(*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_QDBusConnection, sipName_disconnectFromBus, doc_QDBusConnection_disconnectFromBus);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusConnection_disconnectFromPeer, "disconnectFromPeer(str)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
             ::QDBusConnection::disconnectFromPeer(*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_QDBusConnection, sipName_disconnectFromPeer, doc_QDBusConnection_disconnectFromPeer);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusConnection_localMachineId, "localMachineId() -> QByteArray");

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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QByteArray*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QByteArray( ::QDBusConnection::localMachineId());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusConnection, sipName_localMachineId, doc_QDBusConnection_localMachineId);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusConnection_sessionBus, "sessionBus() -> QDBusConnection");

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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QDBusConnection*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusConnection( ::QDBusConnection::sessionBus());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusConnection, sipName_sessionBus, doc_QDBusConnection_sessionBus);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusConnection_systemBus, "systemBus() -> QDBusConnection");

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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QDBusConnection*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusConnection( ::QDBusConnection::systemBus());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusConnection, sipName_systemBus, doc_QDBusConnection_systemBus);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusConnection_sender, "sender() -> QDBusConnection");

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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QDBusConnection*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusConnection( ::QDBusConnection::sender());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDBusConnection(void *, int);}
static void release_QDBusConnection(void *sipCppV, int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast< ::QDBusConnection *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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

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

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::QDBusConnection(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipCpp;
        }
    }

    {
        const  ::QDBusConnection* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDBusConnection, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::QDBusConnection(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QDBusConnection[] = {
    {SIP_MLNAME_CAST(sipName_asyncCall), (PyCFunction)meth_QDBusConnection_asyncCall, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDBusConnection_asyncCall)},
    {SIP_MLNAME_CAST(sipName_baseService), meth_QDBusConnection_baseService, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusConnection_baseService)},
    {SIP_MLNAME_CAST(sipName_call), (PyCFunction)meth_QDBusConnection_call, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDBusConnection_call)},
    {SIP_MLNAME_CAST(sipName_callWithCallback), (PyCFunction)meth_QDBusConnection_callWithCallback, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDBusConnection_callWithCallback)},
    {SIP_MLNAME_CAST(sipName_connect), meth_QDBusConnection_connect, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusConnection_connect)},
    {SIP_MLNAME_CAST(sipName_connectToBus), meth_QDBusConnection_connectToBus, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusConnection_connectToBus)},
    {SIP_MLNAME_CAST(sipName_connectToPeer), meth_QDBusConnection_connectToPeer, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusConnection_connectToPeer)},
    {SIP_MLNAME_CAST(sipName_connectionCapabilities), meth_QDBusConnection_connectionCapabilities, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusConnection_connectionCapabilities)},
    {SIP_MLNAME_CAST(sipName_disconnect), meth_QDBusConnection_disconnect, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusConnection_disconnect)},
    {SIP_MLNAME_CAST(sipName_disconnectFromBus), meth_QDBusConnection_disconnectFromBus, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusConnection_disconnectFromBus)},
    {SIP_MLNAME_CAST(sipName_disconnectFromPeer), meth_QDBusConnection_disconnectFromPeer, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusConnection_disconnectFromPeer)},
    {SIP_MLNAME_CAST(sipName_interface), meth_QDBusConnection_interface, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusConnection_interface)},
    {SIP_MLNAME_CAST(sipName_isConnected), meth_QDBusConnection_isConnected, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusConnection_isConnected)},
    {SIP_MLNAME_CAST(sipName_lastError), meth_QDBusConnection_lastError, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusConnection_lastError)},
    {SIP_MLNAME_CAST(sipName_localMachineId), meth_QDBusConnection_localMachineId, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusConnection_localMachineId)},
    {SIP_MLNAME_CAST(sipName_name), meth_QDBusConnection_name, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusConnection_name)},
    {SIP_MLNAME_CAST(sipName_objectRegisteredAt), meth_QDBusConnection_objectRegisteredAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusConnection_objectRegisteredAt)},
    {SIP_MLNAME_CAST(sipName_registerObject), (PyCFunction)meth_QDBusConnection_registerObject, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDBusConnection_registerObject)},
    {SIP_MLNAME_CAST(sipName_registerService), meth_QDBusConnection_registerService, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusConnection_registerService)},
    {SIP_MLNAME_CAST(sipName_send), meth_QDBusConnection_send, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusConnection_send)},
    {SIP_MLNAME_CAST(sipName_sender), meth_QDBusConnection_sender, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusConnection_sender)},
    {SIP_MLNAME_CAST(sipName_sessionBus), meth_QDBusConnection_sessionBus, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusConnection_sessionBus)},
    {SIP_MLNAME_CAST(sipName_systemBus), meth_QDBusConnection_systemBus, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusConnection_systemBus)},
    {SIP_MLNAME_CAST(sipName_unregisterObject), (PyCFunction)meth_QDBusConnection_unregisterObject, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDBusConnection_unregisterObject)},
    {SIP_MLNAME_CAST(sipName_unregisterService), meth_QDBusConnection_unregisterService, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusConnection_unregisterService)}
};

static sipEnumMemberDef enummembers_QDBusConnection[] = {
    {sipName_ActivationBus, static_cast<int>( ::QDBusConnection::ActivationBus), 6},
    {sipName_ExportAdaptors, static_cast<int>( ::QDBusConnection::ExportAdaptors), 9},
    {sipName_ExportAllContents, static_cast<int>( ::QDBusConnection::ExportAllContents), 9},
    {sipName_ExportAllInvokables, static_cast<int>( ::QDBusConnection::ExportAllInvokables), 9},
    {sipName_ExportAllProperties, static_cast<int>( ::QDBusConnection::ExportAllProperties), 9},
    {sipName_ExportAllSignal, static_cast<int>( ::QDBusConnection::ExportAllSignal), 9},
    {sipName_ExportAllSignals, static_cast<int>( ::QDBusConnection::ExportAllSignals), 9},
    {sipName_ExportAllSlots, static_cast<int>( ::QDBusConnection::ExportAllSlots), 9},
    {sipName_ExportChildObjects, static_cast<int>( ::QDBusConnection::ExportChildObjects), 9},
    {sipName_ExportNonScriptableContents, static_cast<int>( ::QDBusConnection::ExportNonScriptableContents), 9},
    {sipName_ExportNonScriptableInvokables, static_cast<int>( ::QDBusConnection::ExportNonScriptableInvokables), 9},
    {sipName_ExportNonScriptableProperties, static_cast<int>( ::QDBusConnection::ExportNonScriptableProperties), 9},
    {sipName_ExportNonScriptableSignals, static_cast<int>( ::QDBusConnection::ExportNonScriptableSignals), 9},
    {sipName_ExportNonScriptableSlots, static_cast<int>( ::QDBusConnection::ExportNonScriptableSlots), 9},
    {sipName_ExportScriptableContents, static_cast<int>( ::QDBusConnection::ExportScriptableContents), 9},
    {sipName_ExportScriptableInvokables, static_cast<int>( ::QDBusConnection::ExportScriptableInvokables), 9},
    {sipName_ExportScriptableProperties, static_cast<int>( ::QDBusConnection::ExportScriptableProperties), 9},
    {sipName_ExportScriptableSignals, static_cast<int>( ::QDBusConnection::ExportScriptableSignals), 9},
    {sipName_ExportScriptableSlots, static_cast<int>( ::QDBusConnection::ExportScriptableSlots), 9},
    {sipName_SessionBus, static_cast<int>( ::QDBusConnection::SessionBus), 6},
    {sipName_SystemBus, static_cast<int>( ::QDBusConnection::SystemBus), 6},
    {sipName_UnixFileDescriptorPassing, static_cast<int>( ::QDBusConnection::UnixFileDescriptorPassing), 8},
    {sipName_UnregisterNode, static_cast<int>( ::QDBusConnection::UnregisterNode), 11},
    {sipName_UnregisterTree, static_cast<int>( ::QDBusConnection::UnregisterTree), 11},
};

PyDoc_STRVAR(doc_QDBusConnection, "\1QDBusConnection(str)\n"
"QDBusConnection(QDBusConnection)");


static pyqt4ClassPluginDef plugin_QDBusConnection = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtDBus_QDBusConnection = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDBusConnection,
        {0},
        &plugin_QDBusConnection
    },
    {
        sipNameNr_QDBusConnection,
        {0, 0, 1},
        25, methods_QDBusConnection,
        24, enummembers_QDBusConnection,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDBusConnection,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QDBusConnection,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDBusConnection,
    0,
    0,
    0,
    release_QDBusConnection,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusconnection.sip"
#include <qdbusconnection.h>
#line 11989 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"


static sipEnumMemberDef enummembers_QDBus[] = {
    {sipName_AutoDetect, static_cast<int>( ::QDBus::AutoDetect), 1},
    {sipName_Block, static_cast<int>( ::QDBus::Block), 1},
    {sipName_BlockWithGui, static_cast<int>( ::QDBus::BlockWithGui), 1},
    {sipName_NoBlock, static_cast<int>( ::QDBus::NoBlock), 1},
};


static pyqt4ClassPluginDef plugin_QDBus = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtDBus_QDBus = {
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_QDBus,
        {0},
        &plugin_QDBus
    },
    {
        sipNameNr_QDBus,
        {0, 0, 1},
        0, 0,
        4, enummembers_QDBus,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusargument.sip"
#include <qdbusargument.h>
#line 12058 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

#line 32 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusargument.sip"
#include <QStringList>


static PyObject *qdbusargument_add(QDBusArgument *arg, PyObject *obj, int mtype)
{
    int iserr = 0;

    if (PyLong_CheckExact(obj)
#if PY_MAJOR_VERSION < 3
            || PyInt_CheckExact(obj)
#endif
            )
    {
        if (mtype == QMetaType::UChar || mtype == QMetaType::UShort || mtype == QMetaType::UInt || mtype == QMetaType::ULongLong)
        {
            // Handle the unsigned values.
#if defined(HAVE_LONG_LONG)
            unsigned PY_LONG_LONG v = PyLong_AsUnsignedLongLongMask(obj);
#else
            unsigned long v = PyLong_AsUnsignedLongMask(obj);
#endif

            switch (mtype)
            {
            case QMetaType::UChar:
                *arg << (uchar)v;
                break;

            case QMetaType::UShort:
                *arg << (ushort)v;
                break;

            case QMetaType::UInt:
                *arg << (uint)v;
                break;

            case QMetaType::ULongLong:
                *arg << (qulonglong)v;
                break;
            }
        }
        else if (mtype == QMetaType::Short || mtype == QMetaType::Int || mtype == QMetaType::LongLong)
        {
            // Handle the signed values.
#if defined(HAVE_LONG_LONG)
            PY_LONG_LONG v = PyLong_AsLongLong(obj);
#else
            long v = PyLong_AsLong(obj);
#endif

            switch (mtype)
            {
            case QMetaType::Short:
                *arg << (short)v;
                break;

            case QMetaType::Int:
                *arg << (int)v;
                break;

            case QMetaType::LongLong:
                *arg << (qlonglong)v;
                break;
            }
        }
        else
        {
            PyErr_Format(PyExc_ValueError,
                    "%d is an invalid QMetaType::Type for an interger object",
                    mtype);
            iserr = 1;
        }
    }
    else if (mtype == QMetaType::QStringList)
    {
        // A QStringList has to be handled explicitly to prevent it being seen
        // as a vialiant list.

        int value_state;

        QStringList *qsl = reinterpret_cast<QStringList *>(
                sipForceConvertToType(obj, sipType_QStringList, 0,
                        SIP_NOT_NONE, &value_state, &iserr));

        if (!iserr)
        {
            arg->beginArray(QMetaType::QString);

            for (int i = 0; i < qsl->count(); ++i)
                *arg << qsl->at(i);

            arg->endArray();

            sipReleaseType(qsl, sipType_QStringList, value_state);
        }
    }
    else
    {
        int value_state;

        QVariant *qv = reinterpret_cast<QVariant *>(
                sipForceConvertToType(obj, sipType_QVariant, 0, SIP_NOT_NONE,
                        &value_state, &iserr));

        if (!iserr)
        {
            // This is an internal method. If it proves to be a problem then we
            // will have to handle each type explicitly.
            arg->appendVariant(*qv);
            sipReleaseType(qv, sipType_QVariant, value_state);
        }
    }

    if (iserr)
        return 0;

    Py_INCREF(Py_None);
    return Py_None;
}
#line 12180 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"


PyDoc_STRVAR(doc_QDBusArgument_add, "add(self, object, id: int = QMetaType.Int)");

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

    {
        PyObject * a0;
        int a1 = QMetaType::Int;
         ::QDBusArgument *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BP0|i", &sipSelf, sipType_QDBusArgument, &sipCpp, &a0, &a1))
        {
            PyObject * sipRes = 0;

#line 175 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusargument.sip"
        sipRes = qdbusargument_add(sipCpp, a0, a1);
#line 12207 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusArgument, sipName_add, doc_QDBusArgument_add);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusArgument_beginStructure, "beginStructure(self)");

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

    {
         ::QDBusArgument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDBusArgument, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->beginStructure();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusArgument, sipName_beginStructure, doc_QDBusArgument_beginStructure);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusArgument_endStructure, "endStructure(self)");

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

    {
         ::QDBusArgument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDBusArgument, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->endStructure();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusArgument, sipName_endStructure, doc_QDBusArgument_endStructure);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusArgument_beginArray, "beginArray(self, int)");

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

    {
        int a0;
         ::QDBusArgument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QDBusArgument, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->beginArray(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_QDBusArgument, sipName_beginArray, doc_QDBusArgument_beginArray);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusArgument_endArray, "endArray(self)");

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

    {
         ::QDBusArgument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDBusArgument, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->endArray();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusArgument, sipName_endArray, doc_QDBusArgument_endArray);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusArgument_beginMap, "beginMap(self, int, int)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QDBusArgument, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->beginMap(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_QDBusArgument, sipName_beginMap, doc_QDBusArgument_beginMap);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusArgument_endMap, "endMap(self)");

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

    {
         ::QDBusArgument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDBusArgument, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->endMap();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusArgument, sipName_endMap, doc_QDBusArgument_endMap);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusArgument_beginMapEntry, "beginMapEntry(self)");

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

    {
         ::QDBusArgument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDBusArgument, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->beginMapEntry();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusArgument, sipName_beginMapEntry, doc_QDBusArgument_beginMapEntry);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusArgument_endMapEntry, "endMapEntry(self)");

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

    {
         ::QDBusArgument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDBusArgument, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->endMapEntry();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusArgument, sipName_endMapEntry, doc_QDBusArgument_endMapEntry);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDBusArgument(void *, int);}
static void release_QDBusArgument(void *sipCppV, int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast< ::QDBusArgument *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


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


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

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

            return sipCpp;
        }
    }

    {
        const  ::QDBusArgument* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDBusArgument, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::QDBusArgument(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        PyObject * a0;
        int a1 = QMetaType::Int;

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

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "P0|i", &a0, &a1))
        {
#line 158 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusargument.sip"
        sipCpp = new QDBusArgument();
        PyObject *res = qdbusargument_add(sipCpp, a0, a1);
        
        if (res)
        {
            Py_DECREF(res);
        }
        else
        {
            delete sipCpp;
            sipCpp = 0;
        }
#line 12551 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QDBusArgument[] = {
    {SIP_MLNAME_CAST(sipName_add), (PyCFunction)meth_QDBusArgument_add, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDBusArgument_add)},
    {SIP_MLNAME_CAST(sipName_beginArray), meth_QDBusArgument_beginArray, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusArgument_beginArray)},
    {SIP_MLNAME_CAST(sipName_beginMap), meth_QDBusArgument_beginMap, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusArgument_beginMap)},
    {SIP_MLNAME_CAST(sipName_beginMapEntry), meth_QDBusArgument_beginMapEntry, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusArgument_beginMapEntry)},
    {SIP_MLNAME_CAST(sipName_beginStructure), meth_QDBusArgument_beginStructure, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusArgument_beginStructure)},
    {SIP_MLNAME_CAST(sipName_endArray), meth_QDBusArgument_endArray, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusArgument_endArray)},
    {SIP_MLNAME_CAST(sipName_endMap), meth_QDBusArgument_endMap, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusArgument_endMap)},
    {SIP_MLNAME_CAST(sipName_endMapEntry), meth_QDBusArgument_endMapEntry, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusArgument_endMapEntry)},
    {SIP_MLNAME_CAST(sipName_endStructure), meth_QDBusArgument_endStructure, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusArgument_endStructure)}
};

PyDoc_STRVAR(doc_QDBusArgument, "\1QDBusArgument()\n"
"QDBusArgument(QDBusArgument)\n"
"QDBusArgument(object, id: int = QMetaType.Int)");


static pyqt4ClassPluginDef plugin_QDBusArgument = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtDBus_QDBusArgument = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDBusArgument,
        {0},
        &plugin_QDBusArgument
    },
    {
        sipNameNr_QDBusArgument,
        {0, 0, 1},
        9, methods_QDBusArgument,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDBusArgument,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QDBusArgument,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDBusArgument,
    assign_QDBusArgument,
    array_QDBusArgument,
    copy_QDBusArgument,
    release_QDBusArgument,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusabstractinterface.sip"
#include <qdbusabstractinterface.h>
#line 12639 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

#line 27 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 12643 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 46 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusconnection.sip"
#include <qdbusconnection.h>
#line 12646 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 29 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 12649 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbuspendingcall.sip"
#include <qdbuspendingcall.h>
#line 12652 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 12655 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12658 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 265 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12661 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusmessage.sip"
#include <qdbusmessage.h>
#line 12664 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusconnection.sip"
#include <qdbusconnection.h>
#line 12667 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbuserror.sip"
#include <qdbuserror.h>
#line 12670 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12673 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 368 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12676 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 351 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12679 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 12682 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 32 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 12685 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12688 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 115 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 12691 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 12694 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 12697 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 12700 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"


class sipQDBusAbstractInterface : public  ::QDBusAbstractInterface
{
public:
    sipQDBusAbstractInterface(const  ::QString&,const  ::QString&,const char*,const  ::QDBusConnection&, ::QObject*);
    virtual ~sipQDBusAbstractInterface();

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[7];
};

sipQDBusAbstractInterface::sipQDBusAbstractInterface(const  ::QString& a0,const  ::QString& a1,const char*a2,const  ::QDBusConnection& a3, ::QObject*a4):  ::QDBusAbstractInterface(a0,a1,a2,a3,a4), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDBusAbstractInterface::~sipQDBusAbstractInterface()
{
    sipInstanceDestroyedEx(&sipPySelf);
}

const QMetaObject *sipQDBusAbstractInterface::metaObject() const
{
    return sip_QtDBus_qt_metaobject(sipPySelf,sipType_QDBusAbstractInterface);
}

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

    if (_id >= 0)
        _id = sip_QtDBus_qt_metacall(sipPySelf,sipType_QDBusAbstractInterface,_c,_id,_a);

    return _id;
}

void *sipQDBusAbstractInterface::qt_metacast(const char *_clname)
{
    return (sip_QtDBus_qt_metacast(sipPySelf, sipType_QDBusAbstractInterface, _clname)) ? this :  ::QDBusAbstractInterface::qt_metacast(_clname);
}

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

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

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

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

    return sipVH_QtDBus_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_QtDBus_4(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    extern void sipVH_QtDBus_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

    extern void sipVH_QtDBus_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

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

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

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

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

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


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

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

    {
        const sipQDBusAbstractInterface *sipCpp;

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

#line 678 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
        {
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
            Q_ASSERT(helper);
        }
        
        // 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
        
        sipRes = helper(sipRes);
#line 12980 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

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

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

    return NULL;
}


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

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

    {
        PyObject * a0;
        const sipQDBusAbstractInterface *sipCpp;

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

#line 706 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helpers if it hasn't already been done.
        typedef const char *(*pyqt4_get_signal_t)(PyObject *);
        typedef int (*receivers_helper_func)(QObject *, const char *, int);
        
        static pyqt4_get_signal_t pyqt4_get_signal = 0;
        static receivers_helper_func receivers_helper = 0;
        
        if (!pyqt4_get_signal)
        {
            pyqt4_get_signal = (pyqt4_get_signal_t)sipImportSymbol("pyqt4_get_signal");
            Q_ASSERT(pyqt4_get_signal);
        }
        
        if (!receivers_helper)
        {
            receivers_helper = (receivers_helper_func)sipImportSymbol("qpycore_qobject_receivers");
            Q_ASSERT(receivers_helper);
        }
        
        // PyQt5: Get rid of the const casts.
        const char *sig = pyqt4_get_signal(a0);
            
        if (sig)
        {
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = receivers_helper(const_cast<QObject *>(sipCpp), sig, sipCpp->receivers(sig));
        #else
            sipRes = receivers_helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), sig, sipCpp->sipProtect_receivers(sig));
        #endif
        }
        else
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 13046 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

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

            sipAddException(sipError, &sipParseErr);
        }
    }

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

    return NULL;
}


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

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

    {
         ::QTimerEvent* a0;
        sipQDBusAbstractInterface *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDBusAbstractInterface, &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_QDBusAbstractInterface, sipName_timerEvent, doc_QDBusAbstractInterface_timerEvent);

    return NULL;
}


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

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

    {
         ::QChildEvent* a0;
        sipQDBusAbstractInterface *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDBusAbstractInterface, &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_QDBusAbstractInterface, sipName_childEvent, doc_QDBusAbstractInterface_childEvent);

    return NULL;
}


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

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

    {
         ::QEvent* a0;
        sipQDBusAbstractInterface *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDBusAbstractInterface, &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_QDBusAbstractInterface, sipName_customEvent, doc_QDBusAbstractInterface_customEvent);

    return NULL;
}


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

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

    {
        const sipQDBusAbstractInterface *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDBusAbstractInterface, &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_QDBusAbstractInterface, sipName_senderSignalIndex, doc_QDBusAbstractInterface_senderSignalIndex);

    return NULL;
}


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

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

    {
        const  ::QDBusAbstractInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDBusAbstractInterface, &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_QDBusAbstractInterface, sipName_isValid, doc_QDBusAbstractInterface_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusAbstractInterface_connection, "connection(self) -> QDBusConnection");

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

    {
        const  ::QDBusAbstractInterface *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusConnection(sipCpp->connection());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusAbstractInterface, sipName_connection, doc_QDBusAbstractInterface_connection);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusAbstractInterface_service, "service(self) -> str");

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

    {
        const  ::QDBusAbstractInterface *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->service());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusAbstractInterface, sipName_service, doc_QDBusAbstractInterface_service);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusAbstractInterface_path, "path(self) -> str");

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

    {
        const  ::QDBusAbstractInterface *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->path());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusAbstractInterface, sipName_path, doc_QDBusAbstractInterface_path);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusAbstractInterface_interface, "interface(self) -> str");

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

    {
        const  ::QDBusAbstractInterface *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->interface());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusAbstractInterface, sipName_interface, doc_QDBusAbstractInterface_interface);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusAbstractInterface_lastError, "lastError(self) -> QDBusError");

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

    {
        const  ::QDBusAbstractInterface *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusError(sipCpp->lastError());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusAbstractInterface, sipName_lastError, doc_QDBusAbstractInterface_lastError);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusAbstractInterface_setTimeout, "setTimeout(self, int)");

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

    {
        int a0;
         ::QDBusAbstractInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QDBusAbstractInterface, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTimeout(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_QDBusAbstractInterface, sipName_setTimeout, doc_QDBusAbstractInterface_setTimeout);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusAbstractInterface_timeout, "timeout(self) -> int");

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

    {
        const  ::QDBusAbstractInterface *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->timeout();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusAbstractInterface, sipName_timeout, doc_QDBusAbstractInterface_timeout);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusAbstractInterface_call, "call(self, str, arg1: Any = None, arg2: Any = None, arg3: Any = None, arg4: Any = None, arg5: Any = None, arg6: Any = None, arg7: Any = None, arg8: Any = None) -> QDBusMessage\n"
"call(self, QDBus.CallMode, str, arg1: Any = None, arg2: Any = None, arg3: Any = None, arg4: Any = None, arg5: Any = None, arg6: Any = None, arg7: Any = None, arg8: Any = None) -> QDBusMessage");

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

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QVariant& a1def = QVariant();
        const  ::QVariant* a1 = &a1def;
        int a1State = 0;
        const  ::QVariant& a2def = QVariant();
        const  ::QVariant* a2 = &a2def;
        int a2State = 0;
        const  ::QVariant& a3def = QVariant();
        const  ::QVariant* a3 = &a3def;
        int a3State = 0;
        const  ::QVariant& a4def = QVariant();
        const  ::QVariant* a4 = &a4def;
        int a4State = 0;
        const  ::QVariant& a5def = QVariant();
        const  ::QVariant* a5 = &a5def;
        int a5State = 0;
        const  ::QVariant& a6def = QVariant();
        const  ::QVariant* a6 = &a6def;
        int a6State = 0;
        const  ::QVariant& a7def = QVariant();
        const  ::QVariant* a7 = &a7def;
        int a7State = 0;
        const  ::QVariant& a8def = QVariant();
        const  ::QVariant* a8 = &a8def;
        int a8State = 0;
         ::QDBusAbstractInterface *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_arg1,
            sipName_arg2,
            sipName_arg3,
            sipName_arg4,
            sipName_arg5,
            sipName_arg6,
            sipName_arg7,
            sipName_arg8,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|J1J1J1J1J1J1J1J1", &sipSelf, sipType_QDBusAbstractInterface, &sipCpp, sipType_QString,&a0, &a0State, sipType_QVariant,&a1, &a1State, sipType_QVariant,&a2, &a2State, sipType_QVariant,&a3, &a3State, sipType_QVariant,&a4, &a4State, sipType_QVariant,&a5, &a5State, sipType_QVariant,&a6, &a6State, sipType_QVariant,&a7, &a7State, sipType_QVariant,&a8, &a8State))
        {
             ::QDBusMessage*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusMessage(sipCpp->call(*a0,*a1,*a2,*a3,*a4,*a5,*a6,*a7,*a8));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QVariant *>(a1),sipType_QVariant,a1State);
            sipReleaseType(const_cast< ::QVariant *>(a2),sipType_QVariant,a2State);
            sipReleaseType(const_cast< ::QVariant *>(a3),sipType_QVariant,a3State);
            sipReleaseType(const_cast< ::QVariant *>(a4),sipType_QVariant,a4State);
            sipReleaseType(const_cast< ::QVariant *>(a5),sipType_QVariant,a5State);
            sipReleaseType(const_cast< ::QVariant *>(a6),sipType_QVariant,a6State);
            sipReleaseType(const_cast< ::QVariant *>(a7),sipType_QVariant,a7State);
            sipReleaseType(const_cast< ::QVariant *>(a8),sipType_QVariant,a8State);

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

    {
         ::QDBus::CallMode a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QVariant& a2def = QVariant();
        const  ::QVariant* a2 = &a2def;
        int a2State = 0;
        const  ::QVariant& a3def = QVariant();
        const  ::QVariant* a3 = &a3def;
        int a3State = 0;
        const  ::QVariant& a4def = QVariant();
        const  ::QVariant* a4 = &a4def;
        int a4State = 0;
        const  ::QVariant& a5def = QVariant();
        const  ::QVariant* a5 = &a5def;
        int a5State = 0;
        const  ::QVariant& a6def = QVariant();
        const  ::QVariant* a6 = &a6def;
        int a6State = 0;
        const  ::QVariant& a7def = QVariant();
        const  ::QVariant* a7 = &a7def;
        int a7State = 0;
        const  ::QVariant& a8def = QVariant();
        const  ::QVariant* a8 = &a8def;
        int a8State = 0;
        const  ::QVariant& a9def = QVariant();
        const  ::QVariant* a9 = &a9def;
        int a9State = 0;
         ::QDBusAbstractInterface *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_arg1,
            sipName_arg2,
            sipName_arg3,
            sipName_arg4,
            sipName_arg5,
            sipName_arg6,
            sipName_arg7,
            sipName_arg8,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BEJ1|J1J1J1J1J1J1J1J1", &sipSelf, sipType_QDBusAbstractInterface, &sipCpp, sipType_QDBus_CallMode, &a0, sipType_QString,&a1, &a1State, sipType_QVariant,&a2, &a2State, sipType_QVariant,&a3, &a3State, sipType_QVariant,&a4, &a4State, sipType_QVariant,&a5, &a5State, sipType_QVariant,&a6, &a6State, sipType_QVariant,&a7, &a7State, sipType_QVariant,&a8, &a8State, sipType_QVariant,&a9, &a9State))
        {
             ::QDBusMessage*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusMessage(sipCpp->call(a0,*a1,*a2,*a3,*a4,*a5,*a6,*a7,*a8,*a9));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QVariant *>(a2),sipType_QVariant,a2State);
            sipReleaseType(const_cast< ::QVariant *>(a3),sipType_QVariant,a3State);
            sipReleaseType(const_cast< ::QVariant *>(a4),sipType_QVariant,a4State);
            sipReleaseType(const_cast< ::QVariant *>(a5),sipType_QVariant,a5State);
            sipReleaseType(const_cast< ::QVariant *>(a6),sipType_QVariant,a6State);
            sipReleaseType(const_cast< ::QVariant *>(a7),sipType_QVariant,a7State);
            sipReleaseType(const_cast< ::QVariant *>(a8),sipType_QVariant,a8State);
            sipReleaseType(const_cast< ::QVariant *>(a9),sipType_QVariant,a9State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusAbstractInterface, sipName_call, doc_QDBusAbstractInterface_call);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusAbstractInterface_callWithArgumentList, "callWithArgumentList(self, QDBus.CallMode, str, Sequence[Any]) -> QDBusMessage");

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

    {
         ::QDBus::CallMode a0;
        const  ::QString* a1;
        int a1State = 0;
        const QList< ::QVariant>* a2;
        int a2State = 0;
         ::QDBusAbstractInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ1J1", &sipSelf, sipType_QDBusAbstractInterface, &sipCpp, sipType_QDBus_CallMode, &a0, sipType_QString,&a1, &a1State, sipType_QList_0100QVariant,&a2, &a2State))
        {
             ::QDBusMessage*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusMessage(sipCpp->callWithArgumentList(a0,*a1,*a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QList< ::QVariant> *>(a2),sipType_QList_0100QVariant,a2State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusAbstractInterface, sipName_callWithArgumentList, doc_QDBusAbstractInterface_callWithArgumentList);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusAbstractInterface_callWithCallback, "callWithCallback(self, str, Sequence[Any], QObject, QT_SLOT, QT_SLOT) -> bool\n"
"callWithCallback(self, str, Sequence[Any], Callable[..., None], Callable[..., None]) -> bool\n"
"callWithCallback(self, str, Sequence[Any], QObject, QT_SLOT) -> bool\n"
"callWithCallback(self, str, Sequence[Any], Callable[..., None]) -> bool");

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

    {
        const  ::QString* a0;
        int a0State = 0;
        const QList< ::QVariant>* a1;
        int a1State = 0;
         ::QObject* a2;
        PyObject * a3;
        PyObject * a4;
         ::QDBusAbstractInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J8P0P0", &sipSelf, sipType_QDBusAbstractInterface, &sipCpp, sipType_QString,&a0, &a0State, sipType_QList_0100QVariant,&a1, &a1State, sipType_QObject, &a2, &a3, &a4))
        {
            bool sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 83 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusabstractinterface.sip"
        const char *ret_slot = pyqt4_qtdbus_get_slot(a3);
        
        if (ret_slot)
        {
            const char *err_slot = pyqt4_qtdbus_get_slot(a4);
        
            if (err_slot)
            {
                Py_BEGIN_ALLOW_THREADS
                sipRes = sipCpp->callWithCallback(*a0, *a1, a2, ret_slot, err_slot);
                Py_END_ALLOW_THREADS
            }
            else
            {
                sipError = sipBadCallableArg(4, a4);
            }
        }
        else
        {
            sipError = sipBadCallableArg(3, a3);
        }
#line 13661 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QList< ::QVariant> *>(a1),sipType_QList_0100QVariant,a1State);

            if (sipError == sipErrorFail)
                return 0;

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

            sipAddException(sipError, &sipParseErr);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const QList< ::QVariant>* a1;
        int a1State = 0;
        PyObject * a2;
        PyObject * a3;
         ::QDBusAbstractInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1FF", &sipSelf, sipType_QDBusAbstractInterface, &sipCpp, sipType_QString,&a0, &a0State, sipType_QList_0100QVariant,&a1, &a1State, &a2, &a3))
        {
            bool sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 108 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusabstractinterface.sip"
        QObject *receiver;
        QByteArray retslot_signature;
        
        if ((sipError = pyqt4_qtdbus_get_pyqtslot_parts(a2, &receiver, retslot_signature)) == sipErrorNone)
        {
            QObject *error_receiver;
            QByteArray errslot_signature;
        
            if ((sipError = pyqt4_qtdbus_get_pyqtslot_parts(a3, &error_receiver, errslot_signature)) == sipErrorNone)
            {
                if (receiver == error_receiver)
                {
                    Py_BEGIN_ALLOW_THREADS
                    sipRes = sipCpp->callWithCallback(*a0, *a1, receiver, retslot_signature.constData(), errslot_signature.constData());
                    Py_END_ALLOW_THREADS
                }
                else
                {
                    PyErr_SetString(PyExc_ValueError,
                            "the return and error methods must be bound to the same QObject instance");
                    sipError = sipErrorFail;
                }
            }
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(3, a3);
            }
        }
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(2, a2);
        }
#line 13724 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QList< ::QVariant> *>(a1),sipType_QList_0100QVariant,a1State);

            if (sipError == sipErrorFail)
                return 0;

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

            sipAddException(sipError, &sipParseErr);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const QList< ::QVariant>* a1;
        int a1State = 0;
         ::QObject* a2;
        PyObject * a3;
         ::QDBusAbstractInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J8P0", &sipSelf, sipType_QDBusAbstractInterface, &sipCpp, sipType_QString,&a0, &a0State, sipType_QList_0100QVariant,&a1, &a1State, sipType_QObject, &a2, &a3))
        {
            bool sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 144 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusabstractinterface.sip"
        const char *slot = pyqt4_qtdbus_get_slot(a3);
        
        if (slot)
        {
            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->callWithCallback(*a0, *a1, a2, slot);
            Py_END_ALLOW_THREADS
        }
        else
        {
            sipError = sipBadCallableArg(3, a3);
        }
#line 13767 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QList< ::QVariant> *>(a1),sipType_QList_0100QVariant,a1State);

            if (sipError == sipErrorFail)
                return 0;

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

            sipAddException(sipError, &sipParseErr);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const QList< ::QVariant>* a1;
        int a1State = 0;
        PyObject * a2;
         ::QDBusAbstractInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1F", &sipSelf, sipType_QDBusAbstractInterface, &sipCpp, sipType_QString,&a0, &a0State, sipType_QList_0100QVariant,&a1, &a1State, &a2))
        {
            bool sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 160 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusabstractinterface.sip"
        QObject *receiver;
        QByteArray slot_signature;
        
        if ((sipError = pyqt4_qtdbus_get_pyqtslot_parts(a2, &receiver, slot_signature)) == sipErrorNone)
        {
            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->callWithCallback(*a0, *a1, receiver, slot_signature.constData());
            Py_END_ALLOW_THREADS
        }
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(2, a2);
        }
#line 13810 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QList< ::QVariant> *>(a1),sipType_QList_0100QVariant,a1State);

            if (sipError == sipErrorFail)
                return 0;

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

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusAbstractInterface, sipName_callWithCallback, doc_QDBusAbstractInterface_callWithCallback);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusAbstractInterface_asyncCall, "asyncCall(self, str, arg1: Any = None, arg2: Any = None, arg3: Any = None, arg4: Any = None, arg5: Any = None, arg6: Any = None, arg7: Any = None, arg8: Any = None) -> QDBusPendingCall");

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

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QVariant& a1def = QVariant();
        const  ::QVariant* a1 = &a1def;
        int a1State = 0;
        const  ::QVariant& a2def = QVariant();
        const  ::QVariant* a2 = &a2def;
        int a2State = 0;
        const  ::QVariant& a3def = QVariant();
        const  ::QVariant* a3 = &a3def;
        int a3State = 0;
        const  ::QVariant& a4def = QVariant();
        const  ::QVariant* a4 = &a4def;
        int a4State = 0;
        const  ::QVariant& a5def = QVariant();
        const  ::QVariant* a5 = &a5def;
        int a5State = 0;
        const  ::QVariant& a6def = QVariant();
        const  ::QVariant* a6 = &a6def;
        int a6State = 0;
        const  ::QVariant& a7def = QVariant();
        const  ::QVariant* a7 = &a7def;
        int a7State = 0;
        const  ::QVariant& a8def = QVariant();
        const  ::QVariant* a8 = &a8def;
        int a8State = 0;
         ::QDBusAbstractInterface *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_arg1,
            sipName_arg2,
            sipName_arg3,
            sipName_arg4,
            sipName_arg5,
            sipName_arg6,
            sipName_arg7,
            sipName_arg8,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|J1J1J1J1J1J1J1J1", &sipSelf, sipType_QDBusAbstractInterface, &sipCpp, sipType_QString,&a0, &a0State, sipType_QVariant,&a1, &a1State, sipType_QVariant,&a2, &a2State, sipType_QVariant,&a3, &a3State, sipType_QVariant,&a4, &a4State, sipType_QVariant,&a5, &a5State, sipType_QVariant,&a6, &a6State, sipType_QVariant,&a7, &a7State, sipType_QVariant,&a8, &a8State))
        {
             ::QDBusPendingCall*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusPendingCall(sipCpp->asyncCall(*a0,*a1,*a2,*a3,*a4,*a5,*a6,*a7,*a8));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QVariant *>(a1),sipType_QVariant,a1State);
            sipReleaseType(const_cast< ::QVariant *>(a2),sipType_QVariant,a2State);
            sipReleaseType(const_cast< ::QVariant *>(a3),sipType_QVariant,a3State);
            sipReleaseType(const_cast< ::QVariant *>(a4),sipType_QVariant,a4State);
            sipReleaseType(const_cast< ::QVariant *>(a5),sipType_QVariant,a5State);
            sipReleaseType(const_cast< ::QVariant *>(a6),sipType_QVariant,a6State);
            sipReleaseType(const_cast< ::QVariant *>(a7),sipType_QVariant,a7State);
            sipReleaseType(const_cast< ::QVariant *>(a8),sipType_QVariant,a8State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusAbstractInterface, sipName_asyncCall, doc_QDBusAbstractInterface_asyncCall);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusAbstractInterface_asyncCallWithArgumentList, "asyncCallWithArgumentList(self, str, Sequence[Any]) -> QDBusPendingCall");

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

    {
        const  ::QString* a0;
        int a0State = 0;
        const QList< ::QVariant>* a1;
        int a1State = 0;
         ::QDBusAbstractInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QDBusAbstractInterface, &sipCpp, sipType_QString,&a0, &a0State, sipType_QList_0100QVariant,&a1, &a1State))
        {
             ::QDBusPendingCall*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDBusPendingCall(sipCpp->asyncCallWithArgumentList(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QList< ::QVariant> *>(a1),sipType_QList_0100QVariant,a1State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusAbstractInterface, sipName_asyncCallWithArgumentList, doc_QDBusAbstractInterface_asyncCallWithArgumentList);

    return NULL;
}


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

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

    {
        PyObject * a0;
        sipQDBusAbstractInterface *sipCpp;

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

#line 186 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusabstractinterface.sip"
        typedef const char *(*pyqt4_get_signal_t)(PyObject *);
        
        static pyqt4_get_signal_t pyqt4_get_signal = 0;
        
        if (!pyqt4_get_signal)
        {
            pyqt4_get_signal = (pyqt4_get_signal_t)sipImportSymbol("pyqt4_get_signal");
            Q_ASSERT(pyqt4_get_signal);
        }
        
        const char *sig = pyqt4_get_signal(a0);
            
        if (sig)
        {
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            (sipSelfWasArg ? sipCpp->QDBusAbstractInterface::connectNotify(sig) : sipCpp->connectNotify(sig));
        #else
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg, sig);
        #endif
        }
        else
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 13988 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            Py_INCREF(Py_None);
            return Py_None;
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

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

    return NULL;
}


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

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

    {
        PyObject * a0;
        sipQDBusAbstractInterface *sipCpp;

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

#line 219 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusabstractinterface.sip"
        typedef const char *(*pyqt4_get_signal_t)(PyObject *);
        
        static pyqt4_get_signal_t pyqt4_get_signal = 0;
        
        if (!pyqt4_get_signal)
        {
            pyqt4_get_signal = (pyqt4_get_signal_t)sipImportSymbol("pyqt4_get_signal");
            Q_ASSERT(pyqt4_get_signal);
        }
        
        const char *sig = pyqt4_get_signal(a0);
            
        if (sig)
        {
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            (sipSelfWasArg ? sipCpp->QDBusAbstractInterface::disconnectNotify(sig) : sipCpp->disconnectNotify(sig));
        #else
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg, sig);
        #endif
        }
        else
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 14052 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            Py_INCREF(Py_None);
            return Py_None;
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

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

    return NULL;
}


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

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

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        const char* a2;
        PyObject *a2Keep;
        const  ::QDBusConnection* a3;
         ::QObject* a4;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1AAJ9JH", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, &a2Keep, &a2, sipType_QDBusConnection, &a3, sipType_QObject, &a4, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQDBusAbstractInterface(*a0,*a1,a2,*a3,a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            Py_DECREF(a2Keep);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_QDBusAbstractInterface[] = {
    {SIP_MLNAME_CAST(sipName_asyncCall), (PyCFunction)meth_QDBusAbstractInterface_asyncCall, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDBusAbstractInterface_asyncCall)},
    {SIP_MLNAME_CAST(sipName_asyncCallWithArgumentList), meth_QDBusAbstractInterface_asyncCallWithArgumentList, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusAbstractInterface_asyncCallWithArgumentList)},
    {SIP_MLNAME_CAST(sipName_call), (PyCFunction)meth_QDBusAbstractInterface_call, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDBusAbstractInterface_call)},
    {SIP_MLNAME_CAST(sipName_callWithArgumentList), meth_QDBusAbstractInterface_callWithArgumentList, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusAbstractInterface_callWithArgumentList)},
    {SIP_MLNAME_CAST(sipName_callWithCallback), meth_QDBusAbstractInterface_callWithCallback, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusAbstractInterface_callWithCallback)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QDBusAbstractInterface_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QDBusAbstractInterface_connectNotify, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDBusAbstractInterface_connectNotify)},
    {SIP_MLNAME_CAST(sipName_connection), meth_QDBusAbstractInterface_connection, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusAbstractInterface_connection)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QDBusAbstractInterface_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QDBusAbstractInterface_disconnectNotify, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDBusAbstractInterface_disconnectNotify)},
    {SIP_MLNAME_CAST(sipName_interface), meth_QDBusAbstractInterface_interface, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusAbstractInterface_interface)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QDBusAbstractInterface_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusAbstractInterface_isValid)},
    {SIP_MLNAME_CAST(sipName_lastError), meth_QDBusAbstractInterface_lastError, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusAbstractInterface_lastError)},
    {SIP_MLNAME_CAST(sipName_path), meth_QDBusAbstractInterface_path, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusAbstractInterface_path)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QDBusAbstractInterface_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QDBusAbstractInterface_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QDBusAbstractInterface_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_service), meth_QDBusAbstractInterface_service, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusAbstractInterface_service)},
    {SIP_MLNAME_CAST(sipName_setTimeout), meth_QDBusAbstractInterface_setTimeout, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusAbstractInterface_setTimeout)},
    {SIP_MLNAME_CAST(sipName_timeout), meth_QDBusAbstractInterface_timeout, METH_VARARGS, SIP_MLDOC_CAST(doc_QDBusAbstractInterface_timeout)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QDBusAbstractInterface_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QDBusAbstractInterface, "\1QDBusAbstractInterface(str, str, str, QDBusConnection, QObject)");


static pyqt4ClassPluginDef plugin_QDBusAbstractInterface = {
    & ::QDBusAbstractInterface::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtDBus_QDBusAbstractInterface = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QDBusAbstractInterface,
        {0},
        &plugin_QDBusAbstractInterface
    },
    {
        sipNameNr_QDBusAbstractInterface,
        {0, 0, 1},
        21, methods_QDBusAbstractInterface,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDBusAbstractInterface,
    -1,
    -1,
    supers_QDBusAbstractInterface,
    0,
    init_type_QDBusAbstractInterface,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDBusAbstractInterface,
    0,
    0,
    0,
    release_QDBusAbstractInterface,
    cast_QDBusAbstractInterface,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtDBus/qdbusabstractadaptor.sip"
#include <qdbusabstractadaptor.h>
#line 14241 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

#line 29 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 14245 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14248 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 368 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14251 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 351 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14254 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 265 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 14257 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 14260 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 32 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 14263 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14266 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 115 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qlist.sip"
#include <qlist.h>
#line 14269 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 14272 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 27 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 14275 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 14278 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 14281 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"


class sipQDBusAbstractAdaptor : public  ::QDBusAbstractAdaptor
{
public:
    sipQDBusAbstractAdaptor( ::QObject*);
    virtual ~sipQDBusAbstractAdaptor();

    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;
    void sipProtect_setAutoRelaySignals(bool);
    bool sipProtect_autoRelaySignals() const;

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[7];
};

sipQDBusAbstractAdaptor::sipQDBusAbstractAdaptor( ::QObject*a0):  ::QDBusAbstractAdaptor(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDBusAbstractAdaptor::~sipQDBusAbstractAdaptor()
{
    sipInstanceDestroyedEx(&sipPySelf);
}

const QMetaObject *sipQDBusAbstractAdaptor::metaObject() const
{
    return sip_QtDBus_qt_metaobject(sipPySelf,sipType_QDBusAbstractAdaptor);
}

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

    if (_id >= 0)
        _id = sip_QtDBus_qt_metacall(sipPySelf,sipType_QDBusAbstractAdaptor,_c,_id,_a);

    return _id;
}

void *sipQDBusAbstractAdaptor::qt_metacast(const char *_clname)
{
    return (sip_QtDBus_qt_metacast(sipPySelf, sipType_QDBusAbstractAdaptor, _clname)) ? this :  ::QDBusAbstractAdaptor::qt_metacast(_clname);
}

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

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

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

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

    return sipVH_QtDBus_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_QtDBus_4(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    extern void sipVH_QtDBus_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

    extern void sipVH_QtDBus_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

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

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

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

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

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

void sipQDBusAbstractAdaptor::sipProtect_setAutoRelaySignals(bool a0)
{
     ::QDBusAbstractAdaptor::setAutoRelaySignals(a0);
}

bool sipQDBusAbstractAdaptor::sipProtect_autoRelaySignals() const
{
    return  ::QDBusAbstractAdaptor::autoRelaySignals();
}


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

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

    {
        const sipQDBusAbstractAdaptor *sipCpp;

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

#line 678 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
        {
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
            Q_ASSERT(helper);
        }
        
        // 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
        
        sipRes = helper(sipRes);
#line 14573 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

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

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

    return NULL;
}


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

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

    {
        PyObject * a0;
        const sipQDBusAbstractAdaptor *sipCpp;

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

#line 706 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helpers if it hasn't already been done.
        typedef const char *(*pyqt4_get_signal_t)(PyObject *);
        typedef int (*receivers_helper_func)(QObject *, const char *, int);
        
        static pyqt4_get_signal_t pyqt4_get_signal = 0;
        static receivers_helper_func receivers_helper = 0;
        
        if (!pyqt4_get_signal)
        {
            pyqt4_get_signal = (pyqt4_get_signal_t)sipImportSymbol("pyqt4_get_signal");
            Q_ASSERT(pyqt4_get_signal);
        }
        
        if (!receivers_helper)
        {
            receivers_helper = (receivers_helper_func)sipImportSymbol("qpycore_qobject_receivers");
            Q_ASSERT(receivers_helper);
        }
        
        // PyQt5: Get rid of the const casts.
        const char *sig = pyqt4_get_signal(a0);
            
        if (sig)
        {
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = receivers_helper(const_cast<QObject *>(sipCpp), sig, sipCpp->receivers(sig));
        #else
            sipRes = receivers_helper(const_cast<QObject *>(static_cast<const QObject *>(sipCpp)), sig, sipCpp->sipProtect_receivers(sig));
        #endif
        }
        else
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 14639 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

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

            sipAddException(sipError, &sipParseErr);
        }
    }

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

    return NULL;
}


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

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

    {
         ::QTimerEvent* a0;
        sipQDBusAbstractAdaptor *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDBusAbstractAdaptor, &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_QDBusAbstractAdaptor, sipName_timerEvent, doc_QDBusAbstractAdaptor_timerEvent);

    return NULL;
}


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

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

    {
         ::QChildEvent* a0;
        sipQDBusAbstractAdaptor *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDBusAbstractAdaptor, &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_QDBusAbstractAdaptor, sipName_childEvent, doc_QDBusAbstractAdaptor_childEvent);

    return NULL;
}


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

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

    {
         ::QEvent* a0;
        sipQDBusAbstractAdaptor *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDBusAbstractAdaptor, &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_QDBusAbstractAdaptor, sipName_customEvent, doc_QDBusAbstractAdaptor_customEvent);

    return NULL;
}


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

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

    {
        PyObject * a0;
        sipQDBusAbstractAdaptor *sipCpp;

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

#line 752 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qobject.sip"
        typedef const char *(*pyqt4_get_signal_t)(PyObject *);
        
        static pyqt4_get_signal_t pyqt4_get_signal = 0;
        
        if (!pyqt4_get_signal)
        {
            pyqt4_get_signal = (pyqt4_get_signal_t)sipImportSymbol("pyqt4_get_signal");
            Q_ASSERT(pyqt4_get_signal);
        }
        
        const char *sig = pyqt4_get_signal(a0);
            
        if (sig)
        {
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            (sipSelfWasArg ? sipCpp->QObject::connectNotify(sig) : sipCpp->connectNotify(sig));
        #else
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg, sig);
        #endif
        }
        else
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 14795 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            Py_INCREF(Py_None);
            return Py_None;
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

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

    return NULL;
}


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

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

    {
        PyObject * a0;
        sipQDBusAbstractAdaptor *sipCpp;

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

#line 785 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtCore/qobject.sip"
        typedef const char *(*pyqt4_get_signal_t)(PyObject *);
        
        static pyqt4_get_signal_t pyqt4_get_signal = 0;
        
        if (!pyqt4_get_signal)
        {
            pyqt4_get_signal = (pyqt4_get_signal_t)sipImportSymbol("pyqt4_get_signal");
            Q_ASSERT(pyqt4_get_signal);
        }
        
        const char *sig = pyqt4_get_signal(a0);
            
        if (sig)
        {
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            (sipSelfWasArg ? sipCpp->QObject::disconnectNotify(sig) : sipCpp->disconnectNotify(sig));
        #else
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg, sig);
        #endif
        }
        else
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 14859 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtDBus/sipQtDBuspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            Py_INCREF(Py_None);
            return Py_None;
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

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

    return NULL;
}


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

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

    {
        const sipQDBusAbstractAdaptor *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDBusAbstractAdaptor, &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_QDBusAbstractAdaptor, sipName_senderSignalIndex, doc_QDBusAbstractAdaptor_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusAbstractAdaptor_setAutoRelaySignals, "setAutoRelaySignals(self, bool)");

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

    {
        bool a0;
        sipQDBusAbstractAdaptor *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QDBusAbstractAdaptor, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setAutoRelaySignals(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_QDBusAbstractAdaptor, sipName_setAutoRelaySignals, doc_QDBusAbstractAdaptor_setAutoRelaySignals);

    return NULL;
}


PyDoc_STRVAR(doc_QDBusAbstractAdaptor_autoRelaySignals, "autoRelaySignals(self) -> bool");

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

    {
        const sipQDBusAbstractAdaptor *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_autoRelaySignals();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDBusAbstractAdaptor, sipName_autoRelaySignals, doc_QDBusAbstractAdaptor_autoRelaySignals);

    return NULL;
}


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

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

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
         ::QObject* a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QDBusAbstractAdaptor[] = {{4, 0, 1}};


static PyMethodDef methods_QDBusAbstractAdaptor[] = {
    {SIP_MLNAME_CAST(sipName_autoRelaySignals), (PyCFunction)meth_QDBusAbstractAdaptor_autoRelaySignals, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDBusAbstractAdaptor_autoRelaySignals)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QDBusAbstractAdaptor_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QDBusAbstractAdaptor_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QDBusAbstractAdaptor_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QDBusAbstractAdaptor_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QDBusAbstractAdaptor_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QDBusAbstractAdaptor_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QDBusAbstractAdaptor_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoRelaySignals), (PyCFunction)meth_QDBusAbstractAdaptor_setAutoRelaySignals, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDBusAbstractAdaptor_setAutoRelaySignals)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QDBusAbstractAdaptor_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QDBusAbstractAdaptor, "\1QDBusAbstractAdaptor(QObject)");


static pyqt4ClassPluginDef plugin_QDBusAbstractAdaptor = {
    & ::QDBusAbstractAdaptor::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtDBus_QDBusAbstractAdaptor = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QDBusAbstractAdaptor,
        {0},
        &plugin_QDBusAbstractAdaptor
    },
    {
        sipNameNr_QDBusAbstractAdaptor,
        {0, 0, 1},
        10, methods_QDBusAbstractAdaptor,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDBusAbstractAdaptor,
    -1,
    -1,
    supers_QDBusAbstractAdaptor,
    0,
    init_type_QDBusAbstractAdaptor,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDBusAbstractAdaptor,
    0,
    0,
    0,
    release_QDBusAbstractAdaptor,
    cast_QDBusAbstractAdaptor,
    0,
    0,
    0,
    0,
    0,
    0
};
