• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C++ sipPySlotExtend函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C++中sipPySlotExtend函数的典型用法代码示例。如果您正苦于以下问题:C++ sipPySlotExtend函数的具体用法?C++ sipPySlotExtend怎么用?C++ sipPySlotExtend使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了sipPySlotExtend函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: sipReleaseType

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);
}
开发者ID:ClydeMojura,项目名称:android-python27,代码行数:49,代码来源:sipQtGuiQFileDialogOptions.cpp


示例2: sipReleaseType

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);
}
开发者ID:kunwijik,项目名称:Spectroscopy_paper,代码行数:49,代码来源:sipQtCoreQFilePermissions.cpp


示例3: sipReleaseType

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);
}
开发者ID:ClydeMojura,项目名称:android-python27,代码行数:49,代码来源:sipQtGuiQStyleOptionToolButtonToolButtonFeatures.cpp


示例4: sipReleaseType

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);
}
开发者ID:PLJV,项目名称:commodity_crop_dev_suitability_model,代码行数:49,代码来源:sipQtGuiQPinchGestureChangeFlags.cpp


示例5: sipReleaseType

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);
}
开发者ID:annelida,项目名称:stuff,代码行数:49,代码来源:sipQtCoreQLocaleNumberOptions.cpp


示例6: sipReleaseType

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);
}
开发者ID:PLJV,项目名称:commodity_crop_dev_suitability_model,代码行数:49,代码来源:sipQtOpenGLQGLShaderShaderType.cpp


示例7: sipReleaseType

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);
}
开发者ID:kunwijik,项目名称:Spectroscopy_paper,代码行数:49,代码来源:sipQtGuiQSizePolicyControlTypes.cpp


示例8: sipReleaseType

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);
}
开发者ID:annelida,项目名称:stuff,代码行数:49,代码来源:sipQtNetworkQAbstractSocketBindMode.cpp


示例9: sipReleaseType

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);
}
开发者ID:PLJV,项目名称:commodity_crop_dev_suitability_model,代码行数:49,代码来源:sipQtDesignerQDesignerFormWindowInterfaceFeature.cpp


示例10: sipReleaseType

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);
}
开发者ID:annelida,项目名称:stuff,代码行数:49,代码来源:sipQtCoreQtInputMethodQueries.cpp


示例11: sipReleaseType

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);
}
开发者ID:PLJV,项目名称:commodity_crop_dev_suitability_model,代码行数:49,代码来源:sipQtCoreQtDropActions.cpp


示例12: sipReleaseType

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);
}
开发者ID:rff255,项目名称:python-qt5,代码行数:47,代码来源:sipQtNetworkQAbstractSocketBindMode.cpp


示例13: sipReleaseType

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);
}
开发者ID:rff255,项目名称:python-qt5,代码行数:47,代码来源:sipQtWidgetsQTextEditAutoFormatting.cpp


示例14: sipReleaseType

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);
}
开发者ID:rff255,项目名称:python-qt5,代码行数:47,代码来源:sipQtBluetoothQBluetoothDeviceInfoCoreConfigurations.cpp


示例15: sipReleaseType

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);
}
开发者ID:rff255,项目名称:python-qt5,代码行数:47,代码来源:sipQtWebEngineWidgetsQWebEnginePageFindFlags.cpp


示例16: sipReleaseType

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);
}
开发者ID:rff255,项目名称:python-qt5,代码行数:47,代码来源:sipQtCoreQIODeviceOpenMode.cpp


示例17: sipReleaseType

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);
}
开发者ID:rff255,项目名称:python-qt5,代码行数:47,代码来源:sipQtMultimediaQCameraImageCaptureCaptureDestinations.cpp


示例18: sipReleaseType

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);
}
开发者ID:rff255,项目名称:python-qt5,代码行数:47,代码来源:sipQtWidgetsQFontComboBoxFontFilters.cpp


示例19: sipReleaseType

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);
}
开发者ID:rff255,项目名称:python-qt5,代码行数:47,代码来源:sipQtQuickQSGEngineCreateTextureOptions.cpp


示例20: sipReleaseType

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);
}
开发者ID:rff255,项目名称:python-qt5,代码行数:47,代码来源:sipQtGuiQOpenGLDebugMessageTypes.cpp



注:本文中的sipPySlotExtend函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C++ sipReleaseType函数代码示例发布时间:2022-05-30
下一篇:
C++ sipParsePair函数代码示例发布时间:2022-05-30
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap