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

#include "sipAPIQtDesigner.h"

#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtDesigner/abstractformwindowmanager.sip"
#include <abstractformwindowmanager.h>
#line 29 "/build/pyqt5/src/PyQt5-5.15.7/build/QtDesigner/sipQtDesignerQDesignerFormWindowManagerInterface.cpp"

#line 28 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 33 "/build/pyqt5/src/PyQt5-5.15.7/build/QtDesigner/sipQtDesignerQDesignerFormWindowManagerInterface.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtWidgets/qactiongroup.sip"
#include <qactiongroup.h>
#line 36 "/build/pyqt5/src/PyQt5-5.15.7/build/QtDesigner/sipQtDesignerQDesignerFormWindowManagerInterface.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 39 "/build/pyqt5/src/PyQt5-5.15.7/build/QtDesigner/sipQtDesignerQDesignerFormWindowManagerInterface.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtDesigner/abstractformwindow.sip"
#include <abstractformwindow.h>
#line 42 "/build/pyqt5/src/PyQt5-5.15.7/build/QtDesigner/sipQtDesignerQDesignerFormWindowManagerInterface.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtDesigner/abstractformeditor.sip"
#include <abstractformeditor.h>
#line 45 "/build/pyqt5/src/PyQt5-5.15.7/build/QtDesigner/sipQtDesignerQDesignerFormWindowManagerInterface.cpp"
#line 28 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 48 "/build/pyqt5/src/PyQt5-5.15.7/build/QtDesigner/sipQtDesignerQDesignerFormWindowManagerInterface.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 51 "/build/pyqt5/src/PyQt5-5.15.7/build/QtDesigner/sipQtDesignerQDesignerFormWindowManagerInterface.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 146 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 56 "/build/pyqt5/src/PyQt5-5.15.7/build/QtDesigner/sipQtDesignerQDesignerFormWindowManagerInterface.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 59 "/build/pyqt5/src/PyQt5-5.15.7/build/QtDesigner/sipQtDesignerQDesignerFormWindowManagerInterface.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 62 "/build/pyqt5/src/PyQt5-5.15.7/build/QtDesigner/sipQtDesignerQDesignerFormWindowManagerInterface.cpp"
#line 247 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 65 "/build/pyqt5/src/PyQt5-5.15.7/build/QtDesigner/sipQtDesignerQDesignerFormWindowManagerInterface.cpp"
#line 235 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 68 "/build/pyqt5/src/PyQt5-5.15.7/build/QtDesigner/sipQtDesignerQDesignerFormWindowManagerInterface.cpp"
#line 27 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 71 "/build/pyqt5/src/PyQt5-5.15.7/build/QtDesigner/sipQtDesignerQDesignerFormWindowManagerInterface.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 74 "/build/pyqt5/src/PyQt5-5.15.7/build/QtDesigner/sipQtDesignerQDesignerFormWindowManagerInterface.cpp"
#line 38 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 77 "/build/pyqt5/src/PyQt5-5.15.7/build/QtDesigner/sipQtDesignerQDesignerFormWindowManagerInterface.cpp"
#line 30 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 80 "/build/pyqt5/src/PyQt5-5.15.7/build/QtDesigner/sipQtDesignerQDesignerFormWindowManagerInterface.cpp"
#line 149 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 83 "/build/pyqt5/src/PyQt5-5.15.7/build/QtDesigner/sipQtDesignerQDesignerFormWindowManagerInterface.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 86 "/build/pyqt5/src/PyQt5-5.15.7/build/QtDesigner/sipQtDesignerQDesignerFormWindowManagerInterface.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 89 "/build/pyqt5/src/PyQt5-5.15.7/build/QtDesigner/sipQtDesignerQDesignerFormWindowManagerInterface.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 92 "/build/pyqt5/src/PyQt5-5.15.7/build/QtDesigner/sipQtDesignerQDesignerFormWindowManagerInterface.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 95 "/build/pyqt5/src/PyQt5-5.15.7/build/QtDesigner/sipQtDesignerQDesignerFormWindowManagerInterface.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 98 "/build/pyqt5/src/PyQt5-5.15.7/build/QtDesigner/sipQtDesignerQDesignerFormWindowManagerInterface.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 101 "/build/pyqt5/src/PyQt5-5.15.7/build/QtDesigner/sipQtDesignerQDesignerFormWindowManagerInterface.cpp"


PyDoc_STRVAR(doc_QDesignerFormWindowManagerInterface_actionFormLayout, "actionFormLayout(self) -> QAction");

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

    {
        const  ::QDesignerFormWindowManagerInterface *sipCpp;

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

            sipRes = sipCpp->actionFormLayout();

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

    sipNoMethod(sipParseErr, sipName_QDesignerFormWindowManagerInterface, sipName_actionFormLayout, doc_QDesignerFormWindowManagerInterface_actionFormLayout);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QDesignerFormWindowManagerInterface_actionSimplifyLayout, "actionSimplifyLayout(self) -> QAction");

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

    {
        const  ::QDesignerFormWindowManagerInterface *sipCpp;

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

            sipRes = sipCpp->actionSimplifyLayout();

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

    sipNoMethod(sipParseErr, sipName_QDesignerFormWindowManagerInterface, sipName_actionSimplifyLayout, doc_QDesignerFormWindowManagerInterface_actionSimplifyLayout);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QDesignerFormWindowManagerInterface_activeFormWindow, "activeFormWindow(self) -> QDesignerFormWindowInterface");

extern "C" {static PyObject *meth_QDesignerFormWindowManagerInterface_activeFormWindow(PyObject *, PyObject *);}
static PyObject *meth_QDesignerFormWindowManagerInterface_activeFormWindow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    PyObject *sipOrigSelf = sipSelf;

    {
        const  ::QDesignerFormWindowManagerInterface *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QDesignerFormWindowManagerInterface, sipName_activeFormWindow);
                return SIP_NULLPTR;
            }

            sipRes = sipCpp->activeFormWindow();

            return sipConvertFromType(sipRes,sipType_QDesignerFormWindowInterface,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QDesignerFormWindowManagerInterface, sipName_activeFormWindow, doc_QDesignerFormWindowManagerInterface_activeFormWindow);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QDesignerFormWindowManagerInterface_formWindowCount, "formWindowCount(self) -> int");

extern "C" {static PyObject *meth_QDesignerFormWindowManagerInterface_formWindowCount(PyObject *, PyObject *);}
static PyObject *meth_QDesignerFormWindowManagerInterface_formWindowCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    PyObject *sipOrigSelf = sipSelf;

    {
        const  ::QDesignerFormWindowManagerInterface *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QDesignerFormWindowManagerInterface, sipName_formWindowCount);
                return SIP_NULLPTR;
            }

            sipRes = sipCpp->formWindowCount();

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QDesignerFormWindowManagerInterface, sipName_formWindowCount, doc_QDesignerFormWindowManagerInterface_formWindowCount);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QDesignerFormWindowManagerInterface_formWindow, "formWindow(self, int) -> QDesignerFormWindowInterface");

extern "C" {static PyObject *meth_QDesignerFormWindowManagerInterface_formWindow(PyObject *, PyObject *);}
static PyObject *meth_QDesignerFormWindowManagerInterface_formWindow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    PyObject *sipOrigSelf = sipSelf;

    {
        int a0;
        const  ::QDesignerFormWindowManagerInterface *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QDesignerFormWindowManagerInterface, sipName_formWindow);
                return SIP_NULLPTR;
            }

            sipRes = sipCpp->formWindow(a0);

            return sipConvertFromType(sipRes,sipType_QDesignerFormWindowInterface,sipSelf);
        }
    }

    sipNoMethod(sipParseErr, sipName_QDesignerFormWindowManagerInterface, sipName_formWindow, doc_QDesignerFormWindowManagerInterface_formWindow);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QDesignerFormWindowManagerInterface_createFormWindow, "createFormWindow(self, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) -> QDesignerFormWindowInterface");

extern "C" {static PyObject *meth_QDesignerFormWindowManagerInterface_createFormWindow(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesignerFormWindowManagerInterface_createFormWindow(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::QWidget* a0 = 0;
         ::Qt::WindowFlags a1def = 0;
         ::Qt::WindowFlags* a1 = &a1def;
        int a1State = 0;
        sipWrapper *sipOwner = SIP_NULLPTR;
         ::QDesignerFormWindowManagerInterface *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|JHJ1", &sipSelf, sipType_QDesignerFormWindowManagerInterface, &sipCpp, sipType_QWidget, &a0, &sipOwner, sipType_Qt_WindowFlags, &a1, &a1State))
        {
             ::QDesignerFormWindowInterface*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QDesignerFormWindowManagerInterface, sipName_createFormWindow);
                return SIP_NULLPTR;
            }

            sipRes = sipCpp->createFormWindow(a0,*a1);

            if (sipOwner)
                sipTransferTo(sipSelf, (PyObject *)sipOwner);
            else
                sipTransferBack(sipSelf);
            sipReleaseType(a1, sipType_Qt_WindowFlags, a1State);

            return sipConvertFromType(sipRes,sipType_QDesignerFormWindowInterface,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QDesignerFormWindowManagerInterface, sipName_createFormWindow, doc_QDesignerFormWindowManagerInterface_createFormWindow);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QDesignerFormWindowManagerInterface_core, "core(self) -> QDesignerFormEditorInterface");

extern "C" {static PyObject *meth_QDesignerFormWindowManagerInterface_core(PyObject *, PyObject *);}
static PyObject *meth_QDesignerFormWindowManagerInterface_core(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    PyObject *sipOrigSelf = sipSelf;

    {
        const  ::QDesignerFormWindowManagerInterface *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QDesignerFormWindowManagerInterface, sipName_core);
                return SIP_NULLPTR;
            }

            sipRes = sipCpp->core();

            return sipConvertFromType(sipRes,sipType_QDesignerFormEditorInterface,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QDesignerFormWindowManagerInterface, sipName_core, doc_QDesignerFormWindowManagerInterface_core);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QDesignerFormWindowManagerInterface_addFormWindow, "addFormWindow(self, QDesignerFormWindowInterface)");

extern "C" {static PyObject *meth_QDesignerFormWindowManagerInterface_addFormWindow(PyObject *, PyObject *);}
static PyObject *meth_QDesignerFormWindowManagerInterface_addFormWindow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::QDesignerFormWindowInterface* a0;
         ::QDesignerFormWindowManagerInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QDesignerFormWindowManagerInterface, &sipCpp, sipType_QDesignerFormWindowInterface, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QDesignerFormWindowManagerInterface, sipName_addFormWindow);
                return SIP_NULLPTR;
            }

            sipCpp->addFormWindow(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QDesignerFormWindowManagerInterface, sipName_addFormWindow, doc_QDesignerFormWindowManagerInterface_addFormWindow);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QDesignerFormWindowManagerInterface_removeFormWindow, "removeFormWindow(self, QDesignerFormWindowInterface)");

extern "C" {static PyObject *meth_QDesignerFormWindowManagerInterface_removeFormWindow(PyObject *, PyObject *);}
static PyObject *meth_QDesignerFormWindowManagerInterface_removeFormWindow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::QDesignerFormWindowInterface* a0;
         ::QDesignerFormWindowManagerInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QDesignerFormWindowManagerInterface, &sipCpp, sipType_QDesignerFormWindowInterface, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QDesignerFormWindowManagerInterface, sipName_removeFormWindow);
                return SIP_NULLPTR;
            }

            sipCpp->removeFormWindow(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QDesignerFormWindowManagerInterface, sipName_removeFormWindow, doc_QDesignerFormWindowManagerInterface_removeFormWindow);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QDesignerFormWindowManagerInterface_setActiveFormWindow, "setActiveFormWindow(self, QDesignerFormWindowInterface)");

extern "C" {static PyObject *meth_QDesignerFormWindowManagerInterface_setActiveFormWindow(PyObject *, PyObject *);}
static PyObject *meth_QDesignerFormWindowManagerInterface_setActiveFormWindow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::QDesignerFormWindowInterface* a0;
         ::QDesignerFormWindowManagerInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QDesignerFormWindowManagerInterface, &sipCpp, sipType_QDesignerFormWindowInterface, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QDesignerFormWindowManagerInterface, sipName_setActiveFormWindow);
                return SIP_NULLPTR;
            }

            sipCpp->setActiveFormWindow(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QDesignerFormWindowManagerInterface, sipName_setActiveFormWindow, doc_QDesignerFormWindowManagerInterface_setActiveFormWindow);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QDesignerFormWindowManagerInterface_action, "action(self, QDesignerFormWindowManagerInterface.Action) -> QAction");

extern "C" {static PyObject *meth_QDesignerFormWindowManagerInterface_action(PyObject *, PyObject *);}
static PyObject *meth_QDesignerFormWindowManagerInterface_action(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::QDesignerFormWindowManagerInterface::Action a0;
        const  ::QDesignerFormWindowManagerInterface *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QDesignerFormWindowManagerInterface, sipName_action);
                return SIP_NULLPTR;
            }

            sipRes = sipCpp->action(a0);

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

    sipNoMethod(sipParseErr, sipName_QDesignerFormWindowManagerInterface, sipName_action, doc_QDesignerFormWindowManagerInterface_action);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QDesignerFormWindowManagerInterface_actionGroup, "actionGroup(self, QDesignerFormWindowManagerInterface.ActionGroup) -> QActionGroup");

extern "C" {static PyObject *meth_QDesignerFormWindowManagerInterface_actionGroup(PyObject *, PyObject *);}
static PyObject *meth_QDesignerFormWindowManagerInterface_actionGroup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::QDesignerFormWindowManagerInterface::ActionGroup a0;
        const  ::QDesignerFormWindowManagerInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QDesignerFormWindowManagerInterface, &sipCpp, sipType_QDesignerFormWindowManagerInterface_ActionGroup, &a0))
        {
             ::QActionGroup*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QDesignerFormWindowManagerInterface, sipName_actionGroup);
                return SIP_NULLPTR;
            }

            sipRes = sipCpp->actionGroup(a0);

            return sipConvertFromType(sipRes,sipType_QActionGroup,sipSelf);
        }
    }

    sipNoMethod(sipParseErr, sipName_QDesignerFormWindowManagerInterface, sipName_actionGroup, doc_QDesignerFormWindowManagerInterface_actionGroup);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QDesignerFormWindowManagerInterface_showPreview, "showPreview(self)");

extern "C" {static PyObject *meth_QDesignerFormWindowManagerInterface_showPreview(PyObject *, PyObject *);}
static PyObject *meth_QDesignerFormWindowManagerInterface_showPreview(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::QDesignerFormWindowManagerInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDesignerFormWindowManagerInterface, &sipCpp))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QDesignerFormWindowManagerInterface, sipName_showPreview);
                return SIP_NULLPTR;
            }

            sipCpp->showPreview();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QDesignerFormWindowManagerInterface, sipName_showPreview, doc_QDesignerFormWindowManagerInterface_showPreview);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QDesignerFormWindowManagerInterface_closeAllPreviews, "closeAllPreviews(self)");

extern "C" {static PyObject *meth_QDesignerFormWindowManagerInterface_closeAllPreviews(PyObject *, PyObject *);}
static PyObject *meth_QDesignerFormWindowManagerInterface_closeAllPreviews(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::QDesignerFormWindowManagerInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDesignerFormWindowManagerInterface, &sipCpp))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QDesignerFormWindowManagerInterface, sipName_closeAllPreviews);
                return SIP_NULLPTR;
            }

            sipCpp->closeAllPreviews();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QDesignerFormWindowManagerInterface, sipName_closeAllPreviews, doc_QDesignerFormWindowManagerInterface_closeAllPreviews);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QDesignerFormWindowManagerInterface_showPluginDialog, "showPluginDialog(self)");

extern "C" {static PyObject *meth_QDesignerFormWindowManagerInterface_showPluginDialog(PyObject *, PyObject *);}
static PyObject *meth_QDesignerFormWindowManagerInterface_showPluginDialog(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::QDesignerFormWindowManagerInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDesignerFormWindowManagerInterface, &sipCpp))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QDesignerFormWindowManagerInterface, sipName_showPluginDialog);
                return SIP_NULLPTR;
            }

            sipCpp->showPluginDialog();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QDesignerFormWindowManagerInterface, sipName_showPluginDialog, doc_QDesignerFormWindowManagerInterface_showPluginDialog);

    return SIP_NULLPTR;
}


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

    if (targetType == sipType_QDesignerFormWindowManagerInterface)
        return sipCppV;

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

    return SIP_NULLPTR;
}


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

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


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


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


static PyMethodDef methods_QDesignerFormWindowManagerInterface[] = {
    {sipName_action, meth_QDesignerFormWindowManagerInterface_action, METH_VARARGS, doc_QDesignerFormWindowManagerInterface_action},
    {sipName_actionFormLayout, meth_QDesignerFormWindowManagerInterface_actionFormLayout, METH_VARARGS, doc_QDesignerFormWindowManagerInterface_actionFormLayout},
    {sipName_actionGroup, meth_QDesignerFormWindowManagerInterface_actionGroup, METH_VARARGS, doc_QDesignerFormWindowManagerInterface_actionGroup},
    {sipName_actionSimplifyLayout, meth_QDesignerFormWindowManagerInterface_actionSimplifyLayout, METH_VARARGS, doc_QDesignerFormWindowManagerInterface_actionSimplifyLayout},
    {sipName_activeFormWindow, meth_QDesignerFormWindowManagerInterface_activeFormWindow, METH_VARARGS, doc_QDesignerFormWindowManagerInterface_activeFormWindow},
    {sipName_addFormWindow, meth_QDesignerFormWindowManagerInterface_addFormWindow, METH_VARARGS, doc_QDesignerFormWindowManagerInterface_addFormWindow},
    {sipName_closeAllPreviews, meth_QDesignerFormWindowManagerInterface_closeAllPreviews, METH_VARARGS, doc_QDesignerFormWindowManagerInterface_closeAllPreviews},
    {sipName_core, meth_QDesignerFormWindowManagerInterface_core, METH_VARARGS, doc_QDesignerFormWindowManagerInterface_core},
    {sipName_createFormWindow, SIP_MLMETH_CAST(meth_QDesignerFormWindowManagerInterface_createFormWindow), METH_VARARGS|METH_KEYWORDS, doc_QDesignerFormWindowManagerInterface_createFormWindow},
    {sipName_formWindow, meth_QDesignerFormWindowManagerInterface_formWindow, METH_VARARGS, doc_QDesignerFormWindowManagerInterface_formWindow},
    {sipName_formWindowCount, meth_QDesignerFormWindowManagerInterface_formWindowCount, METH_VARARGS, doc_QDesignerFormWindowManagerInterface_formWindowCount},
    {sipName_removeFormWindow, meth_QDesignerFormWindowManagerInterface_removeFormWindow, METH_VARARGS, doc_QDesignerFormWindowManagerInterface_removeFormWindow},
    {sipName_setActiveFormWindow, meth_QDesignerFormWindowManagerInterface_setActiveFormWindow, METH_VARARGS, doc_QDesignerFormWindowManagerInterface_setActiveFormWindow},
    {sipName_showPluginDialog, meth_QDesignerFormWindowManagerInterface_showPluginDialog, METH_VARARGS, doc_QDesignerFormWindowManagerInterface_showPluginDialog},
    {sipName_showPreview, meth_QDesignerFormWindowManagerInterface_showPreview, METH_VARARGS, doc_QDesignerFormWindowManagerInterface_showPreview}
};

static sipEnumMemberDef enummembers_QDesignerFormWindowManagerInterface[] = {
    {sipName_AdjustSizeAction, static_cast<int>( ::QDesignerFormWindowManagerInterface::AdjustSizeAction), 15},
    {sipName_BreakLayoutAction, static_cast<int>( ::QDesignerFormWindowManagerInterface::BreakLayoutAction), 15},
    {sipName_CopyAction, static_cast<int>( ::QDesignerFormWindowManagerInterface::CopyAction), 15},
    {sipName_CutAction, static_cast<int>( ::QDesignerFormWindowManagerInterface::CutAction), 15},
    {sipName_DefaultPreviewAction, static_cast<int>( ::QDesignerFormWindowManagerInterface::DefaultPreviewAction), 15},
    {sipName_DeleteAction, static_cast<int>( ::QDesignerFormWindowManagerInterface::DeleteAction), 15},
    {sipName_FormLayoutAction, static_cast<int>( ::QDesignerFormWindowManagerInterface::FormLayoutAction), 15},
    {sipName_FormWindowSettingsDialogAction, static_cast<int>( ::QDesignerFormWindowManagerInterface::FormWindowSettingsDialogAction), 15},
    {sipName_GridLayoutAction, static_cast<int>( ::QDesignerFormWindowManagerInterface::GridLayoutAction), 15},
    {sipName_HorizontalLayoutAction, static_cast<int>( ::QDesignerFormWindowManagerInterface::HorizontalLayoutAction), 15},
    {sipName_LowerAction, static_cast<int>( ::QDesignerFormWindowManagerInterface::LowerAction), 15},
    {sipName_PasteAction, static_cast<int>( ::QDesignerFormWindowManagerInterface::PasteAction), 15},
    {sipName_RaiseAction, static_cast<int>( ::QDesignerFormWindowManagerInterface::RaiseAction), 15},
    {sipName_RedoAction, static_cast<int>( ::QDesignerFormWindowManagerInterface::RedoAction), 15},
    {sipName_SelectAllAction, static_cast<int>( ::QDesignerFormWindowManagerInterface::SelectAllAction), 15},
    {sipName_SimplifyLayoutAction, static_cast<int>( ::QDesignerFormWindowManagerInterface::SimplifyLayoutAction), 15},
    {sipName_SplitHorizontalAction, static_cast<int>( ::QDesignerFormWindowManagerInterface::SplitHorizontalAction), 15},
    {sipName_SplitVerticalAction, static_cast<int>( ::QDesignerFormWindowManagerInterface::SplitVerticalAction), 15},
    {sipName_StyledPreviewActionGroup, static_cast<int>( ::QDesignerFormWindowManagerInterface::StyledPreviewActionGroup), 16},
    {sipName_UndoAction, static_cast<int>( ::QDesignerFormWindowManagerInterface::UndoAction), 15},
    {sipName_VerticalLayoutAction, static_cast<int>( ::QDesignerFormWindowManagerInterface::VerticalLayoutAction), 15},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QDesignerFormWindowManagerInterface[] = {
    {"formWindowSettingsChanged(QDesignerFormWindowInterface*)", "\1formWindowSettingsChanged(self, QDesignerFormWindowInterface)", SIP_NULLPTR, SIP_NULLPTR},
    {"activeFormWindowChanged(QDesignerFormWindowInterface*)", "\1activeFormWindowChanged(self, QDesignerFormWindowInterface)", SIP_NULLPTR, SIP_NULLPTR},
    {"formWindowRemoved(QDesignerFormWindowInterface*)", "\1formWindowRemoved(self, QDesignerFormWindowInterface)", SIP_NULLPTR, SIP_NULLPTR},
    {"formWindowAdded(QDesignerFormWindowInterface*)", "\1formWindowAdded(self, QDesignerFormWindowInterface)", SIP_NULLPTR, SIP_NULLPTR},
    {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR}
};


static pyqt5ClassPluginDef plugin_QDesignerFormWindowManagerInterface = {
    & ::QDesignerFormWindowManagerInterface::staticMetaObject,
    0,
    signals_QDesignerFormWindowManagerInterface,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_QtDesigner_QDesignerFormWindowManagerInterface = {
    {
        -1,
        SIP_NULLPTR,
        SIP_NULLPTR,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QDesignerFormWindowManagerInterface,
        SIP_NULLPTR,
        &plugin_QDesignerFormWindowManagerInterface
    },
    {
        sipNameNr_QDesignerFormWindowManagerInterface,
        {0, 0, 1},
        15, methods_QDesignerFormWindowManagerInterface,
        21, enummembers_QDesignerFormWindowManagerInterface,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    SIP_NULLPTR,
    -1,
    -1,
    supers_QDesignerFormWindowManagerInterface,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_QDesignerFormWindowManagerInterface,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    release_QDesignerFormWindowManagerInterface,
    cast_QDesignerFormWindowManagerInterface,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    0,
};
