/*
 * Module code.
 *
 * Generated by SIP 4.18.1
 */

#include "sipAPIkhtml.h"

#line 172 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_block.sip"
#include <html_block.h>
#line 12 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 16 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 19 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 22 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 31 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 34 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 37 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 40 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 43 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 46 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 49 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 52 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"


extern "C" {static PyObject *meth_DOM_HTMLLayerElement_top(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLLayerElement_top(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLLayerElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLLayerElement, &sipCpp))
        {
            long sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->top();
            Py_END_ALLOW_THREADS

            return PyLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLLayerElement, sipName_top, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLLayerElement_setTop(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLLayerElement_setTop(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        long a0;
        DOM::HTMLLayerElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bl", &sipSelf, sipType_DOM_HTMLLayerElement, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTop(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLLayerElement, sipName_setTop, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLLayerElement_left(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLLayerElement_left(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLLayerElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLLayerElement, &sipCpp))
        {
            long sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->left();
            Py_END_ALLOW_THREADS

            return PyLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLLayerElement, sipName_left, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLLayerElement_setLeft(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLLayerElement_setLeft(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        long a0;
        DOM::HTMLLayerElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bl", &sipSelf, sipType_DOM_HTMLLayerElement, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLeft(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLLayerElement, sipName_setLeft, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLLayerElement_visibility(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLLayerElement_visibility(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLLayerElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLLayerElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->visibility());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLLayerElement, sipName_visibility, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLLayerElement_setVisibility(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLLayerElement_setVisibility(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLLayerElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLLayerElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setVisibility(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLLayerElement, sipName_setVisibility, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLLayerElement_bgColor(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLLayerElement_bgColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLLayerElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLLayerElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->bgColor());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLLayerElement, sipName_bgColor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLLayerElement_setBgColor(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLLayerElement_setBgColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLLayerElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLLayerElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setBgColor(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLLayerElement, sipName_setBgColor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLLayerElement_layers(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLLayerElement_layers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLLayerElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLLayerElement, &sipCpp))
        {
            DOM::HTMLCollection*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::HTMLCollection(sipCpp->layers());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLLayerElement, sipName_layers, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_DOM_HTMLLayerElement(void *, int);}
static void release_DOM_HTMLLayerElement(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<DOM::HTMLLayerElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_DOM_HTMLLayerElement(void *, SIP_SSIZE_T, const void *);}
static void assign_DOM_HTMLLayerElement(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<DOM::HTMLLayerElement *>(sipDst)[sipDstIdx] = *reinterpret_cast<const DOM::HTMLLayerElement *>(sipSrc);
}


extern "C" {static void *array_DOM_HTMLLayerElement(SIP_SSIZE_T);}
static void *array_DOM_HTMLLayerElement(SIP_SSIZE_T sipNrElem)
{
    return new DOM::HTMLLayerElement[sipNrElem];
}


extern "C" {static void *copy_DOM_HTMLLayerElement(const void *, SIP_SSIZE_T);}
static void *copy_DOM_HTMLLayerElement(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new DOM::HTMLLayerElement(reinterpret_cast<const DOM::HTMLLayerElement *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_DOM_HTMLLayerElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLLayerElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLLayerElement(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_DOM_HTMLLayerElement(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_DOM_HTMLLayerElement(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    DOM::HTMLLayerElement *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLLayerElement* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_HTMLLayerElement, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::HTMLLayerElement(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_Node, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::HTMLLayerElement(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_DOM_HTMLLayerElement[] = {{59, 255, 1}};


static PyMethodDef methods_DOM_HTMLLayerElement[] = {
    {SIP_MLNAME_CAST(sipName_bgColor), meth_DOM_HTMLLayerElement_bgColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_layers), meth_DOM_HTMLLayerElement_layers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_left), meth_DOM_HTMLLayerElement_left, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setBgColor), meth_DOM_HTMLLayerElement_setBgColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLeft), meth_DOM_HTMLLayerElement_setLeft, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTop), meth_DOM_HTMLLayerElement_setTop, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setVisibility), meth_DOM_HTMLLayerElement_setVisibility, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_top), meth_DOM_HTMLLayerElement_top, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_visibility), meth_DOM_HTMLLayerElement_visibility, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_khtml_DOM_HTMLLayerElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLLayerElement,
        {0}
    },
    {
        sipNameNr_HTMLLayerElement,
        {0, 255, 0},
        9, methods_DOM_HTMLLayerElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLLayerElement,
    0,
    init_type_DOM_HTMLLayerElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLLayerElement,
    assign_DOM_HTMLLayerElement,
    array_DOM_HTMLLayerElement,
    copy_DOM_HTMLLayerElement,
    release_DOM_HTMLLayerElement,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 149 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_block.sip"
#include <html_block.h>
#line 459 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 463 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 466 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 469 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 472 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 475 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 478 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 481 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 484 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 487 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 490 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 493 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 496 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 499 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"


extern "C" {static PyObject *meth_DOM_HTMLPreElement_width(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLPreElement_width(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLPreElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLPreElement, &sipCpp))
        {
            long sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->width();
            Py_END_ALLOW_THREADS

            return PyLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLPreElement, sipName_width, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLPreElement_setWidth(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLPreElement_setWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        long a0;
        DOM::HTMLPreElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bl", &sipSelf, sipType_DOM_HTMLPreElement, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWidth(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLPreElement, sipName_setWidth, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_DOM_HTMLPreElement(void *, int);}
static void release_DOM_HTMLPreElement(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<DOM::HTMLPreElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_DOM_HTMLPreElement(void *, SIP_SSIZE_T, const void *);}
static void assign_DOM_HTMLPreElement(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<DOM::HTMLPreElement *>(sipDst)[sipDstIdx] = *reinterpret_cast<const DOM::HTMLPreElement *>(sipSrc);
}


extern "C" {static void *array_DOM_HTMLPreElement(SIP_SSIZE_T);}
static void *array_DOM_HTMLPreElement(SIP_SSIZE_T sipNrElem)
{
    return new DOM::HTMLPreElement[sipNrElem];
}


extern "C" {static void *copy_DOM_HTMLPreElement(const void *, SIP_SSIZE_T);}
static void *copy_DOM_HTMLPreElement(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new DOM::HTMLPreElement(reinterpret_cast<const DOM::HTMLPreElement *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_DOM_HTMLPreElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLPreElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLPreElement(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_DOM_HTMLPreElement(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_DOM_HTMLPreElement(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    DOM::HTMLPreElement *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLPreElement* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_HTMLPreElement, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::HTMLPreElement(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_Node, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::HTMLPreElement(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_DOM_HTMLPreElement[] = {{59, 255, 1}};


static PyMethodDef methods_DOM_HTMLPreElement[] = {
    {SIP_MLNAME_CAST(sipName_setWidth), meth_DOM_HTMLPreElement_setWidth, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_width), meth_DOM_HTMLPreElement_width, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_khtml_DOM_HTMLPreElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLPreElement,
        {0}
    },
    {
        sipNameNr_HTMLPreElement,
        {0, 255, 0},
        2, methods_DOM_HTMLPreElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLPreElement,
    0,
    init_type_DOM_HTMLPreElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLPreElement,
    assign_DOM_HTMLPreElement,
    array_DOM_HTMLPreElement,
    copy_DOM_HTMLPreElement,
    release_DOM_HTMLPreElement,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 126 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_block.sip"
#include <html_block.h>
#line 710 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 714 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 717 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 720 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 723 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 726 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 729 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 732 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 735 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 738 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 741 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 744 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 747 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 750 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"


extern "C" {static PyObject *meth_DOM_HTMLParagraphElement_align(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLParagraphElement_align(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLParagraphElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLParagraphElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->align());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLParagraphElement, sipName_align, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLParagraphElement_setAlign(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLParagraphElement_setAlign(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLParagraphElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLParagraphElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAlign(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLParagraphElement, sipName_setAlign, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_DOM_HTMLParagraphElement(void *, int);}
static void release_DOM_HTMLParagraphElement(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<DOM::HTMLParagraphElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_DOM_HTMLParagraphElement(void *, SIP_SSIZE_T, const void *);}
static void assign_DOM_HTMLParagraphElement(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<DOM::HTMLParagraphElement *>(sipDst)[sipDstIdx] = *reinterpret_cast<const DOM::HTMLParagraphElement *>(sipSrc);
}


extern "C" {static void *array_DOM_HTMLParagraphElement(SIP_SSIZE_T);}
static void *array_DOM_HTMLParagraphElement(SIP_SSIZE_T sipNrElem)
{
    return new DOM::HTMLParagraphElement[sipNrElem];
}


extern "C" {static void *copy_DOM_HTMLParagraphElement(const void *, SIP_SSIZE_T);}
static void *copy_DOM_HTMLParagraphElement(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new DOM::HTMLParagraphElement(reinterpret_cast<const DOM::HTMLParagraphElement *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_DOM_HTMLParagraphElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLParagraphElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLParagraphElement(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_DOM_HTMLParagraphElement(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_DOM_HTMLParagraphElement(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    DOM::HTMLParagraphElement *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLParagraphElement* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_HTMLParagraphElement, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::HTMLParagraphElement(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_Node, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::HTMLParagraphElement(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_DOM_HTMLParagraphElement[] = {{59, 255, 1}};


static PyMethodDef methods_DOM_HTMLParagraphElement[] = {
    {SIP_MLNAME_CAST(sipName_align), meth_DOM_HTMLParagraphElement_align, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlign), meth_DOM_HTMLParagraphElement_setAlign, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_khtml_DOM_HTMLParagraphElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLParagraphElement,
        {0}
    },
    {
        sipNameNr_HTMLParagraphElement,
        {0, 255, 0},
        2, methods_DOM_HTMLParagraphElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLParagraphElement,
    0,
    init_type_DOM_HTMLParagraphElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLParagraphElement,
    assign_DOM_HTMLParagraphElement,
    array_DOM_HTMLParagraphElement,
    copy_DOM_HTMLParagraphElement,
    release_DOM_HTMLParagraphElement,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 103 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_block.sip"
#include <html_block.h>
#line 961 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 965 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 968 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 971 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 974 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 977 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 980 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 983 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 986 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 989 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 992 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 995 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 998 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1001 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"


extern "C" {static PyObject *meth_DOM_HTMLHeadingElement_align(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLHeadingElement_align(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLHeadingElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLHeadingElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->align());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLHeadingElement, sipName_align, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLHeadingElement_setAlign(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLHeadingElement_setAlign(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLHeadingElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLHeadingElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAlign(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLHeadingElement, sipName_setAlign, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_DOM_HTMLHeadingElement(void *, int);}
static void release_DOM_HTMLHeadingElement(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<DOM::HTMLHeadingElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_DOM_HTMLHeadingElement(void *, SIP_SSIZE_T, const void *);}
static void assign_DOM_HTMLHeadingElement(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<DOM::HTMLHeadingElement *>(sipDst)[sipDstIdx] = *reinterpret_cast<const DOM::HTMLHeadingElement *>(sipSrc);
}


extern "C" {static void *array_DOM_HTMLHeadingElement(SIP_SSIZE_T);}
static void *array_DOM_HTMLHeadingElement(SIP_SSIZE_T sipNrElem)
{
    return new DOM::HTMLHeadingElement[sipNrElem];
}


extern "C" {static void *copy_DOM_HTMLHeadingElement(const void *, SIP_SSIZE_T);}
static void *copy_DOM_HTMLHeadingElement(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new DOM::HTMLHeadingElement(reinterpret_cast<const DOM::HTMLHeadingElement *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_DOM_HTMLHeadingElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLHeadingElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLHeadingElement(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_DOM_HTMLHeadingElement(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_DOM_HTMLHeadingElement(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    DOM::HTMLHeadingElement *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLHeadingElement* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_HTMLHeadingElement, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::HTMLHeadingElement(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_Node, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::HTMLHeadingElement(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_DOM_HTMLHeadingElement[] = {{59, 255, 1}};


static PyMethodDef methods_DOM_HTMLHeadingElement[] = {
    {SIP_MLNAME_CAST(sipName_align), meth_DOM_HTMLHeadingElement_align, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlign), meth_DOM_HTMLHeadingElement_setAlign, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_khtml_DOM_HTMLHeadingElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLHeadingElement,
        {0}
    },
    {
        sipNameNr_HTMLHeadingElement,
        {0, 255, 0},
        2, methods_DOM_HTMLHeadingElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLHeadingElement,
    0,
    init_type_DOM_HTMLHeadingElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLHeadingElement,
    assign_DOM_HTMLHeadingElement,
    array_DOM_HTMLHeadingElement,
    copy_DOM_HTMLHeadingElement,
    release_DOM_HTMLHeadingElement,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 74 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_block.sip"
#include <html_block.h>
#line 1212 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1216 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 1219 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 1222 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1225 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 1228 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 1231 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 1234 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 1237 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 1240 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 1243 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 1246 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 1249 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1252 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"


extern "C" {static PyObject *meth_DOM_HTMLHRElement_align(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLHRElement_align(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLHRElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLHRElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->align());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLHRElement, sipName_align, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLHRElement_setAlign(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLHRElement_setAlign(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLHRElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLHRElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAlign(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLHRElement, sipName_setAlign, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLHRElement_noShade(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLHRElement_noShade(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLHRElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLHRElement, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->noShade();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLHRElement, sipName_noShade, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLHRElement_setNoShade(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLHRElement_setNoShade(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        DOM::HTMLHRElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_DOM_HTMLHRElement, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setNoShade(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLHRElement, sipName_setNoShade, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLHRElement_size(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLHRElement_size(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLHRElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLHRElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->size());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLHRElement_setSize(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLHRElement_setSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLHRElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLHRElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSize(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLHRElement, sipName_setSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLHRElement_width(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLHRElement_width(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLHRElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLHRElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->width());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLHRElement, sipName_width, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLHRElement_setWidth(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLHRElement_setWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLHRElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLHRElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWidth(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLHRElement, sipName_setWidth, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_DOM_HTMLHRElement(void *, int);}
static void release_DOM_HTMLHRElement(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<DOM::HTMLHRElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_DOM_HTMLHRElement(void *, SIP_SSIZE_T, const void *);}
static void assign_DOM_HTMLHRElement(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<DOM::HTMLHRElement *>(sipDst)[sipDstIdx] = *reinterpret_cast<const DOM::HTMLHRElement *>(sipSrc);
}


extern "C" {static void *array_DOM_HTMLHRElement(SIP_SSIZE_T);}
static void *array_DOM_HTMLHRElement(SIP_SSIZE_T sipNrElem)
{
    return new DOM::HTMLHRElement[sipNrElem];
}


extern "C" {static void *copy_DOM_HTMLHRElement(const void *, SIP_SSIZE_T);}
static void *copy_DOM_HTMLHRElement(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new DOM::HTMLHRElement(reinterpret_cast<const DOM::HTMLHRElement *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_DOM_HTMLHRElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLHRElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLHRElement(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_DOM_HTMLHRElement(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_DOM_HTMLHRElement(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    DOM::HTMLHRElement *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLHRElement* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_HTMLHRElement, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::HTMLHRElement(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_Node, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::HTMLHRElement(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_DOM_HTMLHRElement[] = {{59, 255, 1}};


static PyMethodDef methods_DOM_HTMLHRElement[] = {
    {SIP_MLNAME_CAST(sipName_align), meth_DOM_HTMLHRElement_align, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_noShade), meth_DOM_HTMLHRElement_noShade, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlign), meth_DOM_HTMLHRElement_setAlign, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setNoShade), meth_DOM_HTMLHRElement_setNoShade, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSize), meth_DOM_HTMLHRElement_setSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWidth), meth_DOM_HTMLHRElement_setWidth, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_size), meth_DOM_HTMLHRElement_size, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_width), meth_DOM_HTMLHRElement_width, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_khtml_DOM_HTMLHRElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLHRElement,
        {0}
    },
    {
        sipNameNr_HTMLHRElement,
        {0, 255, 0},
        8, methods_DOM_HTMLHRElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLHRElement,
    0,
    init_type_DOM_HTMLHRElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLHRElement,
    assign_DOM_HTMLHRElement,
    array_DOM_HTMLHRElement,
    copy_DOM_HTMLHRElement,
    release_DOM_HTMLHRElement,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 51 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_block.sip"
#include <html_block.h>
#line 1631 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1635 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 1638 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 1641 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1644 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 1647 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 1650 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 1653 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 1656 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 1659 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 1662 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 1665 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 1668 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1671 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"


extern "C" {static PyObject *meth_DOM_HTMLDivElement_align(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLDivElement_align(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLDivElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLDivElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->align());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLDivElement, sipName_align, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLDivElement_setAlign(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLDivElement_setAlign(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLDivElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLDivElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAlign(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLDivElement, sipName_setAlign, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_DOM_HTMLDivElement(void *, int);}
static void release_DOM_HTMLDivElement(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<DOM::HTMLDivElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_DOM_HTMLDivElement(void *, SIP_SSIZE_T, const void *);}
static void assign_DOM_HTMLDivElement(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<DOM::HTMLDivElement *>(sipDst)[sipDstIdx] = *reinterpret_cast<const DOM::HTMLDivElement *>(sipSrc);
}


extern "C" {static void *array_DOM_HTMLDivElement(SIP_SSIZE_T);}
static void *array_DOM_HTMLDivElement(SIP_SSIZE_T sipNrElem)
{
    return new DOM::HTMLDivElement[sipNrElem];
}


extern "C" {static void *copy_DOM_HTMLDivElement(const void *, SIP_SSIZE_T);}
static void *copy_DOM_HTMLDivElement(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new DOM::HTMLDivElement(reinterpret_cast<const DOM::HTMLDivElement *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_DOM_HTMLDivElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLDivElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLDivElement(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_DOM_HTMLDivElement(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_DOM_HTMLDivElement(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    DOM::HTMLDivElement *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLDivElement* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_HTMLDivElement, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::HTMLDivElement(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_Node, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::HTMLDivElement(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_DOM_HTMLDivElement[] = {{59, 255, 1}};


static PyMethodDef methods_DOM_HTMLDivElement[] = {
    {SIP_MLNAME_CAST(sipName_align), meth_DOM_HTMLDivElement_align, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlign), meth_DOM_HTMLDivElement_setAlign, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_khtml_DOM_HTMLDivElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLDivElement,
        {0}
    },
    {
        sipNameNr_HTMLDivElement,
        {0, 255, 0},
        2, methods_DOM_HTMLDivElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLDivElement,
    0,
    init_type_DOM_HTMLDivElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLDivElement,
    assign_DOM_HTMLDivElement,
    array_DOM_HTMLDivElement,
    copy_DOM_HTMLDivElement,
    release_DOM_HTMLDivElement,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_block.sip"
#include <html_block.h>
#line 1882 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1886 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 1889 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 1892 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1895 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 1898 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 1901 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 1904 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 1907 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 1910 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 1913 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 1916 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 1919 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1922 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"


extern "C" {static PyObject *meth_DOM_HTMLBlockquoteElement_cite(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLBlockquoteElement_cite(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLBlockquoteElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLBlockquoteElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->cite());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLBlockquoteElement, sipName_cite, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLBlockquoteElement_setCite(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLBlockquoteElement_setCite(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLBlockquoteElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLBlockquoteElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCite(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLBlockquoteElement, sipName_setCite, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_DOM_HTMLBlockquoteElement(void *, int);}
static void release_DOM_HTMLBlockquoteElement(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<DOM::HTMLBlockquoteElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_DOM_HTMLBlockquoteElement(void *, SIP_SSIZE_T, const void *);}
static void assign_DOM_HTMLBlockquoteElement(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<DOM::HTMLBlockquoteElement *>(sipDst)[sipDstIdx] = *reinterpret_cast<const DOM::HTMLBlockquoteElement *>(sipSrc);
}


extern "C" {static void *array_DOM_HTMLBlockquoteElement(SIP_SSIZE_T);}
static void *array_DOM_HTMLBlockquoteElement(SIP_SSIZE_T sipNrElem)
{
    return new DOM::HTMLBlockquoteElement[sipNrElem];
}


extern "C" {static void *copy_DOM_HTMLBlockquoteElement(const void *, SIP_SSIZE_T);}
static void *copy_DOM_HTMLBlockquoteElement(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new DOM::HTMLBlockquoteElement(reinterpret_cast<const DOM::HTMLBlockquoteElement *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_DOM_HTMLBlockquoteElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLBlockquoteElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLBlockquoteElement(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_DOM_HTMLBlockquoteElement(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_DOM_HTMLBlockquoteElement(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    DOM::HTMLBlockquoteElement *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLBlockquoteElement* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_HTMLBlockquoteElement, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::HTMLBlockquoteElement(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_Node, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::HTMLBlockquoteElement(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_DOM_HTMLBlockquoteElement[] = {{59, 255, 1}};


static PyMethodDef methods_DOM_HTMLBlockquoteElement[] = {
    {SIP_MLNAME_CAST(sipName_cite), meth_DOM_HTMLBlockquoteElement_cite, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCite), meth_DOM_HTMLBlockquoteElement_setCite, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_khtml_DOM_HTMLBlockquoteElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLBlockquoteElement,
        {0}
    },
    {
        sipNameNr_HTMLBlockquoteElement,
        {0, 255, 0},
        2, methods_DOM_HTMLBlockquoteElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLBlockquoteElement,
    0,
    init_type_DOM_HTMLBlockquoteElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLBlockquoteElement,
    assign_DOM_HTMLBlockquoteElement,
    array_DOM_HTMLBlockquoteElement,
    copy_DOM_HTMLBlockquoteElement,
    release_DOM_HTMLBlockquoteElement,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 189 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_base.sip"
#include <html_base.h>
#line 2133 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2137 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 2140 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 2143 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2146 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 2149 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 2152 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 2155 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 2158 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 2161 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 2164 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 2167 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 2170 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2173 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"


extern "C" {static PyObject *meth_DOM_HTMLHtmlElement_version(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLHtmlElement_version(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLHtmlElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLHtmlElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->version());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLHtmlElement, sipName_version, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLHtmlElement_setVersion(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLHtmlElement_setVersion(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLHtmlElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLHtmlElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setVersion(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLHtmlElement, sipName_setVersion, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_DOM_HTMLHtmlElement(void *, int);}
static void release_DOM_HTMLHtmlElement(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<DOM::HTMLHtmlElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_DOM_HTMLHtmlElement(void *, SIP_SSIZE_T, const void *);}
static void assign_DOM_HTMLHtmlElement(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<DOM::HTMLHtmlElement *>(sipDst)[sipDstIdx] = *reinterpret_cast<const DOM::HTMLHtmlElement *>(sipSrc);
}


extern "C" {static void *array_DOM_HTMLHtmlElement(SIP_SSIZE_T);}
static void *array_DOM_HTMLHtmlElement(SIP_SSIZE_T sipNrElem)
{
    return new DOM::HTMLHtmlElement[sipNrElem];
}


extern "C" {static void *copy_DOM_HTMLHtmlElement(const void *, SIP_SSIZE_T);}
static void *copy_DOM_HTMLHtmlElement(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new DOM::HTMLHtmlElement(reinterpret_cast<const DOM::HTMLHtmlElement *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_DOM_HTMLHtmlElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLHtmlElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLHtmlElement(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_DOM_HTMLHtmlElement(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_DOM_HTMLHtmlElement(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    DOM::HTMLHtmlElement *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLHtmlElement* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_HTMLHtmlElement, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::HTMLHtmlElement(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_Node, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::HTMLHtmlElement(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_DOM_HTMLHtmlElement[] = {{59, 255, 1}};


static PyMethodDef methods_DOM_HTMLHtmlElement[] = {
    {SIP_MLNAME_CAST(sipName_setVersion), meth_DOM_HTMLHtmlElement_setVersion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_version), meth_DOM_HTMLHtmlElement_version, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_khtml_DOM_HTMLHtmlElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLHtmlElement,
        {0}
    },
    {
        sipNameNr_HTMLHtmlElement,
        {0, 255, 0},
        2, methods_DOM_HTMLHtmlElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLHtmlElement,
    0,
    init_type_DOM_HTMLHtmlElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLHtmlElement,
    assign_DOM_HTMLHtmlElement,
    array_DOM_HTMLHtmlElement,
    copy_DOM_HTMLHtmlElement,
    release_DOM_HTMLHtmlElement,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 166 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_base.sip"
#include <html_base.h>
#line 2384 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2388 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 2391 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 2394 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2397 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 2400 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 2403 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 2406 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 2409 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 2412 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 2415 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 2418 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 2421 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2424 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"


extern "C" {static PyObject *meth_DOM_HTMLHeadElement_profile(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLHeadElement_profile(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLHeadElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLHeadElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->profile());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLHeadElement, sipName_profile, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLHeadElement_setProfile(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLHeadElement_setProfile(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLHeadElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLHeadElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setProfile(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLHeadElement, sipName_setProfile, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_DOM_HTMLHeadElement(void *, int);}
static void release_DOM_HTMLHeadElement(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<DOM::HTMLHeadElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_DOM_HTMLHeadElement(void *, SIP_SSIZE_T, const void *);}
static void assign_DOM_HTMLHeadElement(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<DOM::HTMLHeadElement *>(sipDst)[sipDstIdx] = *reinterpret_cast<const DOM::HTMLHeadElement *>(sipSrc);
}


extern "C" {static void *array_DOM_HTMLHeadElement(SIP_SSIZE_T);}
static void *array_DOM_HTMLHeadElement(SIP_SSIZE_T sipNrElem)
{
    return new DOM::HTMLHeadElement[sipNrElem];
}


extern "C" {static void *copy_DOM_HTMLHeadElement(const void *, SIP_SSIZE_T);}
static void *copy_DOM_HTMLHeadElement(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new DOM::HTMLHeadElement(reinterpret_cast<const DOM::HTMLHeadElement *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_DOM_HTMLHeadElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLHeadElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLHeadElement(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_DOM_HTMLHeadElement(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_DOM_HTMLHeadElement(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    DOM::HTMLHeadElement *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLHeadElement* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_HTMLHeadElement, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::HTMLHeadElement(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_Node, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::HTMLHeadElement(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_DOM_HTMLHeadElement[] = {{59, 255, 1}};


static PyMethodDef methods_DOM_HTMLHeadElement[] = {
    {SIP_MLNAME_CAST(sipName_profile), meth_DOM_HTMLHeadElement_profile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProfile), meth_DOM_HTMLHeadElement_setProfile, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_khtml_DOM_HTMLHeadElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLHeadElement,
        {0}
    },
    {
        sipNameNr_HTMLHeadElement,
        {0, 255, 0},
        2, methods_DOM_HTMLHeadElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLHeadElement,
    0,
    init_type_DOM_HTMLHeadElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLHeadElement,
    assign_DOM_HTMLHeadElement,
    array_DOM_HTMLHeadElement,
    copy_DOM_HTMLHeadElement,
    release_DOM_HTMLHeadElement,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 124 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_base.sip"
#include <html_base.h>
#line 2635 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2639 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 2642 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 2645 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 2648 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2651 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 2654 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 2657 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 2660 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 2663 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 2666 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 2669 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 2672 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2675 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"


extern "C" {static PyObject *meth_DOM_HTMLIFrameElement_align(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLIFrameElement_align(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLIFrameElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLIFrameElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->align());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLIFrameElement, sipName_align, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLIFrameElement_setAlign(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLIFrameElement_setAlign(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLIFrameElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLIFrameElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAlign(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLIFrameElement, sipName_setAlign, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLIFrameElement_frameBorder(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLIFrameElement_frameBorder(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLIFrameElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLIFrameElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->frameBorder());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLIFrameElement, sipName_frameBorder, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLIFrameElement_setFrameBorder(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLIFrameElement_setFrameBorder(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLIFrameElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLIFrameElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFrameBorder(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLIFrameElement, sipName_setFrameBorder, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLIFrameElement_height(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLIFrameElement_height(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLIFrameElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLIFrameElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->height());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLIFrameElement, sipName_height, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLIFrameElement_setHeight(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLIFrameElement_setHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLIFrameElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLIFrameElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHeight(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLIFrameElement, sipName_setHeight, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLIFrameElement_longDesc(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLIFrameElement_longDesc(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLIFrameElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLIFrameElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->longDesc());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLIFrameElement, sipName_longDesc, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLIFrameElement_setLongDesc(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLIFrameElement_setLongDesc(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLIFrameElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLIFrameElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLongDesc(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLIFrameElement, sipName_setLongDesc, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLIFrameElement_marginHeight(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLIFrameElement_marginHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLIFrameElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLIFrameElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->marginHeight());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLIFrameElement, sipName_marginHeight, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLIFrameElement_setMarginHeight(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLIFrameElement_setMarginHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLIFrameElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLIFrameElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMarginHeight(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLIFrameElement, sipName_setMarginHeight, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLIFrameElement_marginWidth(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLIFrameElement_marginWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLIFrameElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLIFrameElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->marginWidth());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLIFrameElement, sipName_marginWidth, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLIFrameElement_setMarginWidth(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLIFrameElement_setMarginWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLIFrameElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLIFrameElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMarginWidth(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLIFrameElement, sipName_setMarginWidth, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLIFrameElement_name(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLIFrameElement_name(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLIFrameElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLIFrameElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->name());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLIFrameElement, sipName_name, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLIFrameElement_setName(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLIFrameElement_setName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLIFrameElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLIFrameElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setName(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLIFrameElement, sipName_setName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLIFrameElement_scrolling(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLIFrameElement_scrolling(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLIFrameElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLIFrameElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->scrolling());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLIFrameElement, sipName_scrolling, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLIFrameElement_setScrolling(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLIFrameElement_setScrolling(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLIFrameElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLIFrameElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setScrolling(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLIFrameElement, sipName_setScrolling, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLIFrameElement_src(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLIFrameElement_src(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLIFrameElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLIFrameElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->src());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLIFrameElement, sipName_src, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLIFrameElement_setSrc(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLIFrameElement_setSrc(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLIFrameElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLIFrameElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSrc(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLIFrameElement, sipName_setSrc, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLIFrameElement_width(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLIFrameElement_width(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLIFrameElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLIFrameElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->width());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLIFrameElement, sipName_width, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLIFrameElement_setWidth(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLIFrameElement_setWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLIFrameElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLIFrameElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWidth(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLIFrameElement, sipName_setWidth, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLIFrameElement_contentDocument(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLIFrameElement_contentDocument(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLIFrameElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLIFrameElement, &sipCpp))
        {
            DOM::Document*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::Document(sipCpp->contentDocument());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLIFrameElement, sipName_contentDocument, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_DOM_HTMLIFrameElement(void *, int);}
static void release_DOM_HTMLIFrameElement(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<DOM::HTMLIFrameElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_DOM_HTMLIFrameElement(void *, SIP_SSIZE_T, const void *);}
static void assign_DOM_HTMLIFrameElement(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<DOM::HTMLIFrameElement *>(sipDst)[sipDstIdx] = *reinterpret_cast<const DOM::HTMLIFrameElement *>(sipSrc);
}


extern "C" {static void *array_DOM_HTMLIFrameElement(SIP_SSIZE_T);}
static void *array_DOM_HTMLIFrameElement(SIP_SSIZE_T sipNrElem)
{
    return new DOM::HTMLIFrameElement[sipNrElem];
}


extern "C" {static void *copy_DOM_HTMLIFrameElement(const void *, SIP_SSIZE_T);}
static void *copy_DOM_HTMLIFrameElement(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new DOM::HTMLIFrameElement(reinterpret_cast<const DOM::HTMLIFrameElement *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_DOM_HTMLIFrameElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLIFrameElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLIFrameElement(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_DOM_HTMLIFrameElement(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_DOM_HTMLIFrameElement(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    DOM::HTMLIFrameElement *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLIFrameElement* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_HTMLIFrameElement, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::HTMLIFrameElement(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_Node, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::HTMLIFrameElement(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_DOM_HTMLIFrameElement[] = {{59, 255, 1}};


static PyMethodDef methods_DOM_HTMLIFrameElement[] = {
    {SIP_MLNAME_CAST(sipName_align), meth_DOM_HTMLIFrameElement_align, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contentDocument), meth_DOM_HTMLIFrameElement_contentDocument, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_frameBorder), meth_DOM_HTMLIFrameElement_frameBorder, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_height), meth_DOM_HTMLIFrameElement_height, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_longDesc), meth_DOM_HTMLIFrameElement_longDesc, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_marginHeight), meth_DOM_HTMLIFrameElement_marginHeight, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_marginWidth), meth_DOM_HTMLIFrameElement_marginWidth, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_DOM_HTMLIFrameElement_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_scrolling), meth_DOM_HTMLIFrameElement_scrolling, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlign), meth_DOM_HTMLIFrameElement_setAlign, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFrameBorder), meth_DOM_HTMLIFrameElement_setFrameBorder, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHeight), meth_DOM_HTMLIFrameElement_setHeight, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLongDesc), meth_DOM_HTMLIFrameElement_setLongDesc, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMarginHeight), meth_DOM_HTMLIFrameElement_setMarginHeight, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMarginWidth), meth_DOM_HTMLIFrameElement_setMarginWidth, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setName), meth_DOM_HTMLIFrameElement_setName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setScrolling), meth_DOM_HTMLIFrameElement_setScrolling, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSrc), meth_DOM_HTMLIFrameElement_setSrc, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWidth), meth_DOM_HTMLIFrameElement_setWidth, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_src), meth_DOM_HTMLIFrameElement_src, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_width), meth_DOM_HTMLIFrameElement_width, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_khtml_DOM_HTMLIFrameElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLIFrameElement,
        {0}
    },
    {
        sipNameNr_HTMLIFrameElement,
        {0, 255, 0},
        21, methods_DOM_HTMLIFrameElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLIFrameElement,
    0,
    init_type_DOM_HTMLIFrameElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLIFrameElement,
    assign_DOM_HTMLIFrameElement,
    array_DOM_HTMLIFrameElement,
    copy_DOM_HTMLIFrameElement,
    release_DOM_HTMLIFrameElement,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 99 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_base.sip"
#include <html_base.h>
#line 3418 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 3422 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 3425 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 3428 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 3431 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 3434 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 3437 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 3440 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 3443 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 3446 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 3449 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 3452 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 3455 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 3458 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"


extern "C" {static PyObject *meth_DOM_HTMLFrameSetElement_cols(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLFrameSetElement_cols(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLFrameSetElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLFrameSetElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->cols());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLFrameSetElement, sipName_cols, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLFrameSetElement_setCols(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLFrameSetElement_setCols(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLFrameSetElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLFrameSetElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCols(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLFrameSetElement, sipName_setCols, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLFrameSetElement_rows(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLFrameSetElement_rows(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLFrameSetElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLFrameSetElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->rows());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLFrameSetElement, sipName_rows, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLFrameSetElement_setRows(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLFrameSetElement_setRows(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLFrameSetElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLFrameSetElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRows(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLFrameSetElement, sipName_setRows, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_DOM_HTMLFrameSetElement(void *, int);}
static void release_DOM_HTMLFrameSetElement(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<DOM::HTMLFrameSetElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_DOM_HTMLFrameSetElement(void *, SIP_SSIZE_T, const void *);}
static void assign_DOM_HTMLFrameSetElement(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<DOM::HTMLFrameSetElement *>(sipDst)[sipDstIdx] = *reinterpret_cast<const DOM::HTMLFrameSetElement *>(sipSrc);
}


extern "C" {static void *array_DOM_HTMLFrameSetElement(SIP_SSIZE_T);}
static void *array_DOM_HTMLFrameSetElement(SIP_SSIZE_T sipNrElem)
{
    return new DOM::HTMLFrameSetElement[sipNrElem];
}


extern "C" {static void *copy_DOM_HTMLFrameSetElement(const void *, SIP_SSIZE_T);}
static void *copy_DOM_HTMLFrameSetElement(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new DOM::HTMLFrameSetElement(reinterpret_cast<const DOM::HTMLFrameSetElement *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_DOM_HTMLFrameSetElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLFrameSetElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLFrameSetElement(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_DOM_HTMLFrameSetElement(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_DOM_HTMLFrameSetElement(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    DOM::HTMLFrameSetElement *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLFrameSetElement* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_HTMLFrameSetElement, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::HTMLFrameSetElement(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_Node, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::HTMLFrameSetElement(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_DOM_HTMLFrameSetElement[] = {{59, 255, 1}};


static PyMethodDef methods_DOM_HTMLFrameSetElement[] = {
    {SIP_MLNAME_CAST(sipName_cols), meth_DOM_HTMLFrameSetElement_cols, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rows), meth_DOM_HTMLFrameSetElement_rows, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCols), meth_DOM_HTMLFrameSetElement_setCols, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRows), meth_DOM_HTMLFrameSetElement_setRows, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_khtml_DOM_HTMLFrameSetElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLFrameSetElement,
        {0}
    },
    {
        sipNameNr_HTMLFrameSetElement,
        {0, 255, 0},
        4, methods_DOM_HTMLFrameSetElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLFrameSetElement,
    0,
    init_type_DOM_HTMLFrameSetElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLFrameSetElement,
    assign_DOM_HTMLFrameSetElement,
    array_DOM_HTMLFrameSetElement,
    copy_DOM_HTMLFrameSetElement,
    release_DOM_HTMLFrameSetElement,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_base.sip"
#include <html_base.h>
#line 3725 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 3729 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 3732 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 3735 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 3738 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 3741 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 3744 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 3747 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 3750 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 3753 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 3756 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 3759 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 3762 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 3765 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"


extern "C" {static PyObject *meth_DOM_HTMLFrameElement_frameBorder(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLFrameElement_frameBorder(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLFrameElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLFrameElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->frameBorder());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLFrameElement, sipName_frameBorder, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLFrameElement_setFrameBorder(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLFrameElement_setFrameBorder(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLFrameElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLFrameElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFrameBorder(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLFrameElement, sipName_setFrameBorder, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLFrameElement_longDesc(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLFrameElement_longDesc(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLFrameElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLFrameElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->longDesc());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLFrameElement, sipName_longDesc, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLFrameElement_setLongDesc(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLFrameElement_setLongDesc(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLFrameElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLFrameElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLongDesc(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLFrameElement, sipName_setLongDesc, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLFrameElement_marginHeight(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLFrameElement_marginHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLFrameElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLFrameElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->marginHeight());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLFrameElement, sipName_marginHeight, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLFrameElement_setMarginHeight(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLFrameElement_setMarginHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLFrameElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLFrameElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMarginHeight(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLFrameElement, sipName_setMarginHeight, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLFrameElement_marginWidth(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLFrameElement_marginWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLFrameElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLFrameElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->marginWidth());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLFrameElement, sipName_marginWidth, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLFrameElement_setMarginWidth(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLFrameElement_setMarginWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLFrameElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLFrameElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMarginWidth(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLFrameElement, sipName_setMarginWidth, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLFrameElement_name(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLFrameElement_name(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLFrameElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLFrameElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->name());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLFrameElement, sipName_name, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLFrameElement_setName(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLFrameElement_setName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLFrameElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLFrameElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setName(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLFrameElement, sipName_setName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLFrameElement_noResize(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLFrameElement_noResize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLFrameElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLFrameElement, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->noResize();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLFrameElement, sipName_noResize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLFrameElement_setNoResize(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLFrameElement_setNoResize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        DOM::HTMLFrameElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_DOM_HTMLFrameElement, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setNoResize(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLFrameElement, sipName_setNoResize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLFrameElement_scrolling(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLFrameElement_scrolling(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLFrameElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLFrameElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->scrolling());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLFrameElement, sipName_scrolling, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLFrameElement_setScrolling(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLFrameElement_setScrolling(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLFrameElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLFrameElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setScrolling(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLFrameElement, sipName_setScrolling, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLFrameElement_src(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLFrameElement_src(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLFrameElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLFrameElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->src());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLFrameElement, sipName_src, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLFrameElement_setSrc(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLFrameElement_setSrc(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLFrameElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLFrameElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSrc(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLFrameElement, sipName_setSrc, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLFrameElement_contentDocument(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLFrameElement_contentDocument(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLFrameElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLFrameElement, &sipCpp))
        {
            DOM::Document*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::Document(sipCpp->contentDocument());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLFrameElement, sipName_contentDocument, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_DOM_HTMLFrameElement(void *, int);}
static void release_DOM_HTMLFrameElement(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<DOM::HTMLFrameElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_DOM_HTMLFrameElement(void *, SIP_SSIZE_T, const void *);}
static void assign_DOM_HTMLFrameElement(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<DOM::HTMLFrameElement *>(sipDst)[sipDstIdx] = *reinterpret_cast<const DOM::HTMLFrameElement *>(sipSrc);
}


extern "C" {static void *array_DOM_HTMLFrameElement(SIP_SSIZE_T);}
static void *array_DOM_HTMLFrameElement(SIP_SSIZE_T sipNrElem)
{
    return new DOM::HTMLFrameElement[sipNrElem];
}


extern "C" {static void *copy_DOM_HTMLFrameElement(const void *, SIP_SSIZE_T);}
static void *copy_DOM_HTMLFrameElement(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new DOM::HTMLFrameElement(reinterpret_cast<const DOM::HTMLFrameElement *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_DOM_HTMLFrameElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLFrameElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLFrameElement(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_DOM_HTMLFrameElement(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_DOM_HTMLFrameElement(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    DOM::HTMLFrameElement *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLFrameElement* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_HTMLFrameElement, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::HTMLFrameElement(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_Node, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::HTMLFrameElement(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_DOM_HTMLFrameElement[] = {{59, 255, 1}};


static PyMethodDef methods_DOM_HTMLFrameElement[] = {
    {SIP_MLNAME_CAST(sipName_contentDocument), meth_DOM_HTMLFrameElement_contentDocument, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_frameBorder), meth_DOM_HTMLFrameElement_frameBorder, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_longDesc), meth_DOM_HTMLFrameElement_longDesc, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_marginHeight), meth_DOM_HTMLFrameElement_marginHeight, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_marginWidth), meth_DOM_HTMLFrameElement_marginWidth, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_DOM_HTMLFrameElement_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_noResize), meth_DOM_HTMLFrameElement_noResize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_scrolling), meth_DOM_HTMLFrameElement_scrolling, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFrameBorder), meth_DOM_HTMLFrameElement_setFrameBorder, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLongDesc), meth_DOM_HTMLFrameElement_setLongDesc, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMarginHeight), meth_DOM_HTMLFrameElement_setMarginHeight, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMarginWidth), meth_DOM_HTMLFrameElement_setMarginWidth, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setName), meth_DOM_HTMLFrameElement_setName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setNoResize), meth_DOM_HTMLFrameElement_setNoResize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setScrolling), meth_DOM_HTMLFrameElement_setScrolling, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSrc), meth_DOM_HTMLFrameElement_setSrc, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_src), meth_DOM_HTMLFrameElement_src, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_khtml_DOM_HTMLFrameElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLFrameElement,
        {0}
    },
    {
        sipNameNr_HTMLFrameElement,
        {0, 255, 0},
        17, methods_DOM_HTMLFrameElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLFrameElement,
    0,
    init_type_DOM_HTMLFrameElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLFrameElement,
    assign_DOM_HTMLFrameElement,
    array_DOM_HTMLFrameElement,
    copy_DOM_HTMLFrameElement,
    release_DOM_HTMLFrameElement,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_base.sip"
#include <html_base.h>
#line 4396 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 4400 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 4403 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 4406 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 4409 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 4412 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 4415 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 4418 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 4421 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 4424 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 4427 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 4430 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 4433 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 4436 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"


extern "C" {static PyObject *meth_DOM_HTMLBodyElement_aLink(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLBodyElement_aLink(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLBodyElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLBodyElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->aLink());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLBodyElement, sipName_aLink, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLBodyElement_setALink(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLBodyElement_setALink(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLBodyElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLBodyElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setALink(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLBodyElement, sipName_setALink, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLBodyElement_background(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLBodyElement_background(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLBodyElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLBodyElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->background());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLBodyElement_setBackground(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLBodyElement_setBackground(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLBodyElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLBodyElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setBackground(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLBodyElement, sipName_setBackground, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLBodyElement_bgColor(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLBodyElement_bgColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLBodyElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLBodyElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->bgColor());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLBodyElement, sipName_bgColor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLBodyElement_setBgColor(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLBodyElement_setBgColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLBodyElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLBodyElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setBgColor(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLBodyElement, sipName_setBgColor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLBodyElement_link(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLBodyElement_link(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLBodyElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLBodyElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->link());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLBodyElement, sipName_link, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLBodyElement_setLink(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLBodyElement_setLink(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLBodyElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLBodyElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLink(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLBodyElement, sipName_setLink, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLBodyElement_text(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLBodyElement_text(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLBodyElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLBodyElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->text());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLBodyElement_setText(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLBodyElement_setText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLBodyElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLBodyElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setText(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLBodyElement, sipName_setText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLBodyElement_vLink(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLBodyElement_vLink(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLBodyElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLBodyElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->vLink());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLBodyElement, sipName_vLink, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLBodyElement_setVLink(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLBodyElement_setVLink(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLBodyElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLBodyElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setVLink(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLBodyElement, sipName_setVLink, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_DOM_HTMLBodyElement(void *, int);}
static void release_DOM_HTMLBodyElement(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<DOM::HTMLBodyElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_DOM_HTMLBodyElement(void *, SIP_SSIZE_T, const void *);}
static void assign_DOM_HTMLBodyElement(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<DOM::HTMLBodyElement *>(sipDst)[sipDstIdx] = *reinterpret_cast<const DOM::HTMLBodyElement *>(sipSrc);
}


extern "C" {static void *array_DOM_HTMLBodyElement(SIP_SSIZE_T);}
static void *array_DOM_HTMLBodyElement(SIP_SSIZE_T sipNrElem)
{
    return new DOM::HTMLBodyElement[sipNrElem];
}


extern "C" {static void *copy_DOM_HTMLBodyElement(const void *, SIP_SSIZE_T);}
static void *copy_DOM_HTMLBodyElement(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new DOM::HTMLBodyElement(reinterpret_cast<const DOM::HTMLBodyElement *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_DOM_HTMLBodyElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLBodyElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLBodyElement(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_DOM_HTMLBodyElement(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_DOM_HTMLBodyElement(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    DOM::HTMLBodyElement *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLBodyElement* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_HTMLBodyElement, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::HTMLBodyElement(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_Node, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::HTMLBodyElement(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_DOM_HTMLBodyElement[] = {{59, 255, 1}};


static PyMethodDef methods_DOM_HTMLBodyElement[] = {
    {SIP_MLNAME_CAST(sipName_aLink), meth_DOM_HTMLBodyElement_aLink, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_background), meth_DOM_HTMLBodyElement_background, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_bgColor), meth_DOM_HTMLBodyElement_bgColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_link), meth_DOM_HTMLBodyElement_link, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setALink), meth_DOM_HTMLBodyElement_setALink, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setBackground), meth_DOM_HTMLBodyElement_setBackground, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setBgColor), meth_DOM_HTMLBodyElement_setBgColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLink), meth_DOM_HTMLBodyElement_setLink, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setText), meth_DOM_HTMLBodyElement_setText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setVLink), meth_DOM_HTMLBodyElement_setVLink, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_text), meth_DOM_HTMLBodyElement_text, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_vLink), meth_DOM_HTMLBodyElement_vLink, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_khtml_DOM_HTMLBodyElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLBodyElement,
        {0}
    },
    {
        sipNameNr_HTMLBodyElement,
        {0, 255, 0},
        12, methods_DOM_HTMLBodyElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLBodyElement,
    0,
    init_type_DOM_HTMLBodyElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLBodyElement,
    assign_DOM_HTMLBodyElement,
    array_DOM_HTMLBodyElement,
    copy_DOM_HTMLBodyElement,
    release_DOM_HTMLBodyElement,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_element.sip"
#include <html_element.h>
#line 4927 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 4931 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 4934 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 4937 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 4940 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 4943 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 4946 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 4949 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 4952 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 4955 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 4958 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 4961 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 4964 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 4967 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"


extern "C" {static PyObject *meth_DOM_HTMLElement_id(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLElement_id(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->id());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLElement, sipName_id, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLElement_setId(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLElement_setId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setId(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLElement, sipName_setId, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLElement_title(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLElement_title(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->title());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLElement, sipName_title, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLElement_setTitle(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLElement_setTitle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTitle(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLElement, sipName_setTitle, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLElement_lang(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLElement_lang(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->lang());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLElement, sipName_lang, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLElement_setLang(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLElement_setLang(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLang(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLElement, sipName_setLang, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLElement_dir(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLElement_dir(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->dir());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLElement, sipName_dir, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLElement_setDir(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLElement_setDir(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDir(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLElement, sipName_setDir, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLElement_className(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLElement_className(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->className());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLElement, sipName_className, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLElement_setClassName(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLElement_setClassName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setClassName(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLElement, sipName_setClassName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLElement_innerHTML(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLElement_innerHTML(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->innerHTML());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLElement, sipName_innerHTML, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLElement_setInnerHTML(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLElement_setInnerHTML(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setInnerHTML(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLElement, sipName_setInnerHTML, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLElement_innerText(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLElement_innerText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->innerText());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLElement, sipName_innerText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLElement_setInnerText(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLElement_setInnerText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setInnerText(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLElement, sipName_setInnerText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLElement_children(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLElement_children(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLElement, &sipCpp))
        {
            DOM::HTMLCollection*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::HTMLCollection(sipCpp->children());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLElement, sipName_children, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLElement_all(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLElement_all(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLElement, &sipCpp))
        {
            DOM::HTMLCollection*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::HTMLCollection(sipCpp->all());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLElement, sipName_all, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLElement_isContentEditable(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLElement_isContentEditable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLElement, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isContentEditable();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLElement, sipName_isContentEditable, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLElement_contentEditable(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLElement_contentEditable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::HTMLElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLElement, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->contentEditable());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLElement, sipName_contentEditable, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLElement_setContentEditable(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLElement_setContentEditable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setContentEditable(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLElement, sipName_setContentEditable, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLElement_removeCSSProperty(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLElement_removeCSSProperty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::HTMLElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeCSSProperty(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLElement, sipName_removeCSSProperty, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLElement_addCSSProperty(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLElement_addCSSProperty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        const DOM::DOMString* a1;
        DOM::HTMLElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9", &sipSelf, sipType_DOM_HTMLElement, &sipCpp, sipType_DOM_DOMString, &a0, sipType_DOM_DOMString, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addCSSProperty(*a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLElement, sipName_addCSSProperty, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLElement_assignOther(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLElement_assignOther(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::Node* a0;
        int a1;
        DOM::HTMLElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9i", &sipSelf, sipType_DOM_HTMLElement, &sipCpp, sipType_DOM_Node, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->assignOther(*a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_HTMLElement, sipName_assignOther, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_DOM_HTMLElement(void *, int);}
static void release_DOM_HTMLElement(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<DOM::HTMLElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_DOM_HTMLElement(void *, SIP_SSIZE_T, const void *);}
static void assign_DOM_HTMLElement(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<DOM::HTMLElement *>(sipDst)[sipDstIdx] = *reinterpret_cast<const DOM::HTMLElement *>(sipSrc);
}


extern "C" {static void *array_DOM_HTMLElement(SIP_SSIZE_T);}
static void *array_DOM_HTMLElement(SIP_SSIZE_T sipNrElem)
{
    return new DOM::HTMLElement[sipNrElem];
}


extern "C" {static void *copy_DOM_HTMLElement(const void *, SIP_SSIZE_T);}
static void *copy_DOM_HTMLElement(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new DOM::HTMLElement(reinterpret_cast<const DOM::HTMLElement *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_DOM_HTMLElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLElement(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_DOM_HTMLElement(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_DOM_HTMLElement(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    DOM::HTMLElement *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLElement* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_HTMLElement, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::HTMLElement(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_Node, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::HTMLElement(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_DOM_HTMLElement[] = {{37, 255, 1}};


static PyMethodDef methods_DOM_HTMLElement[] = {
    {SIP_MLNAME_CAST(sipName_addCSSProperty), meth_DOM_HTMLElement_addCSSProperty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_all), meth_DOM_HTMLElement_all, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_children), meth_DOM_HTMLElement_children, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_className), meth_DOM_HTMLElement_className, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contentEditable), meth_DOM_HTMLElement_contentEditable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dir), meth_DOM_HTMLElement_dir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_id), meth_DOM_HTMLElement_id, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_innerHTML), meth_DOM_HTMLElement_innerHTML, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_innerText), meth_DOM_HTMLElement_innerText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isContentEditable), meth_DOM_HTMLElement_isContentEditable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_lang), meth_DOM_HTMLElement_lang, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeCSSProperty), meth_DOM_HTMLElement_removeCSSProperty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setClassName), meth_DOM_HTMLElement_setClassName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setContentEditable), meth_DOM_HTMLElement_setContentEditable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDir), meth_DOM_HTMLElement_setDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setId), meth_DOM_HTMLElement_setId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setInnerHTML), meth_DOM_HTMLElement_setInnerHTML, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setInnerText), meth_DOM_HTMLElement_setInnerText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLang), meth_DOM_HTMLElement_setLang, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTitle), meth_DOM_HTMLElement_setTitle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_title), meth_DOM_HTMLElement_title, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_khtml_DOM_HTMLElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLElement,
        {0}
    },
    {
        sipNameNr_HTMLElement,
        {0, 255, 0},
        22, methods_DOM_HTMLElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLElement,
    0,
    init_type_DOM_HTMLElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLElement,
    assign_DOM_HTMLElement,
    array_DOM_HTMLElement,
    copy_DOM_HTMLElement,
    release_DOM_HTMLElement,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 113 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_xml.sip"
#include <dom_xml.h>
#line 5740 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 5744 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/css_stylesheet.sip"
#include <css_stylesheet.h>
#line 5747 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 5750 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 5753 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 5756 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 5759 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 5762 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 5765 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 5768 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 5771 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"


extern "C" {static PyObject *meth_DOM_ProcessingInstruction_target(PyObject *, PyObject *);}
static PyObject *meth_DOM_ProcessingInstruction_target(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::ProcessingInstruction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_ProcessingInstruction, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->target());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ProcessingInstruction, sipName_target, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_ProcessingInstruction_data(PyObject *, PyObject *);}
static PyObject *meth_DOM_ProcessingInstruction_data(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::ProcessingInstruction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_ProcessingInstruction, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->data());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ProcessingInstruction, sipName_data, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_ProcessingInstruction_setData(PyObject *, PyObject *);}
static PyObject *meth_DOM_ProcessingInstruction_setData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::DOMString* a0;
        DOM::ProcessingInstruction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_ProcessingInstruction, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setData(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ProcessingInstruction, sipName_setData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_ProcessingInstruction_sheet(PyObject *, PyObject *);}
static PyObject *meth_DOM_ProcessingInstruction_sheet(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::ProcessingInstruction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_ProcessingInstruction, &sipCpp))
        {
            DOM::StyleSheet*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::StyleSheet(sipCpp->sheet());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ProcessingInstruction, sipName_sheet, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_DOM_ProcessingInstruction(void *, int);}
static void release_DOM_ProcessingInstruction(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<DOM::ProcessingInstruction *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_DOM_ProcessingInstruction(void *, SIP_SSIZE_T, const void *);}
static void assign_DOM_ProcessingInstruction(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<DOM::ProcessingInstruction *>(sipDst)[sipDstIdx] = *reinterpret_cast<const DOM::ProcessingInstruction *>(sipSrc);
}


extern "C" {static void *array_DOM_ProcessingInstruction(SIP_SSIZE_T);}
static void *array_DOM_ProcessingInstruction(SIP_SSIZE_T sipNrElem)
{
    return new DOM::ProcessingInstruction[sipNrElem];
}


extern "C" {static void *copy_DOM_ProcessingInstruction(const void *, SIP_SSIZE_T);}
static void *copy_DOM_ProcessingInstruction(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new DOM::ProcessingInstruction(reinterpret_cast<const DOM::ProcessingInstruction *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_DOM_ProcessingInstruction(sipSimpleWrapper *);}
static void dealloc_DOM_ProcessingInstruction(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_ProcessingInstruction(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_DOM_ProcessingInstruction(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_DOM_ProcessingInstruction(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    DOM::ProcessingInstruction *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        const DOM::ProcessingInstruction* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_ProcessingInstruction, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::ProcessingInstruction(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_Node, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::ProcessingInstruction(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_DOM_ProcessingInstruction[] = {{110, 255, 1}};


static PyMethodDef methods_DOM_ProcessingInstruction[] = {
    {SIP_MLNAME_CAST(sipName_data), meth_DOM_ProcessingInstruction_data, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setData), meth_DOM_ProcessingInstruction_setData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sheet), meth_DOM_ProcessingInstruction_sheet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_target), meth_DOM_ProcessingInstruction_target, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_khtml_DOM_ProcessingInstruction = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__ProcessingInstruction,
        {0}
    },
    {
        sipNameNr_ProcessingInstruction,
        {0, 255, 0},
        4, methods_DOM_ProcessingInstruction,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_ProcessingInstruction,
    0,
    init_type_DOM_ProcessingInstruction,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_ProcessingInstruction,
    assign_DOM_ProcessingInstruction,
    array_DOM_ProcessingInstruction,
    copy_DOM_ProcessingInstruction,
    release_DOM_ProcessingInstruction,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 91 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_xml.sip"
#include <dom_xml.h>
#line 6038 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 6042 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 6045 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 6048 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 6051 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 6054 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 6057 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 6060 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 6063 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 6066 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart3.cpp"


extern "C" {static PyObject *meth_DOM_Notation_publicId(PyObject *, PyObject *);}
static PyObject *meth_DOM_Notation_publicId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::Notation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_Notation, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->publicId());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Notation, sipName_publicId, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_Notation_systemId(PyObject *, PyObject *);}
static PyObject *meth_DOM_Notation_systemId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const DOM::Notation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_Notation, &sipCpp))
        {
            DOM::DOMString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->systemId());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Notation, sipName_systemId, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_DOM_Notation(void *, int);}
static void release_DOM_Notation(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<DOM::Notation *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_DOM_Notation(void *, SIP_SSIZE_T, const void *);}
static void assign_DOM_Notation(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<DOM::Notation *>(sipDst)[sipDstIdx] = *reinterpret_cast<const DOM::Notation *>(sipSrc);
}


extern "C" {static void *array_DOM_Notation(SIP_SSIZE_T);}
static void *array_DOM_Notation(SIP_SSIZE_T sipNrElem)
{
    return new DOM::Notation[sipNrElem];
}


extern "C" {static void *copy_DOM_Notation(const void *, SIP_SSIZE_T);}
static void *copy_DOM_Notation(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new DOM::Notation(reinterpret_cast<const DOM::Notation *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_DOM_Notation(sipSimpleWrapper *);}
static void dealloc_DOM_Notation(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_Notation(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_DOM_Notation(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_DOM_Notation(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    DOM::Notation *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        const DOM::Notation* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_Notation, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::Notation(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_Node, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::Notation(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_DOM_Notation[] = {{110, 255, 1}};


static PyMethodDef methods_DOM_Notation[] = {
    {SIP_MLNAME_CAST(sipName_publicId), meth_DOM_Notation_publicId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_systemId), meth_DOM_Notation_systemId, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_khtml_DOM_Notation = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__Notation,
        {0}
    },
    {
        sipNameNr_Notation,
        {0, 255, 0},
        2, methods_DOM_Notation,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_Notation,
    0,
    init_type_DOM_Notation,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_Notation,
    assign_DOM_Notation,
    array_DOM_Notation,
    copy_DOM_Notation,
    release_DOM_Notation,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};
