static PyObject *meth_QAudioDeviceInfo_supportedChannelCounts(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAudioDeviceInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioDeviceInfo, &sipCpp))
        {
            QList<int>*sipRes;

            sipRes = new QList<int>(sipCpp->supportedChannelCounts());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDeviceInfo, sipName_supportedChannelCounts, doc_QAudioDeviceInfo_supportedChannelCounts);

    return NULL;
}
Esempio n. 2
0
static PyObject *meth_QMetaType_flags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaType *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaType, &sipCpp))
        {
            QMetaType::TypeFlags*sipRes;

            sipRes = new QMetaType::TypeFlags(sipCpp->flags());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaType, sipName_flags, doc_QMetaType_flags);

    return NULL;
}
static PyObject *meth_QGeoLocation_boundingBox(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGeoLocation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGeoLocation, &sipCpp))
        {
            QGeoRectangle*sipRes;

            sipRes = new QGeoRectangle(sipCpp->boundingBox());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGeoLocation, sipName_boundingBox, doc_QGeoLocation_boundingBox);

    return NULL;
}
static PyObject *meth_QListWidgetItem_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QListWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListWidgetItem, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->sizeHint());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidgetItem, sipName_sizeHint, doc_QListWidgetItem_sizeHint);

    return NULL;
}
static PyObject *slot_QPageSetupDialog_PageSetupDialogOptions___invert__(PyObject *sipSelf)
{
    QPageSetupDialog::PageSetupDialogOptions *sipCpp = reinterpret_cast<QPageSetupDialog::PageSetupDialogOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPageSetupDialog_PageSetupDialogOptions));

    if (!sipCpp)
        return 0;


    {
        {
            QPageSetupDialog::PageSetupDialogOptions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPageSetupDialog::PageSetupDialogOptions(~(*sipCpp));
            Py_END_ALLOW_THREADS

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

    return 0;
}
static PyObject *slot_QTextItem_RenderFlags___invert__(PyObject *sipSelf)
{
     ::QTextItem::RenderFlags *sipCpp = reinterpret_cast< ::QTextItem::RenderFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTextItem_RenderFlags));

    if (!sipCpp)
        return 0;


    {
        {
             ::QTextItem::RenderFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QTextItem::RenderFlags(~(*sipCpp));
            Py_END_ALLOW_THREADS

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

    return 0;
}
static PyObject *slot_QPainter_PixmapFragmentHints___invert__(PyObject *sipSelf)
{
    QPainter::PixmapFragmentHints *sipCpp = reinterpret_cast<QPainter::PixmapFragmentHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPainter_PixmapFragmentHints));

    if (!sipCpp)
        return 0;


    {
        {
            QPainter::PixmapFragmentHints*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPainter::PixmapFragmentHints(~(*sipCpp));
            Py_END_ALLOW_THREADS

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

    return 0;
}
static PyObject *slot_QNetworkConfigurationManager_Capabilities___invert__(PyObject *sipSelf)
{
    QNetworkConfigurationManager::Capabilities *sipCpp = reinterpret_cast<QNetworkConfigurationManager::Capabilities *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QNetworkConfigurationManager_Capabilities));

    if (!sipCpp)
        return 0;


    {
        {
            QNetworkConfigurationManager::Capabilities*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QNetworkConfigurationManager::Capabilities(~(*sipCpp));
            Py_END_ALLOW_THREADS

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

    return 0;
}
static PyObject *slot_QDateTimeEdit_Sections___invert__(PyObject *sipSelf)
{
    QDateTimeEdit::Sections *sipCpp = reinterpret_cast<QDateTimeEdit::Sections *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDateTimeEdit_Sections));

    if (!sipCpp)
        return 0;


    {
        {
            QDateTimeEdit::Sections*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDateTimeEdit::Sections(~(*sipCpp));
            Py_END_ALLOW_THREADS

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

    return 0;
}
Esempio n. 10
0
static PyObject *meth_QScroller_pixelPerMeter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QScroller *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QScroller, &sipCpp))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->pixelPerMeter());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScroller, sipName_pixelPerMeter, doc_QScroller_pixelPerMeter);

    return NULL;
}
Esempio n. 11
0
static PyObject *meth_QScroller_scrollerProperties(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QScroller *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QScroller, &sipCpp))
        {
            QScrollerProperties*sipRes;

            sipRes = new QScrollerProperties(sipCpp->scrollerProperties());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScroller, sipName_scrollerProperties, doc_QScroller_scrollerProperties);

    return NULL;
}
Esempio n. 12
0
static PyObject *meth_QQmlIncubator_object(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QQmlIncubator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQmlIncubator, &sipCpp))
        {
            QObject*sipRes;

            sipRes = sipCpp->object();

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQmlIncubator, sipName_object, doc_QQmlIncubator_object);

    return NULL;
}
Esempio n. 13
0
static PyObject *meth_QQmlIncubator_errors(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QQmlIncubator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQmlIncubator, &sipCpp))
        {
            QList<QQmlError>*sipRes;

            sipRes = new QList<QQmlError>(sipCpp->errors());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QQmlIncubator, sipName_errors, doc_QQmlIncubator_errors);

    return NULL;
}
static PyObject *meth_QAudioDeviceInfo_deviceName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAudioDeviceInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAudioDeviceInfo, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->deviceName());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDeviceInfo, sipName_deviceName, doc_QAudioDeviceInfo_deviceName);

    return NULL;
}
Esempio n. 15
0
static PyObject *meth_QDomElement_attributes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDomElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomElement, &sipCpp))
        {
            QDomNamedNodeMap*sipRes;

            sipRes = new QDomNamedNodeMap(sipCpp->attributes());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomElement, sipName_attributes, doc_QDomElement_attributes);

    return NULL;
}
Esempio n. 16
0
static PyObject *meth_QHelpEvent_globalPos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QHelpEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QHelpEvent, &sipCpp))
        {
            QPoint*sipRes;

            sipRes = new QPoint(sipCpp->globalPos());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHelpEvent, sipName_globalPos, doc_QHelpEvent_globalPos);

    return NULL;
}
Esempio n. 17
0
static PyObject *meth_QDomElement_text(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDomElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomElement, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->text());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomElement, sipName_text, doc_QDomElement_text);

    return NULL;
}
static PyObject *slot_QStyleOptionToolButton_ToolButtonFeatures___invert__(PyObject *sipSelf)
{
    QStyleOptionToolButton::ToolButtonFeatures *sipCpp = reinterpret_cast<QStyleOptionToolButton::ToolButtonFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionToolButton_ToolButtonFeatures));

    if (!sipCpp)
        return 0;


    {
        {
            QStyleOptionToolButton::ToolButtonFeatures*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStyleOptionToolButton::ToolButtonFeatures(~(*sipCpp));
            Py_END_ALLOW_THREADS

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

    return 0;
}
static PyObject *meth_QProcessEnvironment_keys(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QProcessEnvironment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProcessEnvironment, &sipCpp))
        {
            QStringList*sipRes;

            sipRes = new QStringList(sipCpp->keys());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcessEnvironment, sipName_keys, doc_QProcessEnvironment_keys);

    return NULL;
}
static PyObject *meth_QWebPage_ViewportAttributes_size(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWebPage::ViewportAttributes *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebPage_ViewportAttributes, &sipCpp))
        {
            QSizeF*sipRes;

            sipRes = new QSizeF(sipCpp->size());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ViewportAttributes, sipName_size, doc_QWebPage_ViewportAttributes_size);

    return NULL;
}
static PyObject *slot_QNetworkSession_UsagePolicies___invert__(PyObject *sipSelf)
{
    QNetworkSession::UsagePolicies *sipCpp = reinterpret_cast<QNetworkSession::UsagePolicies *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QNetworkSession_UsagePolicies));

    if (!sipCpp)
        return 0;


    {
        {
            QNetworkSession::UsagePolicies*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QNetworkSession::UsagePolicies(~(*sipCpp));
            Py_END_ALLOW_THREADS

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

    return 0;
}
static PyObject *meth_QVideoSurfaceFormat_viewport(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QVideoSurfaceFormat *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVideoSurfaceFormat, &sipCpp))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->viewport());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoSurfaceFormat, sipName_viewport, doc_QVideoSurfaceFormat_viewport);

    return NULL;
}
static PyObject *meth_QListWidgetItem_background(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QListWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListWidgetItem, &sipCpp))
        {
            QBrush*sipRes;

            sipRes = new QBrush(sipCpp->background());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidgetItem, sipName_background, doc_QListWidgetItem_background);

    return NULL;
}
static PyObject *meth_QVideoSurfaceFormat_pixelAspectRatio(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QVideoSurfaceFormat *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVideoSurfaceFormat, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->pixelAspectRatio());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoSurfaceFormat, sipName_pixelAspectRatio, doc_QVideoSurfaceFormat_pixelAspectRatio);

    return NULL;
}
Esempio n. 25
0
static PyObject *meth_QMetaType_typeFlags(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
            QMetaType::TypeFlags*sipRes;

            sipRes = new QMetaType::TypeFlags(QMetaType::typeFlags(a0));

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaType, sipName_typeFlags, doc_QMetaType_typeFlags);

    return NULL;
}
static PyObject *meth_QVideoSurfaceFormat_propertyNames(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QVideoSurfaceFormat *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVideoSurfaceFormat, &sipCpp))
        {
            QList<QByteArray>*sipRes;

            sipRes = new QList<QByteArray>(sipCpp->propertyNames());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVideoSurfaceFormat, sipName_propertyNames, doc_QVideoSurfaceFormat_propertyNames);

    return NULL;
}
static PyObject *slot_QNetworkInterface_InterfaceFlags___invert__(PyObject *sipSelf)
{
    QNetworkInterface::InterfaceFlags *sipCpp = reinterpret_cast<QNetworkInterface::InterfaceFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QNetworkInterface_InterfaceFlags));

    if (!sipCpp)
        return 0;


    {
        {
            QNetworkInterface::InterfaceFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QNetworkInterface::InterfaceFlags(~(*sipCpp));
            Py_END_ALLOW_THREADS

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

    return 0;
}
static PyObject *slot_QTextFormat_PageBreakFlags___invert__(PyObject *sipSelf)
{
    QTextFormat::PageBreakFlags *sipCpp = reinterpret_cast<QTextFormat::PageBreakFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTextFormat_PageBreakFlags));

    if (!sipCpp)
        return 0;


    {
        {
            QTextFormat::PageBreakFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTextFormat::PageBreakFlags(~(*sipCpp));
            Py_END_ALLOW_THREADS

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

    return 0;
}
static PyObject *meth_QGeoLocation_address(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGeoLocation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGeoLocation, &sipCpp))
        {
            QGeoAddress*sipRes;

            sipRes = new QGeoAddress(sipCpp->address());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGeoLocation, sipName_address, doc_QGeoLocation_address);

    return NULL;
}
static PyObject *meth_QAudioDeviceInfo_availableDevices(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAudio::Mode a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_QAudio_Mode, &a0))
        {
            QList<QAudioDeviceInfo>*sipRes;

            sipRes = new QList<QAudioDeviceInfo>(QAudioDeviceInfo::availableDevices(a0));

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAudioDeviceInfo, sipName_availableDevices, doc_QAudioDeviceInfo_availableDevices);

    return NULL;
}