static PyObject *slot_QFileDialog_Options___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QFileDialog::Options * a0;
        int a0State = 0;
        QFileDialog::Options * a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QFileDialog_Options, &a0, &a0State, sipType_QFileDialog_Options, &a1, &a1State))
        {
            QFileDialog::Options *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFileDialog::Options((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QFileDialog_Options,a0State);
            sipReleaseType(a1,sipType_QFileDialog_Options,a1State);

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

    {
        QFileDialog::Options * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QFileDialog_Options, &a0, &a0State, &a1))
        {
            QFileDialog::Options *sipRes = 0;

#line 315 "/home/tsheasha/GUC/Bachelors/android-python27/python-build/PyQt-x11-gpl-4.8/sip/QtCore/qglobal.sip"
        sipRes = new QFileDialog::Options(*a0 | a1);
#line 284 "sipQtGuiQFileDialogOptions.cpp"
            sipReleaseType(a0,sipType_QFileDialog_Options,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtGui,or_slot,NULL,sipArg0,sipArg1);
}
static PyObject *slot_QFile_Permissions___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QFile::Permissions* a0;
        int a0State = 0;
        QFile::Permissions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QFile_Permissions, &a0, &a0State, sipType_QFile_Permissions, &a1, &a1State))
        {
            QFile::Permissions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFile::Permissions((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QFile_Permissions,a0State);
            sipReleaseType(a1,sipType_QFile_Permissions,a1State);

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

    {
        QFile::Permissions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QFile_Permissions, &a0, &a0State, &a1))
        {
            QFile::Permissions*sipRes = 0;

#line 341 "/Users/Kunwiji/Dropbox/Spectroscopy_paper/PyQt-mac-gpl-4.11.2/sip/QtCore/qglobal.sip"
        sipRes = new QFile::Permissions(*a0 | a1);
#line 295 "/Users/Kunwiji/Dropbox/Spectroscopy_paper/PyQt-mac-gpl-4.11.2/QtCore/sipQtCoreQFilePermissions.cpp"
            sipReleaseType(a0,sipType_QFile_Permissions,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,or_slot,NULL,sipArg0,sipArg1);
}
static PyObject *slot_QStyleOptionToolButton_ToolButtonFeatures___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionToolButton::ToolButtonFeatures * a0;
        int a0State = 0;
        QStyleOptionToolButton::ToolButtonFeatures * a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QStyleOptionToolButton_ToolButtonFeatures, &a0, &a0State, sipType_QStyleOptionToolButton_ToolButtonFeatures, &a1, &a1State))
        {
            QStyleOptionToolButton::ToolButtonFeatures *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStyleOptionToolButton::ToolButtonFeatures((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QStyleOptionToolButton_ToolButtonFeatures,a0State);
            sipReleaseType(a1,sipType_QStyleOptionToolButton_ToolButtonFeatures,a1State);

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

    {
        QStyleOptionToolButton::ToolButtonFeatures * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QStyleOptionToolButton_ToolButtonFeatures, &a0, &a0State, &a1))
        {
            QStyleOptionToolButton::ToolButtonFeatures *sipRes = 0;

#line 320 "/home/tsheasha/GUC/Bachelors/android-python27/python-build/PyQt-x11-gpl-4.8/sip/QtCore/qglobal.sip"
        sipRes = new QStyleOptionToolButton::ToolButtonFeatures(*a0 ^ a1);
#line 232 "sipQtGuiQStyleOptionToolButtonToolButtonFeatures.cpp"
            sipReleaseType(a0,sipType_QStyleOptionToolButton_ToolButtonFeatures,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtGui,xor_slot,NULL,sipArg0,sipArg1);
}
static PyObject *slot_QPinchGesture_ChangeFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QPinchGesture::ChangeFlags* a0;
        int a0State = 0;
        QPinchGesture::ChangeFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QPinchGesture_ChangeFlags, &a0, &a0State, sipType_QPinchGesture_ChangeFlags, &a1, &a1State))
        {
            QPinchGesture::ChangeFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPinchGesture::ChangeFlags((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QPinchGesture_ChangeFlags,a0State);
            sipReleaseType(a1,sipType_QPinchGesture_ChangeFlags,a1State);

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

    {
        QPinchGesture::ChangeFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QPinchGesture_ChangeFlags, &a0, &a0State, &a1))
        {
            QPinchGesture::ChangeFlags*sipRes = 0;

#line 341 "sip/QtCore/qglobal.sip"
        sipRes = new QPinchGesture::ChangeFlags(*a0 | a1);
#line 295 "/Users/ktaylora/PLJV/tillage_likelihood_model/gui/PyQt4/QtGui/sipQtGuiQPinchGestureChangeFlags.cpp"
            sipReleaseType(a0,sipType_QPinchGesture_ChangeFlags,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtGui,or_slot,NULL,sipArg0,sipArg1);
}
static PyObject *slot_QLocale_NumberOptions___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QLocale::NumberOptions* a0;
        int a0State = 0;
        QLocale::NumberOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QLocale_NumberOptions, &a0, &a0State, sipType_QLocale_NumberOptions, &a1, &a1State))
        {
            QLocale::NumberOptions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QLocale::NumberOptions((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QLocale_NumberOptions,a0State);
            sipReleaseType(a1,sipType_QLocale_NumberOptions,a1State);

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

    {
        QLocale::NumberOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QLocale_NumberOptions, &a0, &a0State, &a1))
        {
            QLocale::NumberOptions*sipRes = 0;

#line 360 "/home/vikky/Desktop/DVCS/stuff/scrapy/soft/PyQt-x11-gpl-4.11.4/sip/QtCore/qglobal.sip"
        sipRes = new QLocale::NumberOptions(*a0 | a1);
#line 290 "/home/vikky/Desktop/DVCS/stuff/scrapy/soft/PyQt-x11-gpl-4.11.4/QtCore/sipQtCoreQLocaleNumberOptions.cpp"
            sipReleaseType(a0,sipType_QLocale_NumberOptions,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,or_slot,NULL,sipArg0,sipArg1);
}
static PyObject *slot_QGLShader_ShaderType___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QGLShader::ShaderType* a0;
        int a0State = 0;
        QGLShader::ShaderType* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QGLShader_ShaderType, &a0, &a0State, sipType_QGLShader_ShaderType, &a1, &a1State))
        {
            QGLShader::ShaderType*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QGLShader::ShaderType((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QGLShader_ShaderType,a0State);
            sipReleaseType(a1,sipType_QGLShader_ShaderType,a1State);

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

    {
        QGLShader::ShaderType* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QGLShader_ShaderType, &a0, &a0State, &a1))
        {
            QGLShader::ShaderType*sipRes = 0;

#line 341 "sip/QtCore/qglobal.sip"
        sipRes = new QGLShader::ShaderType(*a0 | a1);
#line 295 "/Users/ktaylora/PLJV/tillage_likelihood_model/gui/PyQt4/QtOpenGL/sipQtOpenGLQGLShaderShaderType.cpp"
            sipReleaseType(a0,sipType_QGLShader_ShaderType,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtOpenGL,or_slot,NULL,sipArg0,sipArg1);
}
static PyObject *slot_QSizePolicy_ControlTypes___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QSizePolicy::ControlTypes* a0;
        int a0State = 0;
        QSizePolicy::ControlTypes* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QSizePolicy_ControlTypes, &a0, &a0State, sipType_QSizePolicy_ControlTypes, &a1, &a1State))
        {
            QSizePolicy::ControlTypes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSizePolicy::ControlTypes((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QSizePolicy_ControlTypes,a0State);
            sipReleaseType(a1,sipType_QSizePolicy_ControlTypes,a1State);

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

    {
        QSizePolicy::ControlTypes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSizePolicy_ControlTypes, &a0, &a0State, &a1))
        {
            QSizePolicy::ControlTypes*sipRes = 0;

#line 346 "/Users/Kunwiji/Dropbox/Spectroscopy_paper/PyQt-mac-gpl-4.11.2/sip/QtCore/qglobal.sip"
        sipRes = new QSizePolicy::ControlTypes(*a0 ^ a1);
#line 243 "/Users/Kunwiji/Dropbox/Spectroscopy_paper/PyQt-mac-gpl-4.11.2/QtGui/sipQtGuiQSizePolicyControlTypes.cpp"
            sipReleaseType(a0,sipType_QSizePolicy_ControlTypes,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtGui,xor_slot,NULL,sipArg0,sipArg1);
}
static PyObject *slot_QAbstractSocket_BindMode___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractSocket::BindMode* a0;
        int a0State = 0;
        QAbstractSocket::BindMode* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QAbstractSocket_BindMode, &a0, &a0State, sipType_QAbstractSocket_BindMode, &a1, &a1State))
        {
            QAbstractSocket::BindMode*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QAbstractSocket::BindMode((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QAbstractSocket_BindMode,a0State);
            sipReleaseType(a1,sipType_QAbstractSocket_BindMode,a1State);

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

    {
        QAbstractSocket::BindMode* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QAbstractSocket_BindMode, &a0, &a0State, &a1))
        {
            QAbstractSocket::BindMode*sipRes = 0;

#line 360 "sip/QtCore/qglobal.sip"
        sipRes = new QAbstractSocket::BindMode(*a0 | a1);
#line 290 "/home/vikky/Desktop/DVCS/stuff/scrapy/soft/PyQt-x11-gpl-4.11.4/QtNetwork/sipQtNetworkQAbstractSocketBindMode.cpp"
            sipReleaseType(a0,sipType_QAbstractSocket_BindMode,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtNetwork,or_slot,NULL,sipArg0,sipArg1);
}
static PyObject *slot_QDesignerFormWindowInterface_Feature___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QDesignerFormWindowInterface::Feature* a0;
        int a0State = 0;
        QDesignerFormWindowInterface::Feature* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QDesignerFormWindowInterface_Feature, &a0, &a0State, sipType_QDesignerFormWindowInterface_Feature, &a1, &a1State))
        {
            QDesignerFormWindowInterface::Feature*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDesignerFormWindowInterface::Feature((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QDesignerFormWindowInterface_Feature,a0State);
            sipReleaseType(a1,sipType_QDesignerFormWindowInterface_Feature,a1State);

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

    {
        QDesignerFormWindowInterface::Feature* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QDesignerFormWindowInterface_Feature, &a0, &a0State, &a1))
        {
            QDesignerFormWindowInterface::Feature*sipRes = 0;

#line 346 "sip/QtCore/qglobal.sip"
        sipRes = new QDesignerFormWindowInterface::Feature(*a0 ^ a1);
#line 243 "/Users/ktaylora/PLJV/tillage_likelihood_model/gui/PyQt4/QtDesigner/sipQtDesignerQDesignerFormWindowInterfaceFeature.cpp"
            sipReleaseType(a0,sipType_QDesignerFormWindowInterface_Feature,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtDesigner,xor_slot,NULL,sipArg0,sipArg1);
}
static PyObject *slot_Qt_InputMethodQueries___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::InputMethodQueries* a0;
        int a0State = 0;
        Qt::InputMethodQueries* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_InputMethodQueries, &a0, &a0State, sipType_Qt_InputMethodQueries, &a1, &a1State))
        {
            Qt::InputMethodQueries*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::InputMethodQueries((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Qt_InputMethodQueries,a0State);
            sipReleaseType(a1,sipType_Qt_InputMethodQueries,a1State);

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

    {
        Qt::InputMethodQueries* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_InputMethodQueries, &a0, &a0State, &a1))
        {
            Qt::InputMethodQueries*sipRes = 0;

#line 365 "/home/vikky/Desktop/DVCS/stuff/scrapy/soft/PyQt-x11-gpl-4.11.4/sip/QtCore/qglobal.sip"
        sipRes = new Qt::InputMethodQueries(*a0 ^ a1);
#line 238 "/home/vikky/Desktop/DVCS/stuff/scrapy/soft/PyQt-x11-gpl-4.11.4/QtCore/sipQtCoreQtInputMethodQueries.cpp"
            sipReleaseType(a0,sipType_Qt_InputMethodQueries,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,xor_slot,NULL,sipArg0,sipArg1);
}
static PyObject *slot_Qt_DropActions___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::DropActions* a0;
        int a0State = 0;
        Qt::DropActions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Qt_DropActions, &a0, &a0State, sipType_Qt_DropActions, &a1, &a1State))
        {
            Qt::DropActions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::DropActions((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Qt_DropActions,a0State);
            sipReleaseType(a1,sipType_Qt_DropActions,a1State);

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

    {
        Qt::DropActions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_DropActions, &a0, &a0State, &a1))
        {
            Qt::DropActions*sipRes = 0;

#line 346 "/Users/ktaylora/PLJV/tillage_likelihood_model/gui/PyQt4/sip/QtCore/qglobal.sip"
        sipRes = new Qt::DropActions(*a0 ^ a1);
#line 243 "/Users/ktaylora/PLJV/tillage_likelihood_model/gui/PyQt4/QtCore/sipQtCoreQtDropActions.cpp"
            sipReleaseType(a0,sipType_Qt_DropActions,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,xor_slot,NULL,sipArg0,sipArg1);
}
static PyObject *slot_QAbstractSocket_BindMode___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractSocket::BindMode* a0;
        int a0State = 0;
        QAbstractSocket::BindMode* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QAbstractSocket_BindMode, &a0, &a0State, sipType_QAbstractSocket_BindMode, &a1, &a1State))
        {
            QAbstractSocket::BindMode*sipRes;

            sipRes = new QAbstractSocket::BindMode((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QAbstractSocket_BindMode,a0State);
            sipReleaseType(a1,sipType_QAbstractSocket_BindMode,a1State);

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

    {
        QAbstractSocket::BindMode* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QAbstractSocket_BindMode, &a0, &a0State, &a1))
        {
            QAbstractSocket::BindMode*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QAbstractSocket::BindMode(*a0 ^ a1);
#line 220 "C:\\Users\\marcus\\Downloads\\PyQt-gpl-5.4\\PyQt-gpl-5.4\\QtNetwork/sipQtNetworkQAbstractSocketBindMode.cpp"
            sipReleaseType(a0,sipType_QAbstractSocket_BindMode,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtNetwork,xor_slot,NULL,sipArg0,sipArg1);
}
static PyObject *slot_QTextEdit_AutoFormatting___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QTextEdit::AutoFormatting* a0;
        int a0State = 0;
        QTextEdit::AutoFormatting* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QTextEdit_AutoFormatting, &a0, &a0State, sipType_QTextEdit_AutoFormatting, &a1, &a1State))
        {
            QTextEdit::AutoFormatting*sipRes;

            sipRes = new QTextEdit::AutoFormatting((*a0 | *a1));
            sipReleaseType(a0,sipType_QTextEdit_AutoFormatting,a0State);
            sipReleaseType(a1,sipType_QTextEdit_AutoFormatting,a1State);

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

    {
        QTextEdit::AutoFormatting* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QTextEdit_AutoFormatting, &a0, &a0State, &a1))
        {
            QTextEdit::AutoFormatting*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QTextEdit::AutoFormatting(*a0 | a1);
#line 270 "C:\\Users\\marcus\\Downloads\\PyQt-gpl-5.4\\PyQt-gpl-5.4\\QtWidgets/sipQtWidgetsQTextEditAutoFormatting.cpp"
            sipReleaseType(a0,sipType_QTextEdit_AutoFormatting,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,or_slot,NULL,sipArg0,sipArg1);
}
static PyObject *slot_QBluetoothDeviceInfo_CoreConfigurations___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QBluetoothDeviceInfo::CoreConfigurations* a0;
        int a0State = 0;
        QBluetoothDeviceInfo::CoreConfigurations* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QBluetoothDeviceInfo_CoreConfigurations, &a0, &a0State, sipType_QBluetoothDeviceInfo_CoreConfigurations, &a1, &a1State))
        {
            QBluetoothDeviceInfo::CoreConfigurations*sipRes;

            sipRes = new QBluetoothDeviceInfo::CoreConfigurations((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QBluetoothDeviceInfo_CoreConfigurations,a0State);
            sipReleaseType(a1,sipType_QBluetoothDeviceInfo_CoreConfigurations,a1State);

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

    {
        QBluetoothDeviceInfo::CoreConfigurations* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QBluetoothDeviceInfo_CoreConfigurations, &a0, &a0State, &a1))
        {
            QBluetoothDeviceInfo::CoreConfigurations*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QBluetoothDeviceInfo::CoreConfigurations(*a0 ^ a1);
#line 220 "C:\\Users\\marcus\\Downloads\\PyQt-gpl-5.4\\PyQt-gpl-5.4\\QtBluetooth/sipQtBluetoothQBluetoothDeviceInfoCoreConfigurations.cpp"
            sipReleaseType(a0,sipType_QBluetoothDeviceInfo_CoreConfigurations,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtBluetooth,xor_slot,NULL,sipArg0,sipArg1);
}
static PyObject *slot_QWebEnginePage_FindFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QWebEnginePage::FindFlags* a0;
        int a0State = 0;
        QWebEnginePage::FindFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QWebEnginePage_FindFlags, &a0, &a0State, sipType_QWebEnginePage_FindFlags, &a1, &a1State))
        {
            QWebEnginePage::FindFlags*sipRes;

            sipRes = new QWebEnginePage::FindFlags((*a0 | *a1));
            sipReleaseType(a0,sipType_QWebEnginePage_FindFlags,a0State);
            sipReleaseType(a1,sipType_QWebEnginePage_FindFlags,a1State);

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

    {
        QWebEnginePage::FindFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QWebEnginePage_FindFlags, &a0, &a0State, &a1))
        {
            QWebEnginePage::FindFlags*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QWebEnginePage::FindFlags(*a0 | a1);
#line 270 "C:\\Users\\marcus\\Downloads\\PyQt-gpl-5.4\\PyQt-gpl-5.4\\QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEnginePageFindFlags.cpp"
            sipReleaseType(a0,sipType_QWebEnginePage_FindFlags,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWebEngineWidgets,or_slot,NULL,sipArg0,sipArg1);
}
static PyObject *slot_QIODevice_OpenMode___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QIODevice::OpenMode* a0;
        int a0State = 0;
        QIODevice::OpenMode* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QIODevice_OpenMode, &a0, &a0State, sipType_QIODevice_OpenMode, &a1, &a1State))
        {
            QIODevice::OpenMode*sipRes;

            sipRes = new QIODevice::OpenMode((*a0 | *a1));
            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);
            sipReleaseType(a1,sipType_QIODevice_OpenMode,a1State);

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

    {
        QIODevice::OpenMode* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QIODevice_OpenMode, &a0, &a0State, &a1))
        {
            QIODevice::OpenMode*sipRes = 0;

#line 98 "C:\\Users\\marcus\\Downloads\\PyQt-gpl-5.4\\PyQt-gpl-5.4\\sip/QtCore/qglobal.sip"
        sipRes = new QIODevice::OpenMode(*a0 | a1);
#line 270 "C:\\Users\\marcus\\Downloads\\PyQt-gpl-5.4\\PyQt-gpl-5.4\\QtCore/sipQtCoreQIODeviceOpenMode.cpp"
            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,or_slot,NULL,sipArg0,sipArg1);
}
static PyObject *slot_QCameraImageCapture_CaptureDestinations___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QCameraImageCapture::CaptureDestinations* a0;
        int a0State = 0;
        QCameraImageCapture::CaptureDestinations* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QCameraImageCapture_CaptureDestinations, &a0, &a0State, sipType_QCameraImageCapture_CaptureDestinations, &a1, &a1State))
        {
            QCameraImageCapture::CaptureDestinations*sipRes;

            sipRes = new QCameraImageCapture::CaptureDestinations((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QCameraImageCapture_CaptureDestinations,a0State);
            sipReleaseType(a1,sipType_QCameraImageCapture_CaptureDestinations,a1State);

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

    {
        QCameraImageCapture::CaptureDestinations* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QCameraImageCapture_CaptureDestinations, &a0, &a0State, &a1))
        {
            QCameraImageCapture::CaptureDestinations*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QCameraImageCapture::CaptureDestinations(*a0 ^ a1);
#line 220 "C:\\Users\\marcus\\Downloads\\PyQt-gpl-5.4\\PyQt-gpl-5.4\\QtMultimedia/sipQtMultimediaQCameraImageCaptureCaptureDestinations.cpp"
            sipReleaseType(a0,sipType_QCameraImageCapture_CaptureDestinations,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtMultimedia,xor_slot,NULL,sipArg0,sipArg1);
}
static PyObject *slot_QFontComboBox_FontFilters___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QFontComboBox::FontFilters* a0;
        int a0State = 0;
        QFontComboBox::FontFilters* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QFontComboBox_FontFilters, &a0, &a0State, sipType_QFontComboBox_FontFilters, &a1, &a1State))
        {
            QFontComboBox::FontFilters*sipRes;

            sipRes = new QFontComboBox::FontFilters((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QFontComboBox_FontFilters,a0State);
            sipReleaseType(a1,sipType_QFontComboBox_FontFilters,a1State);

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

    {
        QFontComboBox::FontFilters* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QFontComboBox_FontFilters, &a0, &a0State, &a1))
        {
            QFontComboBox::FontFilters*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QFontComboBox::FontFilters(*a0 ^ a1);
#line 220 "C:\\Users\\marcus\\Downloads\\PyQt-gpl-5.4\\PyQt-gpl-5.4\\QtWidgets/sipQtWidgetsQFontComboBoxFontFilters.cpp"
            sipReleaseType(a0,sipType_QFontComboBox_FontFilters,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,xor_slot,NULL,sipArg0,sipArg1);
}
static PyObject *slot_QSGEngine_CreateTextureOptions___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QSGEngine::CreateTextureOptions* a0;
        int a0State = 0;
        QSGEngine::CreateTextureOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QSGEngine_CreateTextureOptions, &a0, &a0State, sipType_QSGEngine_CreateTextureOptions, &a1, &a1State))
        {
            QSGEngine::CreateTextureOptions*sipRes;

            sipRes = new QSGEngine::CreateTextureOptions((*a0 | *a1));
            sipReleaseType(a0,sipType_QSGEngine_CreateTextureOptions,a0State);
            sipReleaseType(a1,sipType_QSGEngine_CreateTextureOptions,a1State);

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

    {
        QSGEngine::CreateTextureOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSGEngine_CreateTextureOptions, &a0, &a0State, &a1))
        {
            QSGEngine::CreateTextureOptions*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QSGEngine::CreateTextureOptions(*a0 | a1);
#line 270 "C:\\Users\\marcus\\Downloads\\PyQt-gpl-5.4\\PyQt-gpl-5.4\\QtQuick/sipQtQuickQSGEngineCreateTextureOptions.cpp"
            sipReleaseType(a0,sipType_QSGEngine_CreateTextureOptions,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtQuick,or_slot,NULL,sipArg0,sipArg1);
}
static PyObject *slot_QOpenGLDebugMessage_Types___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QOpenGLDebugMessage::Types* a0;
        int a0State = 0;
        QOpenGLDebugMessage::Types* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QOpenGLDebugMessage_Types, &a0, &a0State, sipType_QOpenGLDebugMessage_Types, &a1, &a1State))
        {
            QOpenGLDebugMessage::Types*sipRes;

            sipRes = new QOpenGLDebugMessage::Types((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QOpenGLDebugMessage_Types,a0State);
            sipReleaseType(a1,sipType_QOpenGLDebugMessage_Types,a1State);

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

    {
        QOpenGLDebugMessage::Types* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QOpenGLDebugMessage_Types, &a0, &a0State, &a1))
        {
            QOpenGLDebugMessage::Types*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QOpenGLDebugMessage::Types(*a0 ^ a1);
#line 220 "C:\\Users\\marcus\\Downloads\\PyQt-gpl-5.4\\PyQt-gpl-5.4\\QtGui/sipQtGuiQOpenGLDebugMessageTypes.cpp"
            sipReleaseType(a0,sipType_QOpenGLDebugMessage_Types,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtGui,xor_slot,NULL,sipArg0,sipArg1);
}
static PyObject *slot_QNetworkSession_UsagePolicies___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QNetworkSession::UsagePolicies* a0;
        int a0State = 0;
        QNetworkSession::UsagePolicies* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QNetworkSession_UsagePolicies, &a0, &a0State, sipType_QNetworkSession_UsagePolicies, &a1, &a1State))
        {
            QNetworkSession::UsagePolicies*sipRes;

            sipRes = new QNetworkSession::UsagePolicies((*a0 | *a1));
            sipReleaseType(a0,sipType_QNetworkSession_UsagePolicies,a0State);
            sipReleaseType(a1,sipType_QNetworkSession_UsagePolicies,a1State);

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

    {
        QNetworkSession::UsagePolicies* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QNetworkSession_UsagePolicies, &a0, &a0State, &a1))
        {
            QNetworkSession::UsagePolicies*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QNetworkSession::UsagePolicies(*a0 | a1);
#line 270 "C:\\Users\\marcus\\Downloads\\PyQt-gpl-5.4\\PyQt-gpl-5.4\\QtNetwork/sipQtNetworkQNetworkSessionUsagePolicies.cpp"
            sipReleaseType(a0,sipType_QNetworkSession_UsagePolicies,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtNetwork,or_slot,NULL,sipArg0,sipArg1);
}
static PyObject *slot_QItemSelectionModel_SelectionFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QItemSelectionModel::SelectionFlags* a0;
        int a0State = 0;
        QItemSelectionModel::SelectionFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QItemSelectionModel_SelectionFlags, &a0, &a0State, sipType_QItemSelectionModel_SelectionFlags, &a1, &a1State))
        {
            QItemSelectionModel::SelectionFlags*sipRes;

            sipRes = new QItemSelectionModel::SelectionFlags((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QItemSelectionModel_SelectionFlags,a0State);
            sipReleaseType(a1,sipType_QItemSelectionModel_SelectionFlags,a1State);

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

    {
        QItemSelectionModel::SelectionFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QItemSelectionModel_SelectionFlags, &a0, &a0State, &a1))
        {
            QItemSelectionModel::SelectionFlags*sipRes = 0;

#line 103 "C:\\Users\\marcus\\Downloads\\PyQt-gpl-5.4\\PyQt-gpl-5.4\\sip/QtCore/qglobal.sip"
        sipRes = new QItemSelectionModel::SelectionFlags(*a0 ^ a1);
#line 220 "C:\\Users\\marcus\\Downloads\\PyQt-gpl-5.4\\PyQt-gpl-5.4\\QtCore/sipQtCoreQItemSelectionModelSelectionFlags.cpp"
            sipReleaseType(a0,sipType_QItemSelectionModel_SelectionFlags,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,xor_slot,NULL,sipArg0,sipArg1);
}
static PyObject *slot_QHostAddress___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QHostAddress *sipCpp = reinterpret_cast<QHostAddress *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QHostAddress));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QHostAddress* a0;
        int a0State = 0;

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

            sipRes = sipCpp->QHostAddress::operator==(*a0);
            sipReleaseType(const_cast<QHostAddress *>(a0),sipType_QHostAddress,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        QHostAddress::SpecialAddress a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1E", sipType_QHostAddress_SpecialAddress, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->QHostAddress::operator==(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtNetwork,eq_slot,sipType_QHostAddress,sipSelf,sipArg);
}
Example #24
0
static PyObject *slot_QSizeF___mul__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        const QSizeF* a0;
        qreal a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9d", sipType_QSizeF, &a0, &a1))
        {
            QSizeF*sipRes;

            sipRes = new QSizeF((*a0 * a1));

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

    {
        qreal a0;
        const QSizeF* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "dJ9", &a0, sipType_QSizeF, &a1))
        {
            QSizeF*sipRes;

            sipRes = new QSizeF((a0 * *a1));

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,mul_slot,NULL,sipArg0,sipArg1);
}
Example #25
0
static PyObject *slot_Qt_WindowStates___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::WindowStates *sipCpp = reinterpret_cast< ::Qt::WindowStates *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_WindowStates));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::WindowStates* a0;
        int a0State = 0;

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

#line 372 "/home/thais/Faculdade/TCC/NEW/PyQt4_gpl_x11-4.12/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::WindowStates::Int() != a0->operator Qt::WindowStates::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 89 "/home/thais/Faculdade/TCC/NEW/PyQt4_gpl_x11-4.12/QtCore/sipQtCoreQtWindowStates.cpp"
            sipReleaseType(const_cast< ::Qt::WindowStates *>(a0),sipType_Qt_WindowStates,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_Qt_WindowStates, sipSelf, sipArg);
}
static PyObject *slot_QDir_Filters___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QDir::Filters *sipCpp = reinterpret_cast<QDir::Filters *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDir_Filters));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QDir::Filters* a0;
        int a0State = 0;

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

#line 361 "/Users/ktaylora/PLJV/tillage_likelihood_model/gui/PyQt4/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QDir::Filters::Int() != a0->operator QDir::Filters::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 94 "/Users/ktaylora/PLJV/tillage_likelihood_model/gui/PyQt4/QtCore/sipQtCoreQDirFilters.cpp"
            sipReleaseType(const_cast<QDir::Filters *>(a0),sipType_QDir_Filters,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,ne_slot,sipType_QDir_Filters,sipSelf,sipArg);
}
static PyObject *slot_Qt_ImageConversionFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    Qt::ImageConversionFlags *sipCpp = reinterpret_cast<Qt::ImageConversionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ImageConversionFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const Qt::ImageConversionFlags* a0;
        int a0State = 0;

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

#line 380 "/home/vikky/Desktop/DVCS/stuff/scrapy/soft/PyQt-x11-gpl-4.11.4/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Qt::ImageConversionFlags::Int() != a0->operator Qt::ImageConversionFlags::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 89 "/home/vikky/Desktop/DVCS/stuff/scrapy/soft/PyQt-x11-gpl-4.11.4/QtCore/sipQtCoreQtImageConversionFlags.cpp"
            sipReleaseType(const_cast<Qt::ImageConversionFlags *>(a0),sipType_Qt_ImageConversionFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore,ne_slot,sipType_Qt_ImageConversionFlags,sipSelf,sipArg);
}
static PyObject *slot_QNetworkConfiguration_StateFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QNetworkConfiguration::StateFlags *sipCpp = reinterpret_cast<QNetworkConfiguration::StateFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QNetworkConfiguration_StateFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QNetworkConfiguration::StateFlags* a0;
        int a0State = 0;

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

#line 361 "/Users/Kunwiji/Dropbox/Spectroscopy_paper/PyQt-mac-gpl-4.11.2/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QNetworkConfiguration::StateFlags::Int() != a0->operator QNetworkConfiguration::StateFlags::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 94 "/Users/Kunwiji/Dropbox/Spectroscopy_paper/PyQt-mac-gpl-4.11.2/QtNetwork/sipQtNetworkQNetworkConfigurationStateFlags.cpp"
            sipReleaseType(const_cast<QNetworkConfiguration::StateFlags *>(a0),sipType_QNetworkConfiguration_StateFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtNetwork,ne_slot,sipType_QNetworkConfiguration_StateFlags,sipSelf,sipArg);
}
static PyObject *slot_QNetworkSession_UsagePolicies___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QNetworkSession::UsagePolicies *sipCpp = reinterpret_cast<QNetworkSession::UsagePolicies *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QNetworkSession_UsagePolicies));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QNetworkSession::UsagePolicies* a0;
        int a0State = 0;

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

#line 371 "sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QNetworkSession::UsagePolicies::Int() == a0->operator QNetworkSession::UsagePolicies::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 129 "/home/vikky/Desktop/DVCS/stuff/scrapy/soft/PyQt-x11-gpl-4.11.4/QtNetwork/sipQtNetworkQNetworkSessionUsagePolicies.cpp"
            sipReleaseType(const_cast<QNetworkSession::UsagePolicies *>(a0),sipType_QNetworkSession_UsagePolicies,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtNetwork,eq_slot,sipType_QNetworkSession_UsagePolicies,sipSelf,sipArg);
}
static PyObject *slot_QPainter_PixmapFragmentHints___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QPainter::PixmapFragmentHints *sipCpp = reinterpret_cast<QPainter::PixmapFragmentHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPainter_PixmapFragmentHints));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QPainter::PixmapFragmentHints* a0;
        int a0State = 0;

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

#line 352 "/Users/Kunwiji/Dropbox/Spectroscopy_paper/PyQt-mac-gpl-4.11.2/sip/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator QPainter::PixmapFragmentHints::Int() == a0->operator QPainter::PixmapFragmentHints::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 134 "/Users/Kunwiji/Dropbox/Spectroscopy_paper/PyQt-mac-gpl-4.11.2/QtGui/sipQtGuiQPainterPixmapFragmentHints.cpp"
            sipReleaseType(const_cast<QPainter::PixmapFragmentHints *>(a0),sipType_QPainter_PixmapFragmentHints,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtGui,eq_slot,sipType_QPainter_PixmapFragmentHints,sipSelf,sipArg);
}