当前位置: 首页>>代码示例>>C++>>正文


C++ sipParseKwdArgs函数代码示例

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


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

示例1: QLocale

static void *init_type_QCollator(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QCollator *sipCpp = 0;

    {
        const QLocale& a0def = QLocale();
        const QLocale* a0 = &a0def;

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

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|J9", sipType_QLocale, &a0))
        {
            sipCpp = new QCollator(*a0);

            return sipCpp;
        }
    }

    {
        const QCollator* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QCollator, &a0))
        {
            sipCpp = new QCollator(*a0);

            return sipCpp;
        }
    }

    return NULL;
}
开发者ID:rff255,项目名称:python-qt5,代码行数:33,代码来源:sipQtCoreQCollator.cpp

示例2: sipReleaseType

static void *init_type_QWizard_WizardOptions(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QWizard::WizardOptions *sipCpp = 0;

    {
        const QWizard::WizardOptions* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QWizard_WizardOptions, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QWizard::WizardOptions(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QWizard::WizardOptions *>(a0),sipType_QWizard_WizardOptions,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QWizard::WizardOptions(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }
开发者ID:kunwijik,项目名称:Spectroscopy_paper,代码行数:31,代码来源:sipQtGuiQWizardWizardOptions.cpp

示例3: sipQVBoxLayout

static void *init_type_QVBoxLayout(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQVBoxLayout *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQVBoxLayout();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
         ::QWidget* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQVBoxLayout(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}
开发者ID:thaisdb,项目名称:TCC,代码行数:34,代码来源:sipQtGuiQVBoxLayout.cpp

示例4: sipReleaseType

static void *init_type_QInputMethodEvent_Attribute(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QInputMethodEvent::Attribute *sipCpp = 0;

    {
        QInputMethodEvent::AttributeType a0;
        int a1;
        int a2;
        QVariant* a3;
        int a3State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "EiiJ1", sipType_QInputMethodEvent_AttributeType, &a0, &a1, &a2, sipType_QVariant,&a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QInputMethodEvent::Attribute(a0,a1,a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(a3,sipType_QVariant,a3State);

            return sipCpp;
        }
    }

    {
        const QInputMethodEvent::Attribute* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QInputMethodEvent_Attribute, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QInputMethodEvent::Attribute(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }
开发者ID:annelida,项目名称:stuff,代码行数:34,代码来源:sipQtGuiQInputMethodEventAttribute.cpp

示例5: QOpenGLFramebufferObjectFormat

static void *init_type_QOpenGLFramebufferObjectFormat(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QOpenGLFramebufferObjectFormat *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QOpenGLFramebufferObjectFormat();

            return sipCpp;
        }
    }

    {
        const QOpenGLFramebufferObjectFormat* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QOpenGLFramebufferObjectFormat, &a0))
        {
            sipCpp = new QOpenGLFramebufferObjectFormat(*a0);

            return sipCpp;
        }
    }

    return NULL;
}
开发者ID:rff255,项目名称:python-qt5,代码行数:26,代码来源:sipQtGuiQOpenGLFramebufferObjectFormat.cpp

示例6: QDnsHostAddressRecord

static void *init_type_QDnsHostAddressRecord(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QDnsHostAddressRecord *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QDnsHostAddressRecord();

            return sipCpp;
        }
    }

    {
        const QDnsHostAddressRecord* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDnsHostAddressRecord, &a0))
        {
            sipCpp = new QDnsHostAddressRecord(*a0);

            return sipCpp;
        }
    }

    return NULL;
}
开发者ID:rff255,项目名称:python-qt5,代码行数:26,代码来源:sipQtNetworkQDnsHostAddressRecord.cpp

示例7:

static void *init_type_QTextEdit_ExtraSelection(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QTextEdit::ExtraSelection *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QTextEdit::ExtraSelection();

            return sipCpp;
        }
    }

    {
        const QTextEdit::ExtraSelection* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QTextEdit_ExtraSelection, &a0))
        {
            sipCpp = new QTextEdit::ExtraSelection(*a0);

            return sipCpp;
        }
    }

    return NULL;
}
开发者ID:rff255,项目名称:python-qt5,代码行数:26,代码来源:sipQtWidgetsQTextEditExtraSelection.cpp

示例8: sipReleaseType

static void *init_QPainter_RenderHints(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QPainter::RenderHints *sipCpp = 0;

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

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QPainter_RenderHints, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QPainter::RenderHints(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QPainter::RenderHints *>(a0),sipType_QPainter_RenderHints,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QPainter::RenderHints(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }
开发者ID:ClydeMojura,项目名称:android-python27,代码行数:31,代码来源:sipQtGuiQPainterRenderHints.cpp

示例9: sipQEvent

static void *init_type_QEvent(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQEvent *sipCpp = 0;

    {
        QEvent::Type a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "E", sipType_QEvent_Type, &a0))
        {
            sipCpp = new sipQEvent(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QEvent* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QEvent, &a0))
        {
            sipCpp = new sipQEvent(*a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}
开发者ID:rff255,项目名称:python-qt5,代码行数:32,代码来源:sipQtCoreQEvent.cpp

示例10: MLBSplineInterpolator

static void *init_MLBSplineInterpolator(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    MLBSplineInterpolator *sipCpp = 0;

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new MLBSplineInterpolator(a0);

            return sipCpp;
        }
    }

    {
        const MLBSplineInterpolator * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_MLBSplineInterpolator, &a0))
        {
            sipCpp = new MLBSplineInterpolator(*a0);

            return sipCpp;
        }
    }

    return NULL;
}
开发者ID:rbianchi66,项目名称:pyqt_md,代码行数:28,代码来源:sip_geo2dcppMLBSplineInterpolator.cpp

示例11: siptlp_Event

static void *init_tlp_Event(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    siptlp_Event *sipCpp = 0;

    {
        const tlp::Observable * a0;
        tlp::Event::EventType a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9E", sipType_tlp_Observable, &a0, sipType_tlp_Event_EventType, &a1))
        {
            sipCpp = new siptlp_Event(*a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const tlp::Event * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_tlp_Event, &a0))
        {
            sipCpp = new siptlp_Event(*a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}
开发者ID:kdbanman,项目名称:browseRDF,代码行数:33,代码来源:siptuliptlpEvent.cpp

示例12: sipQXmlStreamEntityResolver

static void *init_type_QXmlStreamEntityResolver(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQXmlStreamEntityResolver *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new sipQXmlStreamEntityResolver();

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QXmlStreamEntityResolver* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QXmlStreamEntityResolver, &a0))
        {
            sipCpp = new sipQXmlStreamEntityResolver(*a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}
开发者ID:rff255,项目名称:python-qt5,代码行数:30,代码来源:sipQtCoreQXmlStreamEntityResolver.cpp

示例13: sipQScrollerProperties

static void *init_type_QScrollerProperties(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQScrollerProperties *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new sipQScrollerProperties();

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QScrollerProperties* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QScrollerProperties, &a0))
        {
            sipCpp = new sipQScrollerProperties(*a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}
开发者ID:rff255,项目名称:python-qt5,代码行数:30,代码来源:sipQtWidgetsQScrollerProperties.cpp

示例14:

static void *init_tlp_EdgeMapIterator(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    tlp::EdgeMapIterator *sipCpp = 0;

    {
        tlp::Graph * a0;
        tlp::edge * a1;
        tlp::node * a2;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8J9J9", sipType_tlp_Graph, &a0, sipType_tlp_edge, &a1, sipType_tlp_node, &a2))
        {
            sipCpp = new tlp::EdgeMapIterator(a0,*a1,*a2);

            return sipCpp;
        }
    }

    {
        const tlp::EdgeMapIterator * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_tlp_EdgeMapIterator, &a0))
        {
            sipCpp = new tlp::EdgeMapIterator(*a0);

            return sipCpp;
        }
    }

    return NULL;
}
开发者ID:kdbanman,项目名称:browseRDF,代码行数:30,代码来源:siptuliptlpEdgeMapIterator.cpp

示例15: sipReleaseType

static void *init_type_QStyle_State(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStyle::State *sipCpp = 0;

    {
        const QStyle::State* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QStyle_State, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QStyle::State(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStyle::State *>(a0),sipType_QStyle_State,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QStyle::State(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }
开发者ID:kunwijik,项目名称:Spectroscopy_paper,代码行数:31,代码来源:sipQtGuiQStyleState.cpp


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