/*
 * 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 "sipAPIQtScriptTools.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/QtScriptTools/sipQtScriptToolspart0.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 32 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtScriptTools/sipQtScriptToolspart0.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 35 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtScriptTools/sipQtScriptToolspart0.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 38 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtScriptTools/sipQtScriptToolspart0.cpp"

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

bool sipVH_QtScriptTools_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_QtScriptTools_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_QtScriptTools_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_QtScriptTools_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_QtScriptTools_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_QtScriptTools_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_QScriptEngineDebugger(void **);}
static const sipTypeDef *sipSubClass_QScriptEngineDebugger(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/QtScriptTools/qscriptenginedebugger.sip"
    if (sipCpp->inherits(sipName_QScriptEngineDebugger))
        sipType = sipType_QScriptEngineDebugger;
    else
        sipType = 0;
#line 241 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtScriptTools/sipQtScriptToolspart0.cpp"

    return sipType;
}
static sipEnumTypeDef enumTypes[] = {
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QScriptEngineDebugger__DebuggerState, {0}, 0}, sipNameNr_DebuggerState, 0, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QScriptEngineDebugger__DebuggerAction, {0}, 0}, sipNameNr_DebuggerAction, 0, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QScriptEngineDebugger__DebuggerWidget, {0}, 0}, sipNameNr_DebuggerWidget, 0, NULL},
};


/*
 * This defines each type in this module.
 */
sipTypeDef *sipExportedTypes_QtScriptTools[] = {
    &sipTypeDef_QtScriptTools_QScriptEngineDebugger.ctd_base,
    &enumTypes[1].etd_base,
    &enumTypes[0].etd_base,
    &enumTypes[2].etd_base,
};


/* This defines the types that this module needs to import from QtCore. */
sipImportedTypeDef sipImportedTypes_QtScriptTools_QtCore[] = {
    {"QChildEvent"},
    {"QEvent"},
    {"QObject"},
    {"QTimerEvent"},
    {NULL}
};


/* This defines the types that this module needs to import from QtScript. */
sipImportedTypeDef sipImportedTypes_QtScriptTools_QtScript[] = {
    {"QScriptEngine"},
    {NULL}
};


/* This defines the types that this module needs to import from QtGui. */
sipImportedTypeDef sipImportedTypes_QtScriptTools_QtGui[] = {
    {"QAction"},
    {"QMainWindow"},
    {"QMenu"},
    {"QToolBar"},
    {"QWidget"},
    {NULL}
};


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


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


/* This defines this module. */
sipExportedModuleDef sipModuleAPI_QtScriptTools = {
    0,
    SIP_API_MINOR_NR,
    sipNameNr_PyQt4_QtScriptTools,
    0,
    sipStrings_QtScriptTools,
    importsTable,
    NULL,
    4,
    sipExportedTypes_QtScriptTools,
    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_QtScriptTools;

sip_qt_metaobject_func sip_QtScriptTools_qt_metaobject;
sip_qt_metacall_func sip_QtScriptTools_qt_metacall;
sip_qt_metacast_func sip_QtScriptTools_qt_metacast;


/* The Python module initialisation function. */
#if PY_MAJOR_VERSION >= 3
#define SIP_MODULE_ENTRY        PyInit_QtScriptTools
#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        initQtScriptTools
#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.QtScriptTools",
        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_QtScriptTools, sip_methods);
#else
    sipModule = Py_InitModule(const_cast<char *>(sipName_PyQt4_QtScriptTools), 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_QtScriptTools = reinterpret_cast<const sipAPIDef *>(PyCapsule_GetPointer(sip_capiobj, "PyQt4.sip._C_API"));
#else
    sipAPI_QtScriptTools = reinterpret_cast<const sipAPIDef *>(PyCObject_AsVoidPtr(sip_capiobj));
#endif

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

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

    sip_QtScriptTools_qt_metaobject = (sip_qt_metaobject_func)sipImportSymbol("qtcore_qt_metaobject");
    sip_QtScriptTools_qt_metacall = (sip_qt_metacall_func)sipImportSymbol("qtcore_qt_metacall");
    sip_QtScriptTools_qt_metacast = (sip_qt_metacast_func)sipImportSymbol("qtcore_qt_metacast");

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

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

    SIP_MODULE_RETURN(sipModule);
}

#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtScriptTools/qscriptenginedebugger.sip"
#include <qscriptenginedebugger.h>
#line 465 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtScriptTools/sipQtScriptToolspart0.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 469 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtScriptTools/sipQtScriptToolspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtGui/qaction.sip"
#include <qaction.h>
#line 472 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtScriptTools/sipQtScriptToolspart0.cpp"
#line 28 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 475 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtScriptTools/sipQtScriptToolspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtGui/qmenu.sip"
#include <qmenu.h>
#line 478 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtScriptTools/sipQtScriptToolspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtGui/qtoolbar.sip"
#include <qtoolbar.h>
#line 481 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtScriptTools/sipQtScriptToolspart0.cpp"
#line 26 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtGui/qmainwindow.sip"
#include <qmainwindow.h>
#line 484 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtScriptTools/sipQtScriptToolspart0.cpp"
#line 34 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/src/PyQt4_gpl_x11-4.12.3/sip/QtScript/qscriptengine.sip"
#include <qscriptengine.h>
#line 487 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtScriptTools/sipQtScriptToolspart0.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 490 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtScriptTools/sipQtScriptToolspart0.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 493 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtScriptTools/sipQtScriptToolspart0.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 496 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtScriptTools/sipQtScriptToolspart0.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 499 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtScriptTools/sipQtScriptToolspart0.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 502 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtScriptTools/sipQtScriptToolspart0.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 505 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtScriptTools/sipQtScriptToolspart0.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 508 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtScriptTools/sipQtScriptToolspart0.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 511 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtScriptTools/sipQtScriptToolspart0.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 514 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtScriptTools/sipQtScriptToolspart0.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 517 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtScriptTools/sipQtScriptToolspart0.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 520 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtScriptTools/sipQtScriptToolspart0.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 523 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtScriptTools/sipQtScriptToolspart0.cpp"


class sipQScriptEngineDebugger : public  ::QScriptEngineDebugger
{
public:
    sipQScriptEngineDebugger( ::QObject*);
    virtual ~sipQScriptEngineDebugger();

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

    char sipPyMethods[7];
};

sipQScriptEngineDebugger::sipQScriptEngineDebugger( ::QObject*a0):  ::QScriptEngineDebugger(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipQScriptEngineDebugger::metaObject() const
{
    return sip_QtScriptTools_qt_metaobject(sipPySelf,sipType_QScriptEngineDebugger);
}

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

    if (_id >= 0)
        _id = sip_QtScriptTools_qt_metacall(sipPySelf,sipType_QScriptEngineDebugger,_c,_id,_a);

    return _id;
}

void *sipQScriptEngineDebugger::qt_metacast(const char *_clname)
{
    return (sip_QtScriptTools_qt_metacast(sipPySelf, sipType_QScriptEngineDebugger, _clname)) ? this :  ::QScriptEngineDebugger::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

    {
        const sipQScriptEngineDebugger *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QScriptEngineDebugger, &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 803 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtScriptTools/sipQtScriptToolspart0.cpp"

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

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

    return NULL;
}


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

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

    {
        PyObject * a0;
        const sipQScriptEngineDebugger *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QScriptEngineDebugger, &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 869 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtScriptTools/sipQtScriptToolspart0.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_QScriptEngineDebugger, sipName_receivers, doc_QScriptEngineDebugger_receivers);

    return NULL;
}


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

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

    {
         ::QTimerEvent* a0;
        sipQScriptEngineDebugger *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScriptEngineDebugger, &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_QScriptEngineDebugger, sipName_timerEvent, doc_QScriptEngineDebugger_timerEvent);

    return NULL;
}


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

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

    {
         ::QChildEvent* a0;
        sipQScriptEngineDebugger *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScriptEngineDebugger, &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_QScriptEngineDebugger, sipName_childEvent, doc_QScriptEngineDebugger_childEvent);

    return NULL;
}


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

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

    {
         ::QEvent* a0;
        sipQScriptEngineDebugger *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScriptEngineDebugger, &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_QScriptEngineDebugger, sipName_customEvent, doc_QScriptEngineDebugger_customEvent);

    return NULL;
}


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

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

    {
        PyObject * a0;
        sipQScriptEngineDebugger *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QScriptEngineDebugger, &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 1025 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtScriptTools/sipQtScriptToolspart0.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_QScriptEngineDebugger, sipName_connectNotify, doc_QScriptEngineDebugger_connectNotify);

    return NULL;
}


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

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

    {
        PyObject * a0;
        sipQScriptEngineDebugger *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QScriptEngineDebugger, &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 1089 "/wip/cygport-git/python-pyqt4/python-pyqt4-4.12.3-1.x86_64/build/QtScriptTools/sipQtScriptToolspart0.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_QScriptEngineDebugger, sipName_disconnectNotify, doc_QScriptEngineDebugger_disconnectNotify);

    return NULL;
}


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

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

    {
        const sipQScriptEngineDebugger *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QScriptEngineDebugger, &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_QScriptEngineDebugger, sipName_senderSignalIndex, doc_QScriptEngineDebugger_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QScriptEngineDebugger_attachTo, "attachTo(self, QScriptEngine)");

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

    {
         ::QScriptEngine* a0;
         ::QScriptEngineDebugger *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QScriptEngineDebugger, &sipCpp, sipType_QScriptEngine, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->attachTo(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_QScriptEngineDebugger, sipName_attachTo, doc_QScriptEngineDebugger_attachTo);

    return NULL;
}


PyDoc_STRVAR(doc_QScriptEngineDebugger_detach, "detach(self)");

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

    {
         ::QScriptEngineDebugger *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScriptEngineDebugger, sipName_detach, doc_QScriptEngineDebugger_detach);

    return NULL;
}


PyDoc_STRVAR(doc_QScriptEngineDebugger_autoShowStandardWindow, "autoShowStandardWindow(self) -> bool");

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

    {
        const  ::QScriptEngineDebugger *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->autoShowStandardWindow();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScriptEngineDebugger, sipName_autoShowStandardWindow, doc_QScriptEngineDebugger_autoShowStandardWindow);

    return NULL;
}


PyDoc_STRVAR(doc_QScriptEngineDebugger_setAutoShowStandardWindow, "setAutoShowStandardWindow(self, bool)");

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

    {
        bool a0;
         ::QScriptEngineDebugger *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QScriptEngineDebugger, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAutoShowStandardWindow(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_QScriptEngineDebugger, sipName_setAutoShowStandardWindow, doc_QScriptEngineDebugger_setAutoShowStandardWindow);

    return NULL;
}


PyDoc_STRVAR(doc_QScriptEngineDebugger_standardWindow, "standardWindow(self) -> QMainWindow");

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

    {
        const  ::QScriptEngineDebugger *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->standardWindow();
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScriptEngineDebugger, sipName_standardWindow, doc_QScriptEngineDebugger_standardWindow);

    return NULL;
}


PyDoc_STRVAR(doc_QScriptEngineDebugger_createStandardToolBar, "createStandardToolBar(self, parent: QWidget = None) -> QToolBar");

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

    {
         ::QWidget* a0 = 0;
        sipWrapper *sipOwner = 0;
         ::QScriptEngineDebugger *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|JH", &sipSelf, sipType_QScriptEngineDebugger, &sipCpp, sipType_QWidget, &a0, &sipOwner))
        {
             ::QToolBar*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->createStandardToolBar(a0);
            Py_END_ALLOW_THREADS

            if (sipOwner)
                sipTransferTo(sipSelf, (PyObject *)sipOwner);
            else
                sipTransferBack(sipSelf);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScriptEngineDebugger, sipName_createStandardToolBar, doc_QScriptEngineDebugger_createStandardToolBar);

    return NULL;
}


PyDoc_STRVAR(doc_QScriptEngineDebugger_createStandardMenu, "createStandardMenu(self, parent: QWidget = None) -> QMenu");

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

    {
         ::QWidget* a0 = 0;
        sipWrapper *sipOwner = 0;
         ::QScriptEngineDebugger *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|JH", &sipSelf, sipType_QScriptEngineDebugger, &sipCpp, sipType_QWidget, &a0, &sipOwner))
        {
             ::QMenu*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->createStandardMenu(a0);
            Py_END_ALLOW_THREADS

            if (sipOwner)
                sipTransferTo(sipSelf, (PyObject *)sipOwner);
            else
                sipTransferBack(sipSelf);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScriptEngineDebugger, sipName_createStandardMenu, doc_QScriptEngineDebugger_createStandardMenu);

    return NULL;
}


PyDoc_STRVAR(doc_QScriptEngineDebugger_widget, "widget(self, QScriptEngineDebugger.DebuggerWidget) -> QWidget");

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

    {
         ::QScriptEngineDebugger::DebuggerWidget a0;
        const  ::QScriptEngineDebugger *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QScriptEngineDebugger, &sipCpp, sipType_QScriptEngineDebugger_DebuggerWidget, &a0))
        {
             ::QWidget*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->widget(a0);
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScriptEngineDebugger, sipName_widget, doc_QScriptEngineDebugger_widget);

    return NULL;
}


PyDoc_STRVAR(doc_QScriptEngineDebugger_action, "action(self, QScriptEngineDebugger.DebuggerAction) -> QAction");

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

    {
         ::QScriptEngineDebugger::DebuggerAction a0;
        const  ::QScriptEngineDebugger *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QScriptEngineDebugger, &sipCpp, sipType_QScriptEngineDebugger_DebuggerAction, &a0))
        {
             ::QAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->action(a0);
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScriptEngineDebugger, sipName_action, doc_QScriptEngineDebugger_action);

    return NULL;
}


PyDoc_STRVAR(doc_QScriptEngineDebugger_state, "state(self) -> QScriptEngineDebugger.DebuggerState");

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

    {
        const  ::QScriptEngineDebugger *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QScriptEngineDebugger, &sipCpp))
        {
             ::QScriptEngineDebugger::DebuggerState sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->state();
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScriptEngineDebugger, sipName_state, doc_QScriptEngineDebugger_state);

    return NULL;
}


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

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

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_QScriptEngineDebugger[] = {
    {SIP_MLNAME_CAST(sipName_action), meth_QScriptEngineDebugger_action, METH_VARARGS, SIP_MLDOC_CAST(doc_QScriptEngineDebugger_action)},
    {SIP_MLNAME_CAST(sipName_attachTo), meth_QScriptEngineDebugger_attachTo, METH_VARARGS, SIP_MLDOC_CAST(doc_QScriptEngineDebugger_attachTo)},
    {SIP_MLNAME_CAST(sipName_autoShowStandardWindow), meth_QScriptEngineDebugger_autoShowStandardWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_QScriptEngineDebugger_autoShowStandardWindow)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QScriptEngineDebugger_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QScriptEngineDebugger_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_createStandardMenu), (PyCFunction)meth_QScriptEngineDebugger_createStandardMenu, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QScriptEngineDebugger_createStandardMenu)},
    {SIP_MLNAME_CAST(sipName_createStandardToolBar), (PyCFunction)meth_QScriptEngineDebugger_createStandardToolBar, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QScriptEngineDebugger_createStandardToolBar)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QScriptEngineDebugger_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_detach), meth_QScriptEngineDebugger_detach, METH_VARARGS, SIP_MLDOC_CAST(doc_QScriptEngineDebugger_detach)},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QScriptEngineDebugger_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QScriptEngineDebugger_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QScriptEngineDebugger_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QScriptEngineDebugger_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoShowStandardWindow), meth_QScriptEngineDebugger_setAutoShowStandardWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_QScriptEngineDebugger_setAutoShowStandardWindow)},
    {SIP_MLNAME_CAST(sipName_standardWindow), meth_QScriptEngineDebugger_standardWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_QScriptEngineDebugger_standardWindow)},
    {SIP_MLNAME_CAST(sipName_state), meth_QScriptEngineDebugger_state, METH_VARARGS, SIP_MLDOC_CAST(doc_QScriptEngineDebugger_state)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QScriptEngineDebugger_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_widget), meth_QScriptEngineDebugger_widget, METH_VARARGS, SIP_MLDOC_CAST(doc_QScriptEngineDebugger_widget)}
};

static sipEnumMemberDef enummembers_QScriptEngineDebugger[] = {
    {sipName_BreakpointsWidget, static_cast<int>( ::QScriptEngineDebugger::BreakpointsWidget), 3},
    {sipName_ClearConsoleAction, static_cast<int>( ::QScriptEngineDebugger::ClearConsoleAction), 1},
    {sipName_ClearDebugOutputAction, static_cast<int>( ::QScriptEngineDebugger::ClearDebugOutputAction), 1},
    {sipName_ClearErrorLogAction, static_cast<int>( ::QScriptEngineDebugger::ClearErrorLogAction), 1},
    {sipName_CodeFinderWidget, static_cast<int>( ::QScriptEngineDebugger::CodeFinderWidget), 3},
    {sipName_CodeWidget, static_cast<int>( ::QScriptEngineDebugger::CodeWidget), 3},
    {sipName_ConsoleWidget, static_cast<int>( ::QScriptEngineDebugger::ConsoleWidget), 3},
    {sipName_ContinueAction, static_cast<int>( ::QScriptEngineDebugger::ContinueAction), 1},
    {sipName_DebugOutputWidget, static_cast<int>( ::QScriptEngineDebugger::DebugOutputWidget), 3},
    {sipName_ErrorLogWidget, static_cast<int>( ::QScriptEngineDebugger::ErrorLogWidget), 3},
    {sipName_FindInScriptAction, static_cast<int>( ::QScriptEngineDebugger::FindInScriptAction), 1},
    {sipName_FindNextInScriptAction, static_cast<int>( ::QScriptEngineDebugger::FindNextInScriptAction), 1},
    {sipName_FindPreviousInScriptAction, static_cast<int>( ::QScriptEngineDebugger::FindPreviousInScriptAction), 1},
    {sipName_GoToLineAction, static_cast<int>( ::QScriptEngineDebugger::GoToLineAction), 1},
    {sipName_InterruptAction, static_cast<int>( ::QScriptEngineDebugger::InterruptAction), 1},
    {sipName_LocalsWidget, static_cast<int>( ::QScriptEngineDebugger::LocalsWidget), 3},
    {sipName_RunToCursorAction, static_cast<int>( ::QScriptEngineDebugger::RunToCursorAction), 1},
    {sipName_RunToNewScriptAction, static_cast<int>( ::QScriptEngineDebugger::RunToNewScriptAction), 1},
    {sipName_RunningState, static_cast<int>( ::QScriptEngineDebugger::RunningState), 2},
    {sipName_ScriptsWidget, static_cast<int>( ::QScriptEngineDebugger::ScriptsWidget), 3},
    {sipName_StackWidget, static_cast<int>( ::QScriptEngineDebugger::StackWidget), 3},
    {sipName_StepIntoAction, static_cast<int>( ::QScriptEngineDebugger::StepIntoAction), 1},
    {sipName_StepOutAction, static_cast<int>( ::QScriptEngineDebugger::StepOutAction), 1},
    {sipName_StepOverAction, static_cast<int>( ::QScriptEngineDebugger::StepOverAction), 1},
    {sipName_SuspendedState, static_cast<int>( ::QScriptEngineDebugger::SuspendedState), 2},
    {sipName_ToggleBreakpointAction, static_cast<int>( ::QScriptEngineDebugger::ToggleBreakpointAction), 1},
};

PyDoc_STRVAR(doc_QScriptEngineDebugger, "\1QScriptEngineDebugger(parent: QObject = None)");


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


static pyqt4ClassPluginDef plugin_QScriptEngineDebugger = {
    & ::QScriptEngineDebugger::staticMetaObject,
    0,
    signals_QScriptEngineDebugger
};


sipClassTypeDef sipTypeDef_QtScriptTools_QScriptEngineDebugger = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_QScriptEngineDebugger,
        {0},
        &plugin_QScriptEngineDebugger
    },
    {
        sipNameNr_QScriptEngineDebugger,
        {0, 0, 1},
        18, methods_QScriptEngineDebugger,
        26, enummembers_QScriptEngineDebugger,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QScriptEngineDebugger,
    -1,
    -1,
    supers_QScriptEngineDebugger,
    0,
    init_type_QScriptEngineDebugger,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QScriptEngineDebugger,
    0,
    0,
    0,
    release_QScriptEngineDebugger,
    cast_QScriptEngineDebugger,
    0,
    0,
    0,
    0,
    0,
    0
};
