/*
 * Module code.
 *
 * Generated by SIP 4.12.4 on Fri Dec 30 00:32:46 2011
 */

#include "sipAPIkhtml.h"

#line 172 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_block.sip"
#include <html_block.h>
#line 12 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"

#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 16 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 57 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 19 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 22 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 147 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 233 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 31 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 50 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 34 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 37 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 40 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 44 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 46 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"


class sipDOM_HTMLLayerElement : public DOM::HTMLLayerElement
{
public:
    sipDOM_HTMLLayerElement();
    sipDOM_HTMLLayerElement(const DOM::HTMLLayerElement&);
    sipDOM_HTMLLayerElement(const DOM::Node&);
    ~sipDOM_HTMLLayerElement();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_assignOther(const DOM::Node&,int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipDOM_HTMLLayerElement(const sipDOM_HTMLLayerElement &);
    sipDOM_HTMLLayerElement &operator = (const sipDOM_HTMLLayerElement &);
};

sipDOM_HTMLLayerElement::sipDOM_HTMLLayerElement(): DOM::HTMLLayerElement(), sipPySelf(0)
{
}

sipDOM_HTMLLayerElement::sipDOM_HTMLLayerElement(const DOM::HTMLLayerElement& a0): DOM::HTMLLayerElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLLayerElement::sipDOM_HTMLLayerElement(const DOM::Node& a0): DOM::HTMLLayerElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLLayerElement::~sipDOM_HTMLLayerElement()
{
    sipCommonDtor(sipPySelf);
}

void sipDOM_HTMLLayerElement::sipProtect_assignOther(const DOM::Node& a0,int a1)
{
    DOM::HTMLElement::assignOther(a0,a1);
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_DOM_HTMLLayerElement, &sipCpp, sipType_DOM_Node, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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_HTMLLayerElement, sipName_assignOther, NULL);

    return NULL;
}


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

    {
        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;

    {
        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;

    {
        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;

    {
        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;

    {
        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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_DOM_HTMLLayerElement(void *, const sipTypeDef *);}
static void *cast_DOM_HTMLLayerElement(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_DOM_HTMLLayerElement)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_DOM_HTMLElement)->ctd_cast((DOM::HTMLElement *)(DOM::HTMLLayerElement *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipDOM_HTMLLayerElement *>(sipCppV);
    else
        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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipDOM_HTMLLayerElement *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLLayerElement(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_DOM_HTMLLayerElement(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_DOM_HTMLLayerElement(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipDOM_HTMLLayerElement *sipCpp = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::HTMLLayerElement * a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::Node * a0;

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

            sipCpp->sipPySelf = sipSelf;

            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_assignOther), meth_DOM_HTMLLayerElement_assignOther, METH_VARARGS, NULL},
    {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},
        10, 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_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,
    cast_DOM_HTMLLayerElement,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 149 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_block.sip"
#include <html_block.h>
#line 558 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"

#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 562 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 565 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 57 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 568 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 147 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 571 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 233 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 574 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 577 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 50 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 580 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 583 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 586 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 44 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 589 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 592 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 595 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 598 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"


class sipDOM_HTMLPreElement : public DOM::HTMLPreElement
{
public:
    sipDOM_HTMLPreElement();
    sipDOM_HTMLPreElement(const DOM::HTMLPreElement&);
    sipDOM_HTMLPreElement(const DOM::Node&);
    ~sipDOM_HTMLPreElement();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_assignOther(const DOM::Node&,int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipDOM_HTMLPreElement(const sipDOM_HTMLPreElement &);
    sipDOM_HTMLPreElement &operator = (const sipDOM_HTMLPreElement &);
};

sipDOM_HTMLPreElement::sipDOM_HTMLPreElement(): DOM::HTMLPreElement(), sipPySelf(0)
{
}

sipDOM_HTMLPreElement::sipDOM_HTMLPreElement(const DOM::HTMLPreElement& a0): DOM::HTMLPreElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLPreElement::sipDOM_HTMLPreElement(const DOM::Node& a0): DOM::HTMLPreElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLPreElement::~sipDOM_HTMLPreElement()
{
    sipCommonDtor(sipPySelf);
}

void sipDOM_HTMLPreElement::sipProtect_assignOther(const DOM::Node& a0,int a1)
{
    DOM::HTMLElement::assignOther(a0,a1);
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_DOM_HTMLPreElement, &sipCpp, sipType_DOM_Node, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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_HTMLPreElement, sipName_assignOther, NULL);

    return NULL;
}


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

    {
        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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_DOM_HTMLPreElement(void *, const sipTypeDef *);}
static void *cast_DOM_HTMLPreElement(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_DOM_HTMLPreElement)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_DOM_HTMLElement)->ctd_cast((DOM::HTMLElement *)(DOM::HTMLPreElement *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipDOM_HTMLPreElement *>(sipCppV);
    else
        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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipDOM_HTMLPreElement *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLPreElement(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_DOM_HTMLPreElement(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_DOM_HTMLPreElement(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipDOM_HTMLPreElement *sipCpp = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::HTMLPreElement * a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::Node * a0;

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

            sipCpp->sipPySelf = sipSelf;

            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_assignOther), meth_DOM_HTMLPreElement_assignOther, METH_VARARGS, NULL},
    {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},
        3, 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_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,
    cast_DOM_HTMLPreElement,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 126 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_block.sip"
#include <html_block.h>
#line 908 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"

#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 912 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 915 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 57 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 918 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 147 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 921 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 233 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 924 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 927 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 50 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 930 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 933 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 936 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 44 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 939 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 942 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 945 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 948 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"


class sipDOM_HTMLParagraphElement : public DOM::HTMLParagraphElement
{
public:
    sipDOM_HTMLParagraphElement();
    sipDOM_HTMLParagraphElement(const DOM::HTMLParagraphElement&);
    sipDOM_HTMLParagraphElement(const DOM::Node&);
    ~sipDOM_HTMLParagraphElement();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_assignOther(const DOM::Node&,int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipDOM_HTMLParagraphElement(const sipDOM_HTMLParagraphElement &);
    sipDOM_HTMLParagraphElement &operator = (const sipDOM_HTMLParagraphElement &);
};

sipDOM_HTMLParagraphElement::sipDOM_HTMLParagraphElement(): DOM::HTMLParagraphElement(), sipPySelf(0)
{
}

sipDOM_HTMLParagraphElement::sipDOM_HTMLParagraphElement(const DOM::HTMLParagraphElement& a0): DOM::HTMLParagraphElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLParagraphElement::sipDOM_HTMLParagraphElement(const DOM::Node& a0): DOM::HTMLParagraphElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLParagraphElement::~sipDOM_HTMLParagraphElement()
{
    sipCommonDtor(sipPySelf);
}

void sipDOM_HTMLParagraphElement::sipProtect_assignOther(const DOM::Node& a0,int a1)
{
    DOM::HTMLElement::assignOther(a0,a1);
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_DOM_HTMLParagraphElement, &sipCpp, sipType_DOM_Node, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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_HTMLParagraphElement, sipName_assignOther, NULL);

    return NULL;
}


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

    {
        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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_DOM_HTMLParagraphElement(void *, const sipTypeDef *);}
static void *cast_DOM_HTMLParagraphElement(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_DOM_HTMLParagraphElement)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_DOM_HTMLElement)->ctd_cast((DOM::HTMLElement *)(DOM::HTMLParagraphElement *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipDOM_HTMLParagraphElement *>(sipCppV);
    else
        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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipDOM_HTMLParagraphElement *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLParagraphElement(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_DOM_HTMLParagraphElement(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_DOM_HTMLParagraphElement(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipDOM_HTMLParagraphElement *sipCpp = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::HTMLParagraphElement * a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::Node * a0;

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

            sipCpp->sipPySelf = sipSelf;

            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_assignOther), meth_DOM_HTMLParagraphElement_assignOther, 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},
        3, 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_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,
    cast_DOM_HTMLParagraphElement,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 103 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_block.sip"
#include <html_block.h>
#line 1258 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"

#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1262 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 1265 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 57 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 1268 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 147 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1271 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 233 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 1274 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 1277 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 50 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 1280 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 1283 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1286 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 44 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 1289 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 1292 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 1295 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1298 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"


class sipDOM_HTMLHeadingElement : public DOM::HTMLHeadingElement
{
public:
    sipDOM_HTMLHeadingElement();
    sipDOM_HTMLHeadingElement(const DOM::HTMLHeadingElement&);
    sipDOM_HTMLHeadingElement(const DOM::Node&);
    ~sipDOM_HTMLHeadingElement();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_assignOther(const DOM::Node&,int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipDOM_HTMLHeadingElement(const sipDOM_HTMLHeadingElement &);
    sipDOM_HTMLHeadingElement &operator = (const sipDOM_HTMLHeadingElement &);
};

sipDOM_HTMLHeadingElement::sipDOM_HTMLHeadingElement(): DOM::HTMLHeadingElement(), sipPySelf(0)
{
}

sipDOM_HTMLHeadingElement::sipDOM_HTMLHeadingElement(const DOM::HTMLHeadingElement& a0): DOM::HTMLHeadingElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLHeadingElement::sipDOM_HTMLHeadingElement(const DOM::Node& a0): DOM::HTMLHeadingElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLHeadingElement::~sipDOM_HTMLHeadingElement()
{
    sipCommonDtor(sipPySelf);
}

void sipDOM_HTMLHeadingElement::sipProtect_assignOther(const DOM::Node& a0,int a1)
{
    DOM::HTMLElement::assignOther(a0,a1);
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_DOM_HTMLHeadingElement, &sipCpp, sipType_DOM_Node, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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_HTMLHeadingElement, sipName_assignOther, NULL);

    return NULL;
}


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

    {
        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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_DOM_HTMLHeadingElement(void *, const sipTypeDef *);}
static void *cast_DOM_HTMLHeadingElement(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_DOM_HTMLHeadingElement)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_DOM_HTMLElement)->ctd_cast((DOM::HTMLElement *)(DOM::HTMLHeadingElement *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipDOM_HTMLHeadingElement *>(sipCppV);
    else
        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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipDOM_HTMLHeadingElement *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLHeadingElement(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_DOM_HTMLHeadingElement(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_DOM_HTMLHeadingElement(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipDOM_HTMLHeadingElement *sipCpp = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::HTMLHeadingElement * a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::Node * a0;

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

            sipCpp->sipPySelf = sipSelf;

            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_assignOther), meth_DOM_HTMLHeadingElement_assignOther, 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},
        3, 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_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,
    cast_DOM_HTMLHeadingElement,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 74 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_block.sip"
#include <html_block.h>
#line 1608 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"

#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1612 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 1615 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 57 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 1618 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 147 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1621 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 233 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 1624 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 1627 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 50 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 1630 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 1633 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1636 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 44 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 1639 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 1642 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 1645 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1648 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"


class sipDOM_HTMLHRElement : public DOM::HTMLHRElement
{
public:
    sipDOM_HTMLHRElement();
    sipDOM_HTMLHRElement(const DOM::HTMLHRElement&);
    sipDOM_HTMLHRElement(const DOM::Node&);
    ~sipDOM_HTMLHRElement();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_assignOther(const DOM::Node&,int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipDOM_HTMLHRElement(const sipDOM_HTMLHRElement &);
    sipDOM_HTMLHRElement &operator = (const sipDOM_HTMLHRElement &);
};

sipDOM_HTMLHRElement::sipDOM_HTMLHRElement(): DOM::HTMLHRElement(), sipPySelf(0)
{
}

sipDOM_HTMLHRElement::sipDOM_HTMLHRElement(const DOM::HTMLHRElement& a0): DOM::HTMLHRElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLHRElement::sipDOM_HTMLHRElement(const DOM::Node& a0): DOM::HTMLHRElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLHRElement::~sipDOM_HTMLHRElement()
{
    sipCommonDtor(sipPySelf);
}

void sipDOM_HTMLHRElement::sipProtect_assignOther(const DOM::Node& a0,int a1)
{
    DOM::HTMLElement::assignOther(a0,a1);
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_DOM_HTMLHRElement, &sipCpp, sipType_DOM_Node, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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_HTMLHRElement, sipName_assignOther, NULL);

    return NULL;
}


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

    {
        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;

    {
        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;

    {
        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;

    {
        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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_DOM_HTMLHRElement(void *, const sipTypeDef *);}
static void *cast_DOM_HTMLHRElement(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_DOM_HTMLHRElement)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_DOM_HTMLElement)->ctd_cast((DOM::HTMLElement *)(DOM::HTMLHRElement *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipDOM_HTMLHRElement *>(sipCppV);
    else
        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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipDOM_HTMLHRElement *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLHRElement(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_DOM_HTMLHRElement(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_DOM_HTMLHRElement(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipDOM_HTMLHRElement *sipCpp = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::HTMLHRElement * a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::Node * a0;

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

            sipCpp->sipPySelf = sipSelf;

            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_assignOther), meth_DOM_HTMLHRElement_assignOther, 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},
        9, 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_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,
    cast_DOM_HTMLHRElement,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 51 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_block.sip"
#include <html_block.h>
#line 2126 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"

#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2130 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 2133 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 57 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 2136 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 147 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2139 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 233 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 2142 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 2145 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 50 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 2148 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 2151 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 2154 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 44 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 2157 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 2160 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 2163 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2166 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"


class sipDOM_HTMLDivElement : public DOM::HTMLDivElement
{
public:
    sipDOM_HTMLDivElement();
    sipDOM_HTMLDivElement(const DOM::HTMLDivElement&);
    sipDOM_HTMLDivElement(const DOM::Node&);
    ~sipDOM_HTMLDivElement();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_assignOther(const DOM::Node&,int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipDOM_HTMLDivElement(const sipDOM_HTMLDivElement &);
    sipDOM_HTMLDivElement &operator = (const sipDOM_HTMLDivElement &);
};

sipDOM_HTMLDivElement::sipDOM_HTMLDivElement(): DOM::HTMLDivElement(), sipPySelf(0)
{
}

sipDOM_HTMLDivElement::sipDOM_HTMLDivElement(const DOM::HTMLDivElement& a0): DOM::HTMLDivElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLDivElement::sipDOM_HTMLDivElement(const DOM::Node& a0): DOM::HTMLDivElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLDivElement::~sipDOM_HTMLDivElement()
{
    sipCommonDtor(sipPySelf);
}

void sipDOM_HTMLDivElement::sipProtect_assignOther(const DOM::Node& a0,int a1)
{
    DOM::HTMLElement::assignOther(a0,a1);
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_DOM_HTMLDivElement, &sipCpp, sipType_DOM_Node, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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_HTMLDivElement, sipName_assignOther, NULL);

    return NULL;
}


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

    {
        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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_DOM_HTMLDivElement(void *, const sipTypeDef *);}
static void *cast_DOM_HTMLDivElement(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_DOM_HTMLDivElement)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_DOM_HTMLElement)->ctd_cast((DOM::HTMLElement *)(DOM::HTMLDivElement *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipDOM_HTMLDivElement *>(sipCppV);
    else
        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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipDOM_HTMLDivElement *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLDivElement(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_DOM_HTMLDivElement(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_DOM_HTMLDivElement(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipDOM_HTMLDivElement *sipCpp = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::HTMLDivElement * a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::Node * a0;

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

            sipCpp->sipPySelf = sipSelf;

            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_assignOther), meth_DOM_HTMLDivElement_assignOther, 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},
        3, 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_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,
    cast_DOM_HTMLDivElement,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_block.sip"
#include <html_block.h>
#line 2476 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"

#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2480 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 2483 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 57 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 2486 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 147 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2489 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 233 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 2492 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 2495 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 50 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 2498 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 2501 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 2504 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 44 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 2507 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 2510 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 2513 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2516 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"


class sipDOM_HTMLBlockquoteElement : public DOM::HTMLBlockquoteElement
{
public:
    sipDOM_HTMLBlockquoteElement();
    sipDOM_HTMLBlockquoteElement(const DOM::HTMLBlockquoteElement&);
    sipDOM_HTMLBlockquoteElement(const DOM::Node&);
    ~sipDOM_HTMLBlockquoteElement();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_assignOther(const DOM::Node&,int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipDOM_HTMLBlockquoteElement(const sipDOM_HTMLBlockquoteElement &);
    sipDOM_HTMLBlockquoteElement &operator = (const sipDOM_HTMLBlockquoteElement &);
};

sipDOM_HTMLBlockquoteElement::sipDOM_HTMLBlockquoteElement(): DOM::HTMLBlockquoteElement(), sipPySelf(0)
{
}

sipDOM_HTMLBlockquoteElement::sipDOM_HTMLBlockquoteElement(const DOM::HTMLBlockquoteElement& a0): DOM::HTMLBlockquoteElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLBlockquoteElement::sipDOM_HTMLBlockquoteElement(const DOM::Node& a0): DOM::HTMLBlockquoteElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLBlockquoteElement::~sipDOM_HTMLBlockquoteElement()
{
    sipCommonDtor(sipPySelf);
}

void sipDOM_HTMLBlockquoteElement::sipProtect_assignOther(const DOM::Node& a0,int a1)
{
    DOM::HTMLElement::assignOther(a0,a1);
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_DOM_HTMLBlockquoteElement, &sipCpp, sipType_DOM_Node, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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_HTMLBlockquoteElement, sipName_assignOther, NULL);

    return NULL;
}


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

    {
        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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_DOM_HTMLBlockquoteElement(void *, const sipTypeDef *);}
static void *cast_DOM_HTMLBlockquoteElement(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_DOM_HTMLBlockquoteElement)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_DOM_HTMLElement)->ctd_cast((DOM::HTMLElement *)(DOM::HTMLBlockquoteElement *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipDOM_HTMLBlockquoteElement *>(sipCppV);
    else
        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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipDOM_HTMLBlockquoteElement *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLBlockquoteElement(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_DOM_HTMLBlockquoteElement(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_DOM_HTMLBlockquoteElement(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipDOM_HTMLBlockquoteElement *sipCpp = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::HTMLBlockquoteElement * a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::Node * a0;

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

            sipCpp->sipPySelf = sipSelf;

            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_assignOther), meth_DOM_HTMLBlockquoteElement_assignOther, METH_VARARGS, NULL},
    {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},
        3, 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_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,
    cast_DOM_HTMLBlockquoteElement,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 189 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_base.sip"
#include <html_base.h>
#line 2826 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"

#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2830 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 2833 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 57 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 2836 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 147 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2839 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 233 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 2842 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 2845 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 50 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 2848 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 2851 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 2854 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 44 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 2857 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 2860 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 2863 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2866 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"


class sipDOM_HTMLHtmlElement : public DOM::HTMLHtmlElement
{
public:
    sipDOM_HTMLHtmlElement();
    sipDOM_HTMLHtmlElement(const DOM::HTMLHtmlElement&);
    sipDOM_HTMLHtmlElement(const DOM::Node&);
    ~sipDOM_HTMLHtmlElement();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_assignOther(const DOM::Node&,int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipDOM_HTMLHtmlElement(const sipDOM_HTMLHtmlElement &);
    sipDOM_HTMLHtmlElement &operator = (const sipDOM_HTMLHtmlElement &);
};

sipDOM_HTMLHtmlElement::sipDOM_HTMLHtmlElement(): DOM::HTMLHtmlElement(), sipPySelf(0)
{
}

sipDOM_HTMLHtmlElement::sipDOM_HTMLHtmlElement(const DOM::HTMLHtmlElement& a0): DOM::HTMLHtmlElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLHtmlElement::sipDOM_HTMLHtmlElement(const DOM::Node& a0): DOM::HTMLHtmlElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLHtmlElement::~sipDOM_HTMLHtmlElement()
{
    sipCommonDtor(sipPySelf);
}

void sipDOM_HTMLHtmlElement::sipProtect_assignOther(const DOM::Node& a0,int a1)
{
    DOM::HTMLElement::assignOther(a0,a1);
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_DOM_HTMLHtmlElement, &sipCpp, sipType_DOM_Node, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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_HTMLHtmlElement, sipName_assignOther, NULL);

    return NULL;
}


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

    {
        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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_DOM_HTMLHtmlElement(void *, const sipTypeDef *);}
static void *cast_DOM_HTMLHtmlElement(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_DOM_HTMLHtmlElement)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_DOM_HTMLElement)->ctd_cast((DOM::HTMLElement *)(DOM::HTMLHtmlElement *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipDOM_HTMLHtmlElement *>(sipCppV);
    else
        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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipDOM_HTMLHtmlElement *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLHtmlElement(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_DOM_HTMLHtmlElement(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_DOM_HTMLHtmlElement(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipDOM_HTMLHtmlElement *sipCpp = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::HTMLHtmlElement * a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::Node * a0;

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

            sipCpp->sipPySelf = sipSelf;

            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_assignOther), meth_DOM_HTMLHtmlElement_assignOther, METH_VARARGS, NULL},
    {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},
        3, 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_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,
    cast_DOM_HTMLHtmlElement,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 166 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_base.sip"
#include <html_base.h>
#line 3176 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"

#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 3180 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 3183 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 57 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 3186 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 147 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 3189 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 233 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 3192 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 3195 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 50 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 3198 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 3201 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 3204 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 44 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 3207 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 3210 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 3213 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 3216 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"


class sipDOM_HTMLHeadElement : public DOM::HTMLHeadElement
{
public:
    sipDOM_HTMLHeadElement();
    sipDOM_HTMLHeadElement(const DOM::HTMLHeadElement&);
    sipDOM_HTMLHeadElement(const DOM::Node&);
    ~sipDOM_HTMLHeadElement();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_assignOther(const DOM::Node&,int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipDOM_HTMLHeadElement(const sipDOM_HTMLHeadElement &);
    sipDOM_HTMLHeadElement &operator = (const sipDOM_HTMLHeadElement &);
};

sipDOM_HTMLHeadElement::sipDOM_HTMLHeadElement(): DOM::HTMLHeadElement(), sipPySelf(0)
{
}

sipDOM_HTMLHeadElement::sipDOM_HTMLHeadElement(const DOM::HTMLHeadElement& a0): DOM::HTMLHeadElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLHeadElement::sipDOM_HTMLHeadElement(const DOM::Node& a0): DOM::HTMLHeadElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLHeadElement::~sipDOM_HTMLHeadElement()
{
    sipCommonDtor(sipPySelf);
}

void sipDOM_HTMLHeadElement::sipProtect_assignOther(const DOM::Node& a0,int a1)
{
    DOM::HTMLElement::assignOther(a0,a1);
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_DOM_HTMLHeadElement, &sipCpp, sipType_DOM_Node, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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_HTMLHeadElement, sipName_assignOther, NULL);

    return NULL;
}


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

    {
        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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_DOM_HTMLHeadElement(void *, const sipTypeDef *);}
static void *cast_DOM_HTMLHeadElement(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_DOM_HTMLHeadElement)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_DOM_HTMLElement)->ctd_cast((DOM::HTMLElement *)(DOM::HTMLHeadElement *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipDOM_HTMLHeadElement *>(sipCppV);
    else
        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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipDOM_HTMLHeadElement *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLHeadElement(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_DOM_HTMLHeadElement(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_DOM_HTMLHeadElement(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipDOM_HTMLHeadElement *sipCpp = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::HTMLHeadElement * a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::Node * a0;

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

            sipCpp->sipPySelf = sipSelf;

            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_assignOther), meth_DOM_HTMLHeadElement_assignOther, METH_VARARGS, NULL},
    {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},
        3, 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_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,
    cast_DOM_HTMLHeadElement,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 124 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_base.sip"
#include <html_base.h>
#line 3526 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"

#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 3530 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 3533 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 3536 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 57 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 3539 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 147 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 3542 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 233 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 3545 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 3548 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 50 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 3551 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 3554 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 3557 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 44 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 3560 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 3563 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 3566 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"


class sipDOM_HTMLIFrameElement : public DOM::HTMLIFrameElement
{
public:
    sipDOM_HTMLIFrameElement();
    sipDOM_HTMLIFrameElement(const DOM::HTMLIFrameElement&);
    sipDOM_HTMLIFrameElement(const DOM::Node&);
    ~sipDOM_HTMLIFrameElement();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_assignOther(const DOM::Node&,int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipDOM_HTMLIFrameElement(const sipDOM_HTMLIFrameElement &);
    sipDOM_HTMLIFrameElement &operator = (const sipDOM_HTMLIFrameElement &);
};

sipDOM_HTMLIFrameElement::sipDOM_HTMLIFrameElement(): DOM::HTMLIFrameElement(), sipPySelf(0)
{
}

sipDOM_HTMLIFrameElement::sipDOM_HTMLIFrameElement(const DOM::HTMLIFrameElement& a0): DOM::HTMLIFrameElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLIFrameElement::sipDOM_HTMLIFrameElement(const DOM::Node& a0): DOM::HTMLIFrameElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLIFrameElement::~sipDOM_HTMLIFrameElement()
{
    sipCommonDtor(sipPySelf);
}

void sipDOM_HTMLIFrameElement::sipProtect_assignOther(const DOM::Node& a0,int a1)
{
    DOM::HTMLElement::assignOther(a0,a1);
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_DOM_HTMLIFrameElement, &sipCpp, sipType_DOM_Node, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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_HTMLIFrameElement, sipName_assignOther, NULL);

    return NULL;
}


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

    {
        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;

    {
        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;

    {
        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;

    {
        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;

    {
        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;

    {
        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;

    {
        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;

    {
        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;

    {
        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;

    {
        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;

    {
        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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_DOM_HTMLIFrameElement(void *, const sipTypeDef *);}
static void *cast_DOM_HTMLIFrameElement(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_DOM_HTMLIFrameElement)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_DOM_HTMLElement)->ctd_cast((DOM::HTMLElement *)(DOM::HTMLIFrameElement *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipDOM_HTMLIFrameElement *>(sipCppV);
    else
        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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipDOM_HTMLIFrameElement *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLIFrameElement(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_DOM_HTMLIFrameElement(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_DOM_HTMLIFrameElement(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipDOM_HTMLIFrameElement *sipCpp = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::HTMLIFrameElement * a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::Node * a0;

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

            sipCpp->sipPySelf = sipSelf;

            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_assignOther), meth_DOM_HTMLIFrameElement_assignOther, 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},
        22, 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_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,
    cast_DOM_HTMLIFrameElement,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 99 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_base.sip"
#include <html_base.h>
#line 4408 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"

#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 4412 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 4415 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 57 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 4418 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 147 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 4421 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 233 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 4424 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 4427 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 50 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 4430 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 4433 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 4436 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 44 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 4439 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 4442 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 4445 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 4448 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"


class sipDOM_HTMLFrameSetElement : public DOM::HTMLFrameSetElement
{
public:
    sipDOM_HTMLFrameSetElement();
    sipDOM_HTMLFrameSetElement(const DOM::HTMLFrameSetElement&);
    sipDOM_HTMLFrameSetElement(const DOM::Node&);
    ~sipDOM_HTMLFrameSetElement();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_assignOther(const DOM::Node&,int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipDOM_HTMLFrameSetElement(const sipDOM_HTMLFrameSetElement &);
    sipDOM_HTMLFrameSetElement &operator = (const sipDOM_HTMLFrameSetElement &);
};

sipDOM_HTMLFrameSetElement::sipDOM_HTMLFrameSetElement(): DOM::HTMLFrameSetElement(), sipPySelf(0)
{
}

sipDOM_HTMLFrameSetElement::sipDOM_HTMLFrameSetElement(const DOM::HTMLFrameSetElement& a0): DOM::HTMLFrameSetElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLFrameSetElement::sipDOM_HTMLFrameSetElement(const DOM::Node& a0): DOM::HTMLFrameSetElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLFrameSetElement::~sipDOM_HTMLFrameSetElement()
{
    sipCommonDtor(sipPySelf);
}

void sipDOM_HTMLFrameSetElement::sipProtect_assignOther(const DOM::Node& a0,int a1)
{
    DOM::HTMLElement::assignOther(a0,a1);
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_DOM_HTMLFrameSetElement, &sipCpp, sipType_DOM_Node, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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_HTMLFrameSetElement, sipName_assignOther, NULL);

    return NULL;
}


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

    {
        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;

    {
        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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_DOM_HTMLFrameSetElement(void *, const sipTypeDef *);}
static void *cast_DOM_HTMLFrameSetElement(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_DOM_HTMLFrameSetElement)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_DOM_HTMLElement)->ctd_cast((DOM::HTMLElement *)(DOM::HTMLFrameSetElement *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipDOM_HTMLFrameSetElement *>(sipCppV);
    else
        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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipDOM_HTMLFrameSetElement *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLFrameSetElement(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_DOM_HTMLFrameSetElement(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_DOM_HTMLFrameSetElement(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipDOM_HTMLFrameSetElement *sipCpp = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::HTMLFrameSetElement * a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::Node * a0;

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

            sipCpp->sipPySelf = sipSelf;

            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_assignOther), meth_DOM_HTMLFrameSetElement_assignOther, METH_VARARGS, NULL},
    {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},
        5, 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_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,
    cast_DOM_HTMLFrameSetElement,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_base.sip"
#include <html_base.h>
#line 4814 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"

#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 4818 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 4821 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 4824 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 57 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 4827 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 147 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 4830 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 233 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 4833 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 4836 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 50 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 4839 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 4842 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 4845 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 44 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 4848 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 4851 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 4854 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"


class sipDOM_HTMLFrameElement : public DOM::HTMLFrameElement
{
public:
    sipDOM_HTMLFrameElement();
    sipDOM_HTMLFrameElement(const DOM::HTMLFrameElement&);
    sipDOM_HTMLFrameElement(const DOM::Node&);
    ~sipDOM_HTMLFrameElement();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_assignOther(const DOM::Node&,int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipDOM_HTMLFrameElement(const sipDOM_HTMLFrameElement &);
    sipDOM_HTMLFrameElement &operator = (const sipDOM_HTMLFrameElement &);
};

sipDOM_HTMLFrameElement::sipDOM_HTMLFrameElement(): DOM::HTMLFrameElement(), sipPySelf(0)
{
}

sipDOM_HTMLFrameElement::sipDOM_HTMLFrameElement(const DOM::HTMLFrameElement& a0): DOM::HTMLFrameElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLFrameElement::sipDOM_HTMLFrameElement(const DOM::Node& a0): DOM::HTMLFrameElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLFrameElement::~sipDOM_HTMLFrameElement()
{
    sipCommonDtor(sipPySelf);
}

void sipDOM_HTMLFrameElement::sipProtect_assignOther(const DOM::Node& a0,int a1)
{
    DOM::HTMLElement::assignOther(a0,a1);
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_DOM_HTMLFrameElement, &sipCpp, sipType_DOM_Node, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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_HTMLFrameElement, sipName_assignOther, NULL);

    return NULL;
}


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

    {
        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;

    {
        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;

    {
        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;

    {
        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;

    {
        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;

    {
        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;

    {
        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;

    {
        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;

    {
        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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_DOM_HTMLFrameElement(void *, const sipTypeDef *);}
static void *cast_DOM_HTMLFrameElement(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_DOM_HTMLFrameElement)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_DOM_HTMLElement)->ctd_cast((DOM::HTMLElement *)(DOM::HTMLFrameElement *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipDOM_HTMLFrameElement *>(sipCppV);
    else
        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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipDOM_HTMLFrameElement *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLFrameElement(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_DOM_HTMLFrameElement(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_DOM_HTMLFrameElement(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipDOM_HTMLFrameElement *sipCpp = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::HTMLFrameElement * a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::Node * a0;

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

            sipCpp->sipPySelf = sipSelf;

            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_assignOther), meth_DOM_HTMLFrameElement_assignOther, METH_VARARGS, NULL},
    {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},
        18, 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_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,
    cast_DOM_HTMLFrameElement,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_base.sip"
#include <html_base.h>
#line 5584 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"

#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 5588 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 5591 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 57 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 5594 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 147 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 5597 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 233 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 5600 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 5603 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 50 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 5606 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 5609 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 5612 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 44 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 5615 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 5618 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 5621 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 5624 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"


class sipDOM_HTMLBodyElement : public DOM::HTMLBodyElement
{
public:
    sipDOM_HTMLBodyElement();
    sipDOM_HTMLBodyElement(const DOM::HTMLBodyElement&);
    sipDOM_HTMLBodyElement(const DOM::Node&);
    ~sipDOM_HTMLBodyElement();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_assignOther(const DOM::Node&,int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipDOM_HTMLBodyElement(const sipDOM_HTMLBodyElement &);
    sipDOM_HTMLBodyElement &operator = (const sipDOM_HTMLBodyElement &);
};

sipDOM_HTMLBodyElement::sipDOM_HTMLBodyElement(): DOM::HTMLBodyElement(), sipPySelf(0)
{
}

sipDOM_HTMLBodyElement::sipDOM_HTMLBodyElement(const DOM::HTMLBodyElement& a0): DOM::HTMLBodyElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLBodyElement::sipDOM_HTMLBodyElement(const DOM::Node& a0): DOM::HTMLBodyElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLBodyElement::~sipDOM_HTMLBodyElement()
{
    sipCommonDtor(sipPySelf);
}

void sipDOM_HTMLBodyElement::sipProtect_assignOther(const DOM::Node& a0,int a1)
{
    DOM::HTMLElement::assignOther(a0,a1);
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_DOM_HTMLBodyElement, &sipCpp, sipType_DOM_Node, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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_HTMLBodyElement, sipName_assignOther, NULL);

    return NULL;
}


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

    {
        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;

    {
        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;

    {
        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;

    {
        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;

    {
        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;

    {
        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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_DOM_HTMLBodyElement(void *, const sipTypeDef *);}
static void *cast_DOM_HTMLBodyElement(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_DOM_HTMLBodyElement)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_DOM_HTMLElement)->ctd_cast((DOM::HTMLElement *)(DOM::HTMLBodyElement *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipDOM_HTMLBodyElement *>(sipCppV);
    else
        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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipDOM_HTMLBodyElement *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLBodyElement(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_DOM_HTMLBodyElement(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_DOM_HTMLBodyElement(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipDOM_HTMLBodyElement *sipCpp = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::HTMLBodyElement * a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::Node * a0;

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

            sipCpp->sipPySelf = sipSelf;

            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_assignOther), meth_DOM_HTMLBodyElement_assignOther, 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},
        13, 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_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,
    cast_DOM_HTMLBodyElement,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_element.sip"
#include <html_element.h>
#line 6214 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"

#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 6218 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 6221 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 57 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 6224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 147 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 6227 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 233 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 6230 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 6233 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 50 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 6236 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 6239 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 6242 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 44 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 6245 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 6248 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 6251 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 6254 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"


class sipDOM_HTMLElement : public DOM::HTMLElement
{
public:
    sipDOM_HTMLElement();
    sipDOM_HTMLElement(const DOM::HTMLElement&);
    sipDOM_HTMLElement(const DOM::Node&);
    ~sipDOM_HTMLElement();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_assignOther(const DOM::Node&,int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipDOM_HTMLElement(const sipDOM_HTMLElement &);
    sipDOM_HTMLElement &operator = (const sipDOM_HTMLElement &);
};

sipDOM_HTMLElement::sipDOM_HTMLElement(): DOM::HTMLElement(), sipPySelf(0)
{
}

sipDOM_HTMLElement::sipDOM_HTMLElement(const DOM::HTMLElement& a0): DOM::HTMLElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLElement::sipDOM_HTMLElement(const DOM::Node& a0): DOM::HTMLElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLElement::~sipDOM_HTMLElement()
{
    sipCommonDtor(sipPySelf);
}

void sipDOM_HTMLElement::sipProtect_assignOther(const DOM::Node& a0,int a1)
{
    DOM::HTMLElement::assignOther(a0,a1);
}


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

    {
        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;

    {
        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;

    {
        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;

    {
        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;

    {
        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;

    {
        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;

    {
        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;

    {
        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;

    {
        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;

    {
        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;

    {
        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;
        sipDOM_HTMLElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_DOM_HTMLElement, &sipCpp, sipType_DOM_Node, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_DOM_HTMLElement(void *, const sipTypeDef *);}
static void *cast_DOM_HTMLElement(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_DOM_HTMLElement)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_DOM_Element)->ctd_cast((DOM::Element *)(DOM::HTMLElement *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipDOM_HTMLElement *>(sipCppV);
    else
        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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipDOM_HTMLElement *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLElement(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_DOM_HTMLElement(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_DOM_HTMLElement(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipDOM_HTMLElement *sipCpp = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::HTMLElement * a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::Node * a0;

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

            sipCpp->sipPySelf = sipSelf;

            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_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,
    cast_DOM_HTMLElement,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 113 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_xml.sip"
#include <dom_xml.h>
#line 7097 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"

#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 7101 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/css_stylesheet.sip"
#include <css_stylesheet.h>
#line 7104 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 7107 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 7110 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7113 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 44 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 7116 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 7119 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 7122 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 7125 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 147 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 7128 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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;

    {
        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;

    {
        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;

    {
        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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_DOM_ProcessingInstruction(void *, const sipTypeDef *);}
static void *cast_DOM_ProcessingInstruction(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_DOM_ProcessingInstruction)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_DOM_Node)->ctd_cast((DOM::Node *)(DOM::ProcessingInstruction *)ptr,targetType)) != NULL)
        return res;

    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_DOM_ProcessingInstruction(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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_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,
    cast_DOM_ProcessingInstruction,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 91 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_xml.sip"
#include <dom_xml.h>
#line 7408 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"

#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 7412 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 7415 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 7418 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7421 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 44 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 7424 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 7427 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 7430 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 7433 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart3.cpp"
#line 147 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 7436 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/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;

    {
        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;

    {
        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;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_DOM_Notation(void *, const sipTypeDef *);}
static void *cast_DOM_Notation(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_DOM_Notation)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_DOM_Node)->ctd_cast((DOM::Node *)(DOM::Notation *)ptr,targetType)) != NULL)
        return res;

    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_DOM_Notation(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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_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,
    cast_DOM_Notation,
    0,
    0,
    0
},
    0,
    0,
    0
};
