예제 #1
0
bool sipQXmlContentHandler::startPrefixMapping(const  ::QString& a0,const  ::QString& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,sipName_QXmlContentHandler,sipName_startPrefixMapping);

    if (!sipMeth)
        return 0;

    extern bool sipVH_QtXml_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&,const  ::QString&);

    return sipVH_QtXml_29(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}
void sipQXmlInputSource::setData(const QByteArray& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
    {
        QXmlInputSource::setData(a0);
        return;
    }

    extern void sipVH_QtXml_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&);

    sipVH_QtXml_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}
void sipQXmlInputSource::setData(const QByteArray& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_setData);

    if (!meth)
    {
        QXmlInputSource::setData(a0);
        return;
    }

    extern void sipVH_QtXml_29(sip_gilstate_t,PyObject *,const QByteArray&);

    sipVH_QtXml_29(sipGILState,meth,a0);
}