/*
 * 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 "sipAPIQtWidgets.h"

#line 503 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 29 "/build/pyqt5/src/PyQt5-5.15.7/build/QtWidgets/sipQtWidgetsQStyleOptionMenuItem.cpp"

#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtGui/qfont.sip"
#include <qfont.h>
#line 33 "/build/pyqt5/src/PyQt5-5.15.7/build/QtWidgets/sipQtWidgetsQStyleOptionMenuItem.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtGui/qicon.sip"
#include <qicon.h>
#line 36 "/build/pyqt5/src/PyQt5-5.15.7/build/QtWidgets/sipQtWidgetsQStyleOptionMenuItem.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qrect.sip"
#include <qrect.h>
#line 39 "/build/pyqt5/src/PyQt5-5.15.7/build/QtWidgets/sipQtWidgetsQStyleOptionMenuItem.cpp"
#line 27 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 42 "/build/pyqt5/src/PyQt5-5.15.7/build/QtWidgets/sipQtWidgetsQStyleOptionMenuItem.cpp"
#line 28 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 45 "/build/pyqt5/src/PyQt5-5.15.7/build/QtWidgets/sipQtWidgetsQStyleOptionMenuItem.cpp"


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

    if (targetType == sipType_QStyleOptionMenuItem)
        return sipCppV;

    if (targetType == sipType_QStyleOption)
        return static_cast< ::QStyleOption *>(sipCpp);

    return SIP_NULLPTR;
}


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


extern "C" {static void *array_QStyleOptionMenuItem(Py_ssize_t);}
static void *array_QStyleOptionMenuItem(Py_ssize_t sipNrElem)
{
    return new  ::QStyleOptionMenuItem[sipNrElem];
}


extern "C" {static void array_delete_QStyleOptionMenuItem(void *);}
static void array_delete_QStyleOptionMenuItem(void *sipCpp)
{
    delete[] reinterpret_cast< ::QStyleOptionMenuItem *>(sipCpp);
}


extern "C" {static void assign_QStyleOptionMenuItem(void *, Py_ssize_t, void *);}
static void assign_QStyleOptionMenuItem(void *sipDst, Py_ssize_t sipDstIdx, void *sipSrc)
{
    reinterpret_cast< ::QStyleOptionMenuItem *>(sipDst)[sipDstIdx] = *reinterpret_cast< ::QStyleOptionMenuItem *>(sipSrc);
}


extern "C" {static void *copy_QStyleOptionMenuItem(const void *, Py_ssize_t);}
static void *copy_QStyleOptionMenuItem(const void *sipSrc, Py_ssize_t sipSrcIdx)
{
    return new  ::QStyleOptionMenuItem(reinterpret_cast<const  ::QStyleOptionMenuItem *>(sipSrc)[sipSrcIdx]);
}


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


extern "C" {static void *init_type_QStyleOptionMenuItem(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyleOptionMenuItem(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QStyleOptionMenuItem *sipCpp = SIP_NULLPTR;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, sipUnused, ""))
        {
            sipCpp = new  ::QStyleOptionMenuItem();

            return sipCpp;
        }
    }

    {
        const  ::QStyleOptionMenuItem* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, sipUnused, "J9", sipType_QStyleOptionMenuItem, &a0))
        {
            sipCpp = new  ::QStyleOptionMenuItem(*a0);

            return sipCpp;
        }
    }

    return SIP_NULLPTR;
}


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

static sipEnumMemberDef enummembers_QStyleOptionMenuItem[] = {
    {sipName_DefaultItem, static_cast<int>( ::QStyleOptionMenuItem::DefaultItem), 355},
    {sipName_EmptyArea, static_cast<int>( ::QStyleOptionMenuItem::EmptyArea), 355},
    {sipName_Exclusive, static_cast<int>( ::QStyleOptionMenuItem::Exclusive), 354},
    {sipName_Margin, static_cast<int>( ::QStyleOptionMenuItem::Margin), 355},
    {sipName_NonExclusive, static_cast<int>( ::QStyleOptionMenuItem::NonExclusive), 354},
    {sipName_Normal, static_cast<int>( ::QStyleOptionMenuItem::Normal), 355},
    {sipName_NotCheckable, static_cast<int>( ::QStyleOptionMenuItem::NotCheckable), 354},
    {sipName_Scroller, static_cast<int>( ::QStyleOptionMenuItem::Scroller), 355},
    {sipName_Separator, static_cast<int>( ::QStyleOptionMenuItem::Separator), 355},
    {sipName_SubMenu, static_cast<int>( ::QStyleOptionMenuItem::SubMenu), 355},
    {sipName_TearOff, static_cast<int>( ::QStyleOptionMenuItem::TearOff), 355},
    {sipName_Type, static_cast<int>( ::QStyleOptionMenuItem::Type), 356},
    {sipName_Version, static_cast<int>( ::QStyleOptionMenuItem::Version), 357},
};


extern "C" {static PyObject *varget_QStyleOptionMenuItem_checkType(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionMenuItem_checkType(void *sipSelf, PyObject *, PyObject *)
{
     ::QStyleOptionMenuItem::CheckType sipVal;
     ::QStyleOptionMenuItem *sipCpp = reinterpret_cast< ::QStyleOptionMenuItem *>(sipSelf);

    sipVal = sipCpp->checkType;

    return sipConvertFromEnum(static_cast<int>(sipVal), sipType_QStyleOptionMenuItem_CheckType);
}


extern "C" {static int varset_QStyleOptionMenuItem_checkType(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionMenuItem_checkType(void *sipSelf, PyObject *sipPy, PyObject *)
{
     ::QStyleOptionMenuItem::CheckType sipVal;
     ::QStyleOptionMenuItem *sipCpp = reinterpret_cast< ::QStyleOptionMenuItem *>(sipSelf);

    sipVal = ( ::QStyleOptionMenuItem::CheckType)sipConvertToEnum(sipPy, sipType_QStyleOptionMenuItem_CheckType);

    if (PyErr_Occurred() != SIP_NULLPTR)
        return -1;

    sipCpp->checkType = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionMenuItem_checked(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionMenuItem_checked(void *sipSelf, PyObject *, PyObject *)
{
    bool sipVal;
     ::QStyleOptionMenuItem *sipCpp = reinterpret_cast< ::QStyleOptionMenuItem *>(sipSelf);

    sipVal = sipCpp->checked;

    return PyBool_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionMenuItem_checked(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionMenuItem_checked(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
     ::QStyleOptionMenuItem *sipCpp = reinterpret_cast< ::QStyleOptionMenuItem *>(sipSelf);

    sipVal = sipConvertToBool(sipPy);

    if (sipVal < 0)
        return -1;

    sipCpp->checked = static_cast<bool>(sipVal);

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionMenuItem_font(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionMenuItem_font(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
     ::QFont*sipVal;
     ::QStyleOptionMenuItem *sipCpp = reinterpret_cast< ::QStyleOptionMenuItem *>(sipSelf);

    sipPy = sipGetReference(sipPySelf, -98);

    if (sipPy)
        return sipPy;

    sipVal = &sipCpp->font;

    sipPy = sipConvertFromType(sipVal, sipType_QFont, SIP_NULLPTR);

    if (sipPy)
    {
        sipKeepReference(sipPy, -17, sipPySelf);
        sipKeepReference(sipPySelf, -98, sipPy);
    }

    return sipPy;
}


extern "C" {static int varset_QStyleOptionMenuItem_font(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionMenuItem_font(void *sipSelf, PyObject *sipPy, PyObject *)
{
     ::QFont*sipVal;
     ::QStyleOptionMenuItem *sipCpp = reinterpret_cast< ::QStyleOptionMenuItem *>(sipSelf);

    int sipIsErr = 0;
    sipVal = reinterpret_cast< ::QFont *>(sipForceConvertToType(sipPy, sipType_QFont, SIP_NULLPTR, SIP_NOT_NONE, SIP_NULLPTR, &sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->font = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionMenuItem_icon(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionMenuItem_icon(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
     ::QIcon*sipVal;
     ::QStyleOptionMenuItem *sipCpp = reinterpret_cast< ::QStyleOptionMenuItem *>(sipSelf);

    sipPy = sipGetReference(sipPySelf, -99);

    if (sipPy)
        return sipPy;

    sipVal = &sipCpp->icon;

    sipPy = sipConvertFromType(sipVal, sipType_QIcon, SIP_NULLPTR);

    if (sipPy)
    {
        sipKeepReference(sipPy, -18, sipPySelf);
        sipKeepReference(sipPySelf, -99, sipPy);
    }

    return sipPy;
}


extern "C" {static int varset_QStyleOptionMenuItem_icon(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionMenuItem_icon(void *sipSelf, PyObject *sipPy, PyObject *)
{
     ::QIcon*sipVal;
     ::QStyleOptionMenuItem *sipCpp = reinterpret_cast< ::QStyleOptionMenuItem *>(sipSelf);

    int sipIsErr = 0;
    sipVal = reinterpret_cast< ::QIcon *>(sipForceConvertToType(sipPy, sipType_QIcon, SIP_NULLPTR, SIP_NOT_NONE, SIP_NULLPTR, &sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->icon = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionMenuItem_maxIconWidth(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionMenuItem_maxIconWidth(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
     ::QStyleOptionMenuItem *sipCpp = reinterpret_cast< ::QStyleOptionMenuItem *>(sipSelf);

    sipVal = sipCpp->maxIconWidth;

    return PyLong_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionMenuItem_maxIconWidth(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionMenuItem_maxIconWidth(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
     ::QStyleOptionMenuItem *sipCpp = reinterpret_cast< ::QStyleOptionMenuItem *>(sipSelf);

    sipVal = sipLong_AsInt(sipPy);

    if (PyErr_Occurred() != SIP_NULLPTR)
        return -1;

    sipCpp->maxIconWidth = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionMenuItem_menuHasCheckableItems(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionMenuItem_menuHasCheckableItems(void *sipSelf, PyObject *, PyObject *)
{
    bool sipVal;
     ::QStyleOptionMenuItem *sipCpp = reinterpret_cast< ::QStyleOptionMenuItem *>(sipSelf);

    sipVal = sipCpp->menuHasCheckableItems;

    return PyBool_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionMenuItem_menuHasCheckableItems(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionMenuItem_menuHasCheckableItems(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
     ::QStyleOptionMenuItem *sipCpp = reinterpret_cast< ::QStyleOptionMenuItem *>(sipSelf);

    sipVal = sipConvertToBool(sipPy);

    if (sipVal < 0)
        return -1;

    sipCpp->menuHasCheckableItems = static_cast<bool>(sipVal);

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionMenuItem_menuItemType(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionMenuItem_menuItemType(void *sipSelf, PyObject *, PyObject *)
{
     ::QStyleOptionMenuItem::MenuItemType sipVal;
     ::QStyleOptionMenuItem *sipCpp = reinterpret_cast< ::QStyleOptionMenuItem *>(sipSelf);

    sipVal = sipCpp->menuItemType;

    return sipConvertFromEnum(static_cast<int>(sipVal), sipType_QStyleOptionMenuItem_MenuItemType);
}


extern "C" {static int varset_QStyleOptionMenuItem_menuItemType(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionMenuItem_menuItemType(void *sipSelf, PyObject *sipPy, PyObject *)
{
     ::QStyleOptionMenuItem::MenuItemType sipVal;
     ::QStyleOptionMenuItem *sipCpp = reinterpret_cast< ::QStyleOptionMenuItem *>(sipSelf);

    sipVal = ( ::QStyleOptionMenuItem::MenuItemType)sipConvertToEnum(sipPy, sipType_QStyleOptionMenuItem_MenuItemType);

    if (PyErr_Occurred() != SIP_NULLPTR)
        return -1;

    sipCpp->menuItemType = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionMenuItem_menuRect(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionMenuItem_menuRect(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
     ::QRect*sipVal;
     ::QStyleOptionMenuItem *sipCpp = reinterpret_cast< ::QStyleOptionMenuItem *>(sipSelf);

    sipPy = sipGetReference(sipPySelf, -100);

    if (sipPy)
        return sipPy;

    sipVal = &sipCpp->menuRect;

    sipPy = sipConvertFromType(sipVal, sipType_QRect, SIP_NULLPTR);

    if (sipPy)
    {
        sipKeepReference(sipPy, -27, sipPySelf);
        sipKeepReference(sipPySelf, -100, sipPy);
    }

    return sipPy;
}


extern "C" {static int varset_QStyleOptionMenuItem_menuRect(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionMenuItem_menuRect(void *sipSelf, PyObject *sipPy, PyObject *)
{
     ::QRect*sipVal;
     ::QStyleOptionMenuItem *sipCpp = reinterpret_cast< ::QStyleOptionMenuItem *>(sipSelf);

    int sipIsErr = 0;
    sipVal = reinterpret_cast< ::QRect *>(sipForceConvertToType(sipPy, sipType_QRect, SIP_NULLPTR, SIP_NOT_NONE, SIP_NULLPTR, &sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->menuRect = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionMenuItem_tabWidth(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionMenuItem_tabWidth(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
     ::QStyleOptionMenuItem *sipCpp = reinterpret_cast< ::QStyleOptionMenuItem *>(sipSelf);

    sipVal = sipCpp->tabWidth;

    return PyLong_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionMenuItem_tabWidth(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionMenuItem_tabWidth(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
     ::QStyleOptionMenuItem *sipCpp = reinterpret_cast< ::QStyleOptionMenuItem *>(sipSelf);

    sipVal = sipLong_AsInt(sipPy);

    if (PyErr_Occurred() != SIP_NULLPTR)
        return -1;

    sipCpp->tabWidth = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionMenuItem_text(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionMenuItem_text(void *sipSelf, PyObject *, PyObject *)
{
     ::QString*sipVal;
     ::QStyleOptionMenuItem *sipCpp = reinterpret_cast< ::QStyleOptionMenuItem *>(sipSelf);

    sipVal = &sipCpp->text;

    return sipConvertFromType(sipVal, sipType_QString, SIP_NULLPTR);
}


extern "C" {static int varset_QStyleOptionMenuItem_text(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionMenuItem_text(void *sipSelf, PyObject *sipPy, PyObject *)
{
     ::QString*sipVal;
     ::QStyleOptionMenuItem *sipCpp = reinterpret_cast< ::QStyleOptionMenuItem *>(sipSelf);

    int sipIsErr = 0;
    int sipValState;
    sipVal = reinterpret_cast< ::QString *>(sipForceConvertToType(sipPy, sipType_QString, SIP_NULLPTR, SIP_NOT_NONE, &sipValState, &sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->text = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}

sipVariableDef variables_QStyleOptionMenuItem[] = {
    {InstanceVariable, sipName_checkType, (PyMethodDef *)varget_QStyleOptionMenuItem_checkType, (PyMethodDef *)varset_QStyleOptionMenuItem_checkType, SIP_NULLPTR, SIP_NULLPTR},
    {InstanceVariable, sipName_checked, (PyMethodDef *)varget_QStyleOptionMenuItem_checked, (PyMethodDef *)varset_QStyleOptionMenuItem_checked, SIP_NULLPTR, SIP_NULLPTR},
    {InstanceVariable, sipName_font, (PyMethodDef *)varget_QStyleOptionMenuItem_font, (PyMethodDef *)varset_QStyleOptionMenuItem_font, SIP_NULLPTR, SIP_NULLPTR},
    {InstanceVariable, sipName_icon, (PyMethodDef *)varget_QStyleOptionMenuItem_icon, (PyMethodDef *)varset_QStyleOptionMenuItem_icon, SIP_NULLPTR, SIP_NULLPTR},
    {InstanceVariable, sipName_maxIconWidth, (PyMethodDef *)varget_QStyleOptionMenuItem_maxIconWidth, (PyMethodDef *)varset_QStyleOptionMenuItem_maxIconWidth, SIP_NULLPTR, SIP_NULLPTR},
    {InstanceVariable, sipName_menuHasCheckableItems, (PyMethodDef *)varget_QStyleOptionMenuItem_menuHasCheckableItems, (PyMethodDef *)varset_QStyleOptionMenuItem_menuHasCheckableItems, SIP_NULLPTR, SIP_NULLPTR},
    {InstanceVariable, sipName_menuItemType, (PyMethodDef *)varget_QStyleOptionMenuItem_menuItemType, (PyMethodDef *)varset_QStyleOptionMenuItem_menuItemType, SIP_NULLPTR, SIP_NULLPTR},
    {InstanceVariable, sipName_menuRect, (PyMethodDef *)varget_QStyleOptionMenuItem_menuRect, (PyMethodDef *)varset_QStyleOptionMenuItem_menuRect, SIP_NULLPTR, SIP_NULLPTR},
    {InstanceVariable, sipName_tabWidth, (PyMethodDef *)varget_QStyleOptionMenuItem_tabWidth, (PyMethodDef *)varset_QStyleOptionMenuItem_tabWidth, SIP_NULLPTR, SIP_NULLPTR},
    {InstanceVariable, sipName_text, (PyMethodDef *)varget_QStyleOptionMenuItem_text, (PyMethodDef *)varset_QStyleOptionMenuItem_text, SIP_NULLPTR, SIP_NULLPTR},
};

PyDoc_STRVAR(doc_QStyleOptionMenuItem, "\1QStyleOptionMenuItem()\n"
"QStyleOptionMenuItem(QStyleOptionMenuItem)");


static pyqt5ClassPluginDef plugin_QStyleOptionMenuItem = {
    SIP_NULLPTR,
    0,
    SIP_NULLPTR,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_QtWidgets_QStyleOptionMenuItem = {
    {
        -1,
        SIP_NULLPTR,
        SIP_NULLPTR,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionMenuItem,
        SIP_NULLPTR,
        &plugin_QStyleOptionMenuItem
    },
    {
        sipNameNr_QStyleOptionMenuItem,
        {0, 0, 1},
        0, SIP_NULLPTR,
        13, enummembers_QStyleOptionMenuItem,
        10, variables_QStyleOptionMenuItem,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    doc_QStyleOptionMenuItem,
    -1,
    -1,
    supers_QStyleOptionMenuItem,
    SIP_NULLPTR,
    init_type_QStyleOptionMenuItem,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_QStyleOptionMenuItem,
    assign_QStyleOptionMenuItem,
    array_QStyleOptionMenuItem,
    copy_QStyleOptionMenuItem,
    release_QStyleOptionMenuItem,
    cast_QStyleOptionMenuItem,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    array_delete_QStyleOptionMenuItem,
    sizeof ( ::QStyleOptionMenuItem),
};
