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

#include "sipAPIkhtml.h"

#line 149 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_list.sip"
#include <html_list.h>
#line 12 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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/sipkhtmlpart1.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 19 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 22 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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/sipkhtmlpart1.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/sipkhtmlpart1.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/sipkhtmlpart1.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/sipkhtmlpart1.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/sipkhtmlpart1.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/sipkhtmlpart1.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/sipkhtmlpart1.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/sipkhtmlpart1.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/sipkhtmlpart1.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/sipkhtmlpart1.cpp"


class sipDOM_HTMLUListElement : public DOM::HTMLUListElement
{
public:
    sipDOM_HTMLUListElement();
    sipDOM_HTMLUListElement(const DOM::HTMLUListElement&);
    sipDOM_HTMLUListElement(const DOM::Node&);
    ~sipDOM_HTMLUListElement();

    /*
     * 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_HTMLUListElement(const sipDOM_HTMLUListElement &);
    sipDOM_HTMLUListElement &operator = (const sipDOM_HTMLUListElement &);
};

sipDOM_HTMLUListElement::sipDOM_HTMLUListElement(): DOM::HTMLUListElement(), sipPySelf(0)
{
}

sipDOM_HTMLUListElement::sipDOM_HTMLUListElement(const DOM::HTMLUListElement& a0): DOM::HTMLUListElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLUListElement::sipDOM_HTMLUListElement(const DOM::Node& a0): DOM::HTMLUListElement(a0), sipPySelf(0)
{
}

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

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


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_DOM_HTMLUListElement, &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_HTMLUListElement, sipName_assignOther, NULL);

    return NULL;
}


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

    {
        DOM::HTMLUListElement *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->compact();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLUListElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_DOM_HTMLUListElement, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCompact(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_HTMLUListElement, sipName_setCompact, NULL);

    return NULL;
}


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

    {
        DOM::HTMLUListElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLUListElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setType(*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_HTMLUListElement, sipName_setType, NULL);

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLUListElement)
        return ptr;

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

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipDOM_HTMLUListElement *>(sipCppV);
    else
        delete reinterpret_cast<DOM::HTMLUListElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


extern "C" {static void dealloc_DOM_HTMLUListElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLUListElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipDOM_HTMLUListElement *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::HTMLUListElement * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_HTMLUListElement, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLUListElement(*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_HTMLUListElement(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_DOM_HTMLUListElement[] = {
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLUListElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_compact), meth_DOM_HTMLUListElement_compact, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCompact), meth_DOM_HTMLUListElement_setCompact, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setType), meth_DOM_HTMLUListElement_setType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_type), meth_DOM_HTMLUListElement_type, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_khtml_DOM_HTMLUListElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLUListElement,
        {0}
    },
    {
        sipNameNr_HTMLUListElement,
        {0, 255, 0},
        5, methods_DOM_HTMLUListElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLUListElement,
    0,
    init_DOM_HTMLUListElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLUListElement,
    assign_DOM_HTMLUListElement,
    array_DOM_HTMLUListElement,
    copy_DOM_HTMLUListElement,
    release_DOM_HTMLUListElement,
    cast_DOM_HTMLUListElement,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 122 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_list.sip"
#include <html_list.h>
#line 418 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 422 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 425 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 428 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 431 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 434 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 437 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 440 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 443 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 446 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 449 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 452 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 455 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 458 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"


class sipDOM_HTMLOListElement : public DOM::HTMLOListElement
{
public:
    sipDOM_HTMLOListElement();
    sipDOM_HTMLOListElement(const DOM::HTMLOListElement&);
    sipDOM_HTMLOListElement(const DOM::Node&);
    ~sipDOM_HTMLOListElement();

    /*
     * 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_HTMLOListElement(const sipDOM_HTMLOListElement &);
    sipDOM_HTMLOListElement &operator = (const sipDOM_HTMLOListElement &);
};

sipDOM_HTMLOListElement::sipDOM_HTMLOListElement(): DOM::HTMLOListElement(), sipPySelf(0)
{
}

sipDOM_HTMLOListElement::sipDOM_HTMLOListElement(const DOM::HTMLOListElement& a0): DOM::HTMLOListElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLOListElement::sipDOM_HTMLOListElement(const DOM::Node& a0): DOM::HTMLOListElement(a0), sipPySelf(0)
{
}

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

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


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_DOM_HTMLOListElement, &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_HTMLOListElement, sipName_assignOther, NULL);

    return NULL;
}


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

    {
        DOM::HTMLOListElement *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->compact();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLOListElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_DOM_HTMLOListElement, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCompact(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_HTMLOListElement, sipName_setCompact, NULL);

    return NULL;
}


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

    {
        DOM::HTMLOListElement *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->start();
            Py_END_ALLOW_THREADS

            return PyLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLOListElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bl", &sipSelf, sipType_DOM_HTMLOListElement, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStart(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_HTMLOListElement, sipName_setStart, NULL);

    return NULL;
}


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

    {
        DOM::HTMLOListElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLOListElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setType(*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_HTMLOListElement, sipName_setType, NULL);

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLOListElement)
        return ptr;

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

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipDOM_HTMLOListElement *>(sipCppV);
    else
        delete reinterpret_cast<DOM::HTMLOListElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


extern "C" {static void dealloc_DOM_HTMLOListElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLOListElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipDOM_HTMLOListElement *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::HTMLOListElement * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_HTMLOListElement, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLOListElement(*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_HTMLOListElement(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_DOM_HTMLOListElement[] = {
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLOListElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_compact), meth_DOM_HTMLOListElement_compact, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCompact), meth_DOM_HTMLOListElement_setCompact, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStart), meth_DOM_HTMLOListElement_setStart, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setType), meth_DOM_HTMLOListElement_setType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_start), meth_DOM_HTMLOListElement_start, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_type), meth_DOM_HTMLOListElement_type, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_khtml_DOM_HTMLOListElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLOListElement,
        {0}
    },
    {
        sipNameNr_HTMLOListElement,
        {0, 255, 0},
        7, methods_DOM_HTMLOListElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLOListElement,
    0,
    init_DOM_HTMLOListElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLOListElement,
    assign_DOM_HTMLOListElement,
    array_DOM_HTMLOListElement,
    copy_DOM_HTMLOListElement,
    release_DOM_HTMLOListElement,
    cast_DOM_HTMLOListElement,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 99 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_list.sip"
#include <html_list.h>
#line 880 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 884 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 887 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 890 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 893 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 896 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 899 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 902 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 905 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 908 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 911 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 914 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 917 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 920 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"


class sipDOM_HTMLMenuElement : public DOM::HTMLMenuElement
{
public:
    sipDOM_HTMLMenuElement();
    sipDOM_HTMLMenuElement(const DOM::HTMLMenuElement&);
    sipDOM_HTMLMenuElement(const DOM::Node&);
    ~sipDOM_HTMLMenuElement();

    /*
     * 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_HTMLMenuElement(const sipDOM_HTMLMenuElement &);
    sipDOM_HTMLMenuElement &operator = (const sipDOM_HTMLMenuElement &);
};

sipDOM_HTMLMenuElement::sipDOM_HTMLMenuElement(): DOM::HTMLMenuElement(), sipPySelf(0)
{
}

sipDOM_HTMLMenuElement::sipDOM_HTMLMenuElement(const DOM::HTMLMenuElement& a0): DOM::HTMLMenuElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLMenuElement::sipDOM_HTMLMenuElement(const DOM::Node& a0): DOM::HTMLMenuElement(a0), sipPySelf(0)
{
}

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

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


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_DOM_HTMLMenuElement, &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_HTMLMenuElement, sipName_assignOther, NULL);

    return NULL;
}


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

    {
        DOM::HTMLMenuElement *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->compact();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLMenuElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_DOM_HTMLMenuElement, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCompact(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_HTMLMenuElement, sipName_setCompact, NULL);

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLMenuElement)
        return ptr;

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

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipDOM_HTMLMenuElement *>(sipCppV);
    else
        delete reinterpret_cast<DOM::HTMLMenuElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


extern "C" {static void dealloc_DOM_HTMLMenuElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLMenuElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipDOM_HTMLMenuElement *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::HTMLMenuElement * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_HTMLMenuElement, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLMenuElement(*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_HTMLMenuElement(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_DOM_HTMLMenuElement[] = {
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLMenuElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_compact), meth_DOM_HTMLMenuElement_compact, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCompact), meth_DOM_HTMLMenuElement_setCompact, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_khtml_DOM_HTMLMenuElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLMenuElement,
        {0}
    },
    {
        sipNameNr_HTMLMenuElement,
        {0, 255, 0},
        3, methods_DOM_HTMLMenuElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLMenuElement,
    0,
    init_DOM_HTMLMenuElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLMenuElement,
    assign_DOM_HTMLMenuElement,
    array_DOM_HTMLMenuElement,
    copy_DOM_HTMLMenuElement,
    release_DOM_HTMLMenuElement,
    cast_DOM_HTMLMenuElement,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 74 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_list.sip"
#include <html_list.h>
#line 1230 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 1234 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 1237 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 1240 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 1243 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 1246 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 1249 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 1252 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 1255 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1258 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 1261 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 1264 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 1267 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 1270 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"


class sipDOM_HTMLLIElement : public DOM::HTMLLIElement
{
public:
    sipDOM_HTMLLIElement();
    sipDOM_HTMLLIElement(const DOM::HTMLLIElement&);
    sipDOM_HTMLLIElement(const DOM::Node&);
    ~sipDOM_HTMLLIElement();

    /*
     * 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_HTMLLIElement(const sipDOM_HTMLLIElement &);
    sipDOM_HTMLLIElement &operator = (const sipDOM_HTMLLIElement &);
};

sipDOM_HTMLLIElement::sipDOM_HTMLLIElement(): DOM::HTMLLIElement(), sipPySelf(0)
{
}

sipDOM_HTMLLIElement::sipDOM_HTMLLIElement(const DOM::HTMLLIElement& a0): DOM::HTMLLIElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLLIElement::sipDOM_HTMLLIElement(const DOM::Node& a0): DOM::HTMLLIElement(a0), sipPySelf(0)
{
}

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

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


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_DOM_HTMLLIElement, &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_HTMLLIElement, sipName_assignOther, NULL);

    return NULL;
}


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

    {
        DOM::HTMLLIElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLLIElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setType(*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_HTMLLIElement, sipName_setType, NULL);

    return NULL;
}


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

    {
        DOM::HTMLLIElement *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->value();
            Py_END_ALLOW_THREADS

            return PyLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLLIElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bl", &sipSelf, sipType_DOM_HTMLLIElement, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(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_HTMLLIElement, sipName_setValue, NULL);

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLLIElement)
        return ptr;

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

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipDOM_HTMLLIElement *>(sipCppV);
    else
        delete reinterpret_cast<DOM::HTMLLIElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


extern "C" {static void dealloc_DOM_HTMLLIElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLLIElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipDOM_HTMLLIElement *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::HTMLLIElement * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_HTMLLIElement, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLLIElement(*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_HTMLLIElement(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_DOM_HTMLLIElement[] = {
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLLIElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setType), meth_DOM_HTMLLIElement_setType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_DOM_HTMLLIElement_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_type), meth_DOM_HTMLLIElement_type, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_DOM_HTMLLIElement_value, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_khtml_DOM_HTMLLIElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLLIElement,
        {0}
    },
    {
        sipNameNr_HTMLLIElement,
        {0, 255, 0},
        5, methods_DOM_HTMLLIElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLLIElement,
    0,
    init_DOM_HTMLLIElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLLIElement,
    assign_DOM_HTMLLIElement,
    array_DOM_HTMLLIElement,
    copy_DOM_HTMLLIElement,
    release_DOM_HTMLLIElement,
    cast_DOM_HTMLLIElement,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 51 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_list.sip"
#include <html_list.h>
#line 1636 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 1640 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 1643 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 1646 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 1649 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 1652 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 1655 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 1658 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 1661 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1664 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 1667 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 1670 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 1673 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 1676 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"


class sipDOM_HTMLDirectoryElement : public DOM::HTMLDirectoryElement
{
public:
    sipDOM_HTMLDirectoryElement();
    sipDOM_HTMLDirectoryElement(const DOM::HTMLDirectoryElement&);
    sipDOM_HTMLDirectoryElement(const DOM::Node&);
    ~sipDOM_HTMLDirectoryElement();

    /*
     * 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_HTMLDirectoryElement(const sipDOM_HTMLDirectoryElement &);
    sipDOM_HTMLDirectoryElement &operator = (const sipDOM_HTMLDirectoryElement &);
};

sipDOM_HTMLDirectoryElement::sipDOM_HTMLDirectoryElement(): DOM::HTMLDirectoryElement(), sipPySelf(0)
{
}

sipDOM_HTMLDirectoryElement::sipDOM_HTMLDirectoryElement(const DOM::HTMLDirectoryElement& a0): DOM::HTMLDirectoryElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLDirectoryElement::sipDOM_HTMLDirectoryElement(const DOM::Node& a0): DOM::HTMLDirectoryElement(a0), sipPySelf(0)
{
}

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

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


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_DOM_HTMLDirectoryElement, &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_HTMLDirectoryElement, sipName_assignOther, NULL);

    return NULL;
}


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

    {
        DOM::HTMLDirectoryElement *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->compact();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLDirectoryElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_DOM_HTMLDirectoryElement, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCompact(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_HTMLDirectoryElement, sipName_setCompact, NULL);

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLDirectoryElement)
        return ptr;

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

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipDOM_HTMLDirectoryElement *>(sipCppV);
    else
        delete reinterpret_cast<DOM::HTMLDirectoryElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


extern "C" {static void dealloc_DOM_HTMLDirectoryElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLDirectoryElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipDOM_HTMLDirectoryElement *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::HTMLDirectoryElement * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_HTMLDirectoryElement, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLDirectoryElement(*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_HTMLDirectoryElement(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_DOM_HTMLDirectoryElement[] = {
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLDirectoryElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_compact), meth_DOM_HTMLDirectoryElement_compact, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCompact), meth_DOM_HTMLDirectoryElement_setCompact, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_khtml_DOM_HTMLDirectoryElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLDirectoryElement,
        {0}
    },
    {
        sipNameNr_HTMLDirectoryElement,
        {0, 255, 0},
        3, methods_DOM_HTMLDirectoryElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLDirectoryElement,
    0,
    init_DOM_HTMLDirectoryElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLDirectoryElement,
    assign_DOM_HTMLDirectoryElement,
    array_DOM_HTMLDirectoryElement,
    copy_DOM_HTMLDirectoryElement,
    release_DOM_HTMLDirectoryElement,
    cast_DOM_HTMLDirectoryElement,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_list.sip"
#include <html_list.h>
#line 1986 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 1990 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 1993 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 1996 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 1999 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 2002 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 2005 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 2008 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 2011 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 2014 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 2017 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 2020 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 2023 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 2026 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"


class sipDOM_HTMLDListElement : public DOM::HTMLDListElement
{
public:
    sipDOM_HTMLDListElement();
    sipDOM_HTMLDListElement(const DOM::HTMLDListElement&);
    sipDOM_HTMLDListElement(const DOM::Node&);
    ~sipDOM_HTMLDListElement();

    /*
     * 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_HTMLDListElement(const sipDOM_HTMLDListElement &);
    sipDOM_HTMLDListElement &operator = (const sipDOM_HTMLDListElement &);
};

sipDOM_HTMLDListElement::sipDOM_HTMLDListElement(): DOM::HTMLDListElement(), sipPySelf(0)
{
}

sipDOM_HTMLDListElement::sipDOM_HTMLDListElement(const DOM::HTMLDListElement& a0): DOM::HTMLDListElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLDListElement::sipDOM_HTMLDListElement(const DOM::Node& a0): DOM::HTMLDListElement(a0), sipPySelf(0)
{
}

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

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


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_DOM_HTMLDListElement, &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_HTMLDListElement, sipName_assignOther, NULL);

    return NULL;
}


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

    {
        DOM::HTMLDListElement *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->compact();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLDListElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_DOM_HTMLDListElement, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCompact(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_HTMLDListElement, sipName_setCompact, NULL);

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLDListElement)
        return ptr;

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

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipDOM_HTMLDListElement *>(sipCppV);
    else
        delete reinterpret_cast<DOM::HTMLDListElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


extern "C" {static void dealloc_DOM_HTMLDListElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLDListElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipDOM_HTMLDListElement *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::HTMLDListElement * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_HTMLDListElement, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLDListElement(*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_HTMLDListElement(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_DOM_HTMLDListElement[] = {
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLDListElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_compact), meth_DOM_HTMLDListElement_compact, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCompact), meth_DOM_HTMLDListElement_setCompact, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_khtml_DOM_HTMLDListElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLDListElement,
        {0}
    },
    {
        sipNameNr_HTMLDListElement,
        {0, 255, 0},
        3, methods_DOM_HTMLDListElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLDListElement,
    0,
    init_DOM_HTMLDListElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLDListElement,
    assign_DOM_HTMLDListElement,
    array_DOM_HTMLDListElement,
    copy_DOM_HTMLDListElement,
    release_DOM_HTMLDListElement,
    cast_DOM_HTMLDListElement,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 150 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_inline.sip"
#include <html_inline.h>
#line 2336 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 2340 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 2343 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 2346 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 2349 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 2352 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 2355 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 2358 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 2361 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 2364 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 2367 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 2370 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 2373 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 2376 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"


class sipDOM_HTMLQuoteElement : public DOM::HTMLQuoteElement
{
public:
    sipDOM_HTMLQuoteElement();
    sipDOM_HTMLQuoteElement(const DOM::HTMLQuoteElement&);
    sipDOM_HTMLQuoteElement(const DOM::Node&);
    ~sipDOM_HTMLQuoteElement();

    /*
     * 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_HTMLQuoteElement(const sipDOM_HTMLQuoteElement &);
    sipDOM_HTMLQuoteElement &operator = (const sipDOM_HTMLQuoteElement &);
};

sipDOM_HTMLQuoteElement::sipDOM_HTMLQuoteElement(): DOM::HTMLQuoteElement(), sipPySelf(0)
{
}

sipDOM_HTMLQuoteElement::sipDOM_HTMLQuoteElement(const DOM::HTMLQuoteElement& a0): DOM::HTMLQuoteElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLQuoteElement::sipDOM_HTMLQuoteElement(const DOM::Node& a0): DOM::HTMLQuoteElement(a0), sipPySelf(0)
{
}

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

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


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_DOM_HTMLQuoteElement, &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_HTMLQuoteElement, sipName_assignOther, NULL);

    return NULL;
}


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

    {
        DOM::HTMLQuoteElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLQuoteElement, &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_HTMLQuoteElement, sipName_cite, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLQuoteElement, &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_HTMLQuoteElement, sipName_setCite, NULL);

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLQuoteElement)
        return ptr;

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

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipDOM_HTMLQuoteElement *>(sipCppV);
    else
        delete reinterpret_cast<DOM::HTMLQuoteElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


extern "C" {static void dealloc_DOM_HTMLQuoteElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLQuoteElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipDOM_HTMLQuoteElement *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::HTMLQuoteElement * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_HTMLQuoteElement, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLQuoteElement(*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_HTMLQuoteElement(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_DOM_HTMLQuoteElement[] = {
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLQuoteElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_cite), meth_DOM_HTMLQuoteElement_cite, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCite), meth_DOM_HTMLQuoteElement_setCite, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_khtml_DOM_HTMLQuoteElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLQuoteElement,
        {0}
    },
    {
        sipNameNr_HTMLQuoteElement,
        {0, 255, 0},
        3, methods_DOM_HTMLQuoteElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLQuoteElement,
    0,
    init_DOM_HTMLQuoteElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLQuoteElement,
    assign_DOM_HTMLQuoteElement,
    array_DOM_HTMLQuoteElement,
    copy_DOM_HTMLQuoteElement,
    release_DOM_HTMLQuoteElement,
    cast_DOM_HTMLQuoteElement,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 125 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_inline.sip"
#include <html_inline.h>
#line 2686 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 2690 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 2693 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 2696 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 2699 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 2702 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 2705 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 2708 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 2711 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 2714 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 2717 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 2720 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 2723 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 2726 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"


class sipDOM_HTMLModElement : public DOM::HTMLModElement
{
public:
    sipDOM_HTMLModElement();
    sipDOM_HTMLModElement(const DOM::HTMLModElement&);
    sipDOM_HTMLModElement(const DOM::Node&);
    ~sipDOM_HTMLModElement();

    /*
     * 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_HTMLModElement(const sipDOM_HTMLModElement &);
    sipDOM_HTMLModElement &operator = (const sipDOM_HTMLModElement &);
};

sipDOM_HTMLModElement::sipDOM_HTMLModElement(): DOM::HTMLModElement(), sipPySelf(0)
{
}

sipDOM_HTMLModElement::sipDOM_HTMLModElement(const DOM::HTMLModElement& a0): DOM::HTMLModElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLModElement::sipDOM_HTMLModElement(const DOM::Node& a0): DOM::HTMLModElement(a0), sipPySelf(0)
{
}

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

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


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_DOM_HTMLModElement, &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_HTMLModElement, sipName_assignOther, NULL);

    return NULL;
}


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

    {
        DOM::HTMLModElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLModElement, &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_HTMLModElement, sipName_cite, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLModElement, &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_HTMLModElement, sipName_setCite, NULL);

    return NULL;
}


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

    {
        DOM::HTMLModElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLModElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDateTime(*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_HTMLModElement, sipName_setDateTime, NULL);

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLModElement)
        return ptr;

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

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipDOM_HTMLModElement *>(sipCppV);
    else
        delete reinterpret_cast<DOM::HTMLModElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


extern "C" {static void dealloc_DOM_HTMLModElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLModElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipDOM_HTMLModElement *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::HTMLModElement * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_HTMLModElement, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLModElement(*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_HTMLModElement(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_DOM_HTMLModElement[] = {
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLModElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_cite), meth_DOM_HTMLModElement_cite, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dateTime), meth_DOM_HTMLModElement_dateTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCite), meth_DOM_HTMLModElement_setCite, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDateTime), meth_DOM_HTMLModElement_setDateTime, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_khtml_DOM_HTMLModElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLModElement,
        {0}
    },
    {
        sipNameNr_HTMLModElement,
        {0, 255, 0},
        5, methods_DOM_HTMLModElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLModElement,
    0,
    init_DOM_HTMLModElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLModElement,
    assign_DOM_HTMLModElement,
    array_DOM_HTMLModElement,
    copy_DOM_HTMLModElement,
    release_DOM_HTMLModElement,
    cast_DOM_HTMLModElement,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 98 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_inline.sip"
#include <html_inline.h>
#line 3092 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 3096 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 3099 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 3102 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 3105 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 3108 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 3111 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 3114 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 3117 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 3120 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 3123 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 3126 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 3129 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 3132 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"


class sipDOM_HTMLFontElement : public DOM::HTMLFontElement
{
public:
    sipDOM_HTMLFontElement();
    sipDOM_HTMLFontElement(const DOM::HTMLFontElement&);
    sipDOM_HTMLFontElement(const DOM::Node&);
    ~sipDOM_HTMLFontElement();

    /*
     * 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_HTMLFontElement(const sipDOM_HTMLFontElement &);
    sipDOM_HTMLFontElement &operator = (const sipDOM_HTMLFontElement &);
};

sipDOM_HTMLFontElement::sipDOM_HTMLFontElement(): DOM::HTMLFontElement(), sipPySelf(0)
{
}

sipDOM_HTMLFontElement::sipDOM_HTMLFontElement(const DOM::HTMLFontElement& a0): DOM::HTMLFontElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLFontElement::sipDOM_HTMLFontElement(const DOM::Node& a0): DOM::HTMLFontElement(a0), sipPySelf(0)
{
}

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

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


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_DOM_HTMLFontElement, &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_HTMLFontElement, sipName_assignOther, NULL);

    return NULL;
}


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

    {
        DOM::HTMLFontElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLFontElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setColor(*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_HTMLFontElement, sipName_setColor, NULL);

    return NULL;
}


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

    {
        DOM::HTMLFontElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLFontElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFace(*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_HTMLFontElement, sipName_setFace, NULL);

    return NULL;
}


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

    {
        DOM::HTMLFontElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLFontElement, &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_HTMLFontElement, sipName_size, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLFontElement, &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_HTMLFontElement, sipName_setSize, NULL);

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLFontElement)
        return ptr;

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

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipDOM_HTMLFontElement *>(sipCppV);
    else
        delete reinterpret_cast<DOM::HTMLFontElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


extern "C" {static void dealloc_DOM_HTMLFontElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLFontElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipDOM_HTMLFontElement *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::HTMLFontElement * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_HTMLFontElement, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLFontElement(*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_HTMLFontElement(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_DOM_HTMLFontElement[] = {
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLFontElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_color), meth_DOM_HTMLFontElement_color, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_face), meth_DOM_HTMLFontElement_face, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setColor), meth_DOM_HTMLFontElement_setColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFace), meth_DOM_HTMLFontElement_setFace, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSize), meth_DOM_HTMLFontElement_setSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_size), meth_DOM_HTMLFontElement_size, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_khtml_DOM_HTMLFontElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLFontElement,
        {0}
    },
    {
        sipNameNr_HTMLFontElement,
        {0, 255, 0},
        7, methods_DOM_HTMLFontElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLFontElement,
    0,
    init_DOM_HTMLFontElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLFontElement,
    assign_DOM_HTMLFontElement,
    array_DOM_HTMLFontElement,
    copy_DOM_HTMLFontElement,
    release_DOM_HTMLFontElement,
    cast_DOM_HTMLFontElement,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 75 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_inline.sip"
#include <html_inline.h>
#line 3554 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 3558 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 3561 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 3564 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 3567 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 3570 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 3573 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 3576 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 3579 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 3582 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 3585 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 3588 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 3591 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 3594 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"


class sipDOM_HTMLBRElement : public DOM::HTMLBRElement
{
public:
    sipDOM_HTMLBRElement();
    sipDOM_HTMLBRElement(const DOM::HTMLBRElement&);
    sipDOM_HTMLBRElement(const DOM::Node&);
    ~sipDOM_HTMLBRElement();

    /*
     * 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_HTMLBRElement(const sipDOM_HTMLBRElement &);
    sipDOM_HTMLBRElement &operator = (const sipDOM_HTMLBRElement &);
};

sipDOM_HTMLBRElement::sipDOM_HTMLBRElement(): DOM::HTMLBRElement(), sipPySelf(0)
{
}

sipDOM_HTMLBRElement::sipDOM_HTMLBRElement(const DOM::HTMLBRElement& a0): DOM::HTMLBRElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLBRElement::sipDOM_HTMLBRElement(const DOM::Node& a0): DOM::HTMLBRElement(a0), sipPySelf(0)
{
}

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

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


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_DOM_HTMLBRElement, &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_HTMLBRElement, sipName_assignOther, NULL);

    return NULL;
}


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

    {
        DOM::HTMLBRElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLBRElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setClear(*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_HTMLBRElement, sipName_setClear, NULL);

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLBRElement)
        return ptr;

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

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipDOM_HTMLBRElement *>(sipCppV);
    else
        delete reinterpret_cast<DOM::HTMLBRElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


extern "C" {static void dealloc_DOM_HTMLBRElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLBRElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipDOM_HTMLBRElement *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::HTMLBRElement * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_HTMLBRElement, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLBRElement(*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_HTMLBRElement(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_DOM_HTMLBRElement[] = {
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLBRElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_DOM_HTMLBRElement_clear, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setClear), meth_DOM_HTMLBRElement_setClear, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_khtml_DOM_HTMLBRElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLBRElement,
        {0}
    },
    {
        sipNameNr_HTMLBRElement,
        {0, 255, 0},
        3, methods_DOM_HTMLBRElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLBRElement,
    0,
    init_DOM_HTMLBRElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLBRElement,
    assign_DOM_HTMLBRElement,
    array_DOM_HTMLBRElement,
    copy_DOM_HTMLBRElement,
    release_DOM_HTMLBRElement,
    cast_DOM_HTMLBRElement,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_inline.sip"
#include <html_inline.h>
#line 3904 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 3908 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 3911 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 3914 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 3917 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 3920 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 3923 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 3926 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 3929 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 3932 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 3935 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 3938 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 3941 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 3944 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"


class sipDOM_HTMLAnchorElement : public DOM::HTMLAnchorElement
{
public:
    sipDOM_HTMLAnchorElement();
    sipDOM_HTMLAnchorElement(const DOM::HTMLAnchorElement&);
    sipDOM_HTMLAnchorElement(const DOM::Node&);
    ~sipDOM_HTMLAnchorElement();

    /*
     * 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_HTMLAnchorElement(const sipDOM_HTMLAnchorElement &);
    sipDOM_HTMLAnchorElement &operator = (const sipDOM_HTMLAnchorElement &);
};

sipDOM_HTMLAnchorElement::sipDOM_HTMLAnchorElement(): DOM::HTMLAnchorElement(), sipPySelf(0)
{
}

sipDOM_HTMLAnchorElement::sipDOM_HTMLAnchorElement(const DOM::HTMLAnchorElement& a0): DOM::HTMLAnchorElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLAnchorElement::sipDOM_HTMLAnchorElement(const DOM::Node& a0): DOM::HTMLAnchorElement(a0), sipPySelf(0)
{
}

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

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


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_DOM_HTMLAnchorElement, &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_HTMLAnchorElement, sipName_assignOther, NULL);

    return NULL;
}


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

    {
        DOM::HTMLAnchorElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLAnchorElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAccessKey(*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_HTMLAnchorElement, sipName_setAccessKey, NULL);

    return NULL;
}


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

    {
        DOM::HTMLAnchorElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLAnchorElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCharset(*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_HTMLAnchorElement, sipName_setCharset, NULL);

    return NULL;
}


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

    {
        DOM::HTMLAnchorElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLAnchorElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCoords(*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_HTMLAnchorElement, sipName_setCoords, NULL);

    return NULL;
}


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

    {
        DOM::HTMLAnchorElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLAnchorElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHref(*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_HTMLAnchorElement, sipName_setHref, NULL);

    return NULL;
}


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

    {
        DOM::HTMLAnchorElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLAnchorElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHreflang(*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_HTMLAnchorElement, sipName_setHreflang, NULL);

    return NULL;
}


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

    {
        DOM::HTMLAnchorElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLAnchorElement, &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_HTMLAnchorElement, sipName_name, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLAnchorElement, &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_HTMLAnchorElement, sipName_setName, NULL);

    return NULL;
}


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

    {
        DOM::HTMLAnchorElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLAnchorElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRel(*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_HTMLAnchorElement, sipName_setRel, NULL);

    return NULL;
}


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

    {
        DOM::HTMLAnchorElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLAnchorElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRev(*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_HTMLAnchorElement, sipName_setRev, NULL);

    return NULL;
}


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

    {
        DOM::HTMLAnchorElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLAnchorElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShape(*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_HTMLAnchorElement, sipName_setShape, NULL);

    return NULL;
}


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

    {
        DOM::HTMLAnchorElement *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->tabIndex();
            Py_END_ALLOW_THREADS

            return PyLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLAnchorElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bl", &sipSelf, sipType_DOM_HTMLAnchorElement, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTabIndex(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_HTMLAnchorElement, sipName_setTabIndex, NULL);

    return NULL;
}


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

    {
        DOM::HTMLAnchorElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLAnchorElement, &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_HTMLAnchorElement, sipName_target, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLAnchorElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTarget(*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_HTMLAnchorElement, sipName_setTarget, NULL);

    return NULL;
}


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

    {
        DOM::HTMLAnchorElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLAnchorElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setType(*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_HTMLAnchorElement, sipName_setType, NULL);

    return NULL;
}


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

    {
        DOM::HTMLAnchorElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLAnchorElement, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->blur();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLAnchorElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLAnchorElement, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->focus();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLAnchorElement)
        return ptr;

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

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipDOM_HTMLAnchorElement *>(sipCppV);
    else
        delete reinterpret_cast<DOM::HTMLAnchorElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


extern "C" {static void dealloc_DOM_HTMLAnchorElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLAnchorElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipDOM_HTMLAnchorElement *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::HTMLAnchorElement * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_HTMLAnchorElement, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLAnchorElement(*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_HTMLAnchorElement(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_DOM_HTMLAnchorElement[] = {
    {SIP_MLNAME_CAST(sipName_accessKey), meth_DOM_HTMLAnchorElement_accessKey, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLAnchorElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_blur), meth_DOM_HTMLAnchorElement_blur, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_charset), meth_DOM_HTMLAnchorElement_charset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_coords), meth_DOM_HTMLAnchorElement_coords, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focus), meth_DOM_HTMLAnchorElement_focus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_href), meth_DOM_HTMLAnchorElement_href, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hreflang), meth_DOM_HTMLAnchorElement_hreflang, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_DOM_HTMLAnchorElement_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rel), meth_DOM_HTMLAnchorElement_rel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rev), meth_DOM_HTMLAnchorElement_rev, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAccessKey), meth_DOM_HTMLAnchorElement_setAccessKey, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCharset), meth_DOM_HTMLAnchorElement_setCharset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCoords), meth_DOM_HTMLAnchorElement_setCoords, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHref), meth_DOM_HTMLAnchorElement_setHref, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHreflang), meth_DOM_HTMLAnchorElement_setHreflang, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setName), meth_DOM_HTMLAnchorElement_setName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRel), meth_DOM_HTMLAnchorElement_setRel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRev), meth_DOM_HTMLAnchorElement_setRev, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShape), meth_DOM_HTMLAnchorElement_setShape, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTabIndex), meth_DOM_HTMLAnchorElement_setTabIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTarget), meth_DOM_HTMLAnchorElement_setTarget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setType), meth_DOM_HTMLAnchorElement_setType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shape), meth_DOM_HTMLAnchorElement_shape, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabIndex), meth_DOM_HTMLAnchorElement_tabIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_target), meth_DOM_HTMLAnchorElement_target, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_type), meth_DOM_HTMLAnchorElement_type, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_khtml_DOM_HTMLAnchorElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLAnchorElement,
        {0}
    },
    {
        sipNameNr_HTMLAnchorElement,
        {0, 255, 0},
        27, methods_DOM_HTMLAnchorElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLAnchorElement,
    0,
    init_DOM_HTMLAnchorElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLAnchorElement,
    assign_DOM_HTMLAnchorElement,
    array_DOM_HTMLAnchorElement,
    copy_DOM_HTMLAnchorElement,
    release_DOM_HTMLAnchorElement,
    cast_DOM_HTMLAnchorElement,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 114 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_image.sip"
#include <html_image.h>
#line 4924 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 4928 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 4931 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 4934 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 4937 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 4940 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 4943 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 4946 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 4949 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 4952 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 4955 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 4958 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 4961 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 4964 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"


class sipDOM_HTMLMapElement : public DOM::HTMLMapElement
{
public:
    sipDOM_HTMLMapElement();
    sipDOM_HTMLMapElement(const DOM::HTMLMapElement&);
    sipDOM_HTMLMapElement(const DOM::Node&);
    ~sipDOM_HTMLMapElement();

    /*
     * 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_HTMLMapElement(const sipDOM_HTMLMapElement &);
    sipDOM_HTMLMapElement &operator = (const sipDOM_HTMLMapElement &);
};

sipDOM_HTMLMapElement::sipDOM_HTMLMapElement(): DOM::HTMLMapElement(), sipPySelf(0)
{
}

sipDOM_HTMLMapElement::sipDOM_HTMLMapElement(const DOM::HTMLMapElement& a0): DOM::HTMLMapElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLMapElement::sipDOM_HTMLMapElement(const DOM::Node& a0): DOM::HTMLMapElement(a0), sipPySelf(0)
{
}

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

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


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_DOM_HTMLMapElement, &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_HTMLMapElement, sipName_assignOther, NULL);

    return NULL;
}


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

    {
        DOM::HTMLMapElement *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        DOM::HTMLMapElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLMapElement, &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_HTMLMapElement, sipName_name, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLMapElement, &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_HTMLMapElement, sipName_setName, NULL);

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLMapElement)
        return ptr;

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

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipDOM_HTMLMapElement *>(sipCppV);
    else
        delete reinterpret_cast<DOM::HTMLMapElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


extern "C" {static void dealloc_DOM_HTMLMapElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLMapElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipDOM_HTMLMapElement *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::HTMLMapElement * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_HTMLMapElement, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLMapElement(*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_HTMLMapElement(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_DOM_HTMLMapElement[] = {
    {SIP_MLNAME_CAST(sipName_areas), meth_DOM_HTMLMapElement_areas, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLMapElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_DOM_HTMLMapElement_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setName), meth_DOM_HTMLMapElement_setName, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_khtml_DOM_HTMLMapElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLMapElement,
        {0}
    },
    {
        sipNameNr_HTMLMapElement,
        {0, 255, 0},
        4, methods_DOM_HTMLMapElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLMapElement,
    0,
    init_DOM_HTMLMapElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLMapElement,
    assign_DOM_HTMLMapElement,
    array_DOM_HTMLMapElement,
    copy_DOM_HTMLMapElement,
    release_DOM_HTMLMapElement,
    cast_DOM_HTMLMapElement,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 65 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_image.sip"
#include <html_image.h>
#line 5302 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 5306 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 5309 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 5312 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 5315 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 5318 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 5321 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 5324 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 5327 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 5330 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 5333 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 5336 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 5339 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 5342 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"


class sipDOM_HTMLImageElement : public DOM::HTMLImageElement
{
public:
    sipDOM_HTMLImageElement();
    sipDOM_HTMLImageElement(const DOM::HTMLImageElement&);
    sipDOM_HTMLImageElement(const DOM::Node&);
    ~sipDOM_HTMLImageElement();

    /*
     * 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_HTMLImageElement(const sipDOM_HTMLImageElement &);
    sipDOM_HTMLImageElement &operator = (const sipDOM_HTMLImageElement &);
};

sipDOM_HTMLImageElement::sipDOM_HTMLImageElement(): DOM::HTMLImageElement(), sipPySelf(0)
{
}

sipDOM_HTMLImageElement::sipDOM_HTMLImageElement(const DOM::HTMLImageElement& a0): DOM::HTMLImageElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLImageElement::sipDOM_HTMLImageElement(const DOM::Node& a0): DOM::HTMLImageElement(a0), sipPySelf(0)
{
}

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

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


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_DOM_HTMLImageElement, &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_HTMLImageElement, sipName_assignOther, NULL);

    return NULL;
}


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

    {
        DOM::HTMLImageElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLImageElement, &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_HTMLImageElement, sipName_name, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLImageElement, &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_HTMLImageElement, sipName_setName, NULL);

    return NULL;
}


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

    {
        DOM::HTMLImageElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLImageElement, &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_HTMLImageElement, sipName_align, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLImageElement, &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_HTMLImageElement, sipName_setAlign, NULL);

    return NULL;
}


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

    {
        DOM::HTMLImageElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLImageElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAlt(*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_HTMLImageElement, sipName_setAlt, NULL);

    return NULL;
}


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

    {
        DOM::HTMLImageElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        long a0;
        DOM::HTMLImageElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bl", &sipSelf, sipType_DOM_HTMLImageElement, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setBorder(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_HTMLImageElement, sipName_setBorder, NULL);

    return NULL;
}


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

    {
        DOM::HTMLImageElement *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->border();
            Py_END_ALLOW_THREADS

            return PyLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLImageElement *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->height();
            Py_END_ALLOW_THREADS

            return PyLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLImageElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bl", &sipSelf, sipType_DOM_HTMLImageElement, &sipCpp, &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_HTMLImageElement, sipName_setHeight, NULL);

    return NULL;
}


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

    {
        DOM::HTMLImageElement *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hspace();
            Py_END_ALLOW_THREADS

            return PyLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLImageElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bl", &sipSelf, sipType_DOM_HTMLImageElement, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHspace(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_HTMLImageElement, sipName_setHspace, NULL);

    return NULL;
}


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

    {
        DOM::HTMLImageElement *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isMap();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLImageElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_DOM_HTMLImageElement, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIsMap(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_HTMLImageElement, sipName_setIsMap, NULL);

    return NULL;
}


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

    {
        DOM::HTMLImageElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLImageElement, &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_HTMLImageElement, sipName_longDesc, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLImageElement, &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_HTMLImageElement, sipName_setLongDesc, NULL);

    return NULL;
}


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

    {
        DOM::HTMLImageElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLImageElement, &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_HTMLImageElement, sipName_src, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLImageElement, &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_HTMLImageElement, sipName_setSrc, NULL);

    return NULL;
}


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

    {
        DOM::HTMLImageElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLImageElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUseMap(*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_HTMLImageElement, sipName_setUseMap, NULL);

    return NULL;
}


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

    {
        DOM::HTMLImageElement *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->vspace();
            Py_END_ALLOW_THREADS

            return PyLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLImageElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bl", &sipSelf, sipType_DOM_HTMLImageElement, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setVspace(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_HTMLImageElement, sipName_setVspace, NULL);

    return NULL;
}


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

    {
        DOM::HTMLImageElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLImageElement, &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_HTMLImageElement, sipName_width, NULL);

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLImageElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bl", &sipSelf, sipType_DOM_HTMLImageElement, &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_HTMLImageElement, sipName_setWidth, NULL);

    return NULL;
}


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

    {
        DOM::HTMLImageElement *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->x();
            Py_END_ALLOW_THREADS

            return PyLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLImageElement *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->y();
            Py_END_ALLOW_THREADS

            return PyLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLImageElement)
        return ptr;

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

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipDOM_HTMLImageElement *>(sipCppV);
    else
        delete reinterpret_cast<DOM::HTMLImageElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


extern "C" {static void dealloc_DOM_HTMLImageElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLImageElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipDOM_HTMLImageElement *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::HTMLImageElement * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_HTMLImageElement, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLImageElement(*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_HTMLImageElement(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_DOM_HTMLImageElement[] = {
    {SIP_MLNAME_CAST(sipName_align), meth_DOM_HTMLImageElement_align, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_alt), meth_DOM_HTMLImageElement_alt, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLImageElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_border), meth_DOM_HTMLImageElement_border, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getBorder), meth_DOM_HTMLImageElement_getBorder, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_height), meth_DOM_HTMLImageElement_height, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hspace), meth_DOM_HTMLImageElement_hspace, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isMap), meth_DOM_HTMLImageElement_isMap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_longDesc), meth_DOM_HTMLImageElement_longDesc, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_DOM_HTMLImageElement_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlign), meth_DOM_HTMLImageElement_setAlign, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlt), meth_DOM_HTMLImageElement_setAlt, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setBorder), meth_DOM_HTMLImageElement_setBorder, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHeight), meth_DOM_HTMLImageElement_setHeight, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHspace), meth_DOM_HTMLImageElement_setHspace, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIsMap), meth_DOM_HTMLImageElement_setIsMap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLongDesc), meth_DOM_HTMLImageElement_setLongDesc, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setName), meth_DOM_HTMLImageElement_setName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSrc), meth_DOM_HTMLImageElement_setSrc, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUseMap), meth_DOM_HTMLImageElement_setUseMap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setVspace), meth_DOM_HTMLImageElement_setVspace, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWidth), meth_DOM_HTMLImageElement_setWidth, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_src), meth_DOM_HTMLImageElement_src, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_useMap), meth_DOM_HTMLImageElement_useMap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_vspace), meth_DOM_HTMLImageElement_vspace, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_width), meth_DOM_HTMLImageElement_width, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_x), meth_DOM_HTMLImageElement_x, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_y), meth_DOM_HTMLImageElement_y, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_khtml_DOM_HTMLImageElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLImageElement,
        {0}
    },
    {
        sipNameNr_HTMLImageElement,
        {0, 255, 0},
        28, methods_DOM_HTMLImageElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLImageElement,
    0,
    init_DOM_HTMLImageElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLImageElement,
    assign_DOM_HTMLImageElement,
    array_DOM_HTMLImageElement,
    copy_DOM_HTMLImageElement,
    release_DOM_HTMLImageElement,
    cast_DOM_HTMLImageElement,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_image.sip"
#include <html_image.h>
#line 6367 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 6371 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 6374 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 6377 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 6380 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 6383 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 6386 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 6389 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 6392 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 6395 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 6398 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 6401 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 6404 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 6407 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"


class sipDOM_HTMLAreaElement : public DOM::HTMLAreaElement
{
public:
    sipDOM_HTMLAreaElement();
    sipDOM_HTMLAreaElement(const DOM::HTMLAreaElement&);
    sipDOM_HTMLAreaElement(const DOM::Node&);
    ~sipDOM_HTMLAreaElement();

    /*
     * 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_HTMLAreaElement(const sipDOM_HTMLAreaElement &);
    sipDOM_HTMLAreaElement &operator = (const sipDOM_HTMLAreaElement &);
};

sipDOM_HTMLAreaElement::sipDOM_HTMLAreaElement(): DOM::HTMLAreaElement(), sipPySelf(0)
{
}

sipDOM_HTMLAreaElement::sipDOM_HTMLAreaElement(const DOM::HTMLAreaElement& a0): DOM::HTMLAreaElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLAreaElement::sipDOM_HTMLAreaElement(const DOM::Node& a0): DOM::HTMLAreaElement(a0), sipPySelf(0)
{
}

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

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


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_DOM_HTMLAreaElement, &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_HTMLAreaElement, sipName_assignOther, NULL);

    return NULL;
}


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

    {
        DOM::HTMLAreaElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLAreaElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAccessKey(*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_HTMLAreaElement, sipName_setAccessKey, NULL);

    return NULL;
}


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

    {
        DOM::HTMLAreaElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLAreaElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAlt(*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_HTMLAreaElement, sipName_setAlt, NULL);

    return NULL;
}


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

    {
        DOM::HTMLAreaElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLAreaElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCoords(*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_HTMLAreaElement, sipName_setCoords, NULL);

    return NULL;
}


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

    {
        DOM::HTMLAreaElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLAreaElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHref(*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_HTMLAreaElement, sipName_setHref, NULL);

    return NULL;
}


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

    {
        DOM::HTMLAreaElement *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->noHref();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLAreaElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_DOM_HTMLAreaElement, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setNoHref(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_HTMLAreaElement, sipName_setNoHref, NULL);

    return NULL;
}


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

    {
        DOM::HTMLAreaElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLAreaElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShape(*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_HTMLAreaElement, sipName_setShape, NULL);

    return NULL;
}


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

    {
        DOM::HTMLAreaElement *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->tabIndex();
            Py_END_ALLOW_THREADS

            return PyLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLAreaElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bl", &sipSelf, sipType_DOM_HTMLAreaElement, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTabIndex(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_HTMLAreaElement, sipName_setTabIndex, NULL);

    return NULL;
}


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

    {
        DOM::HTMLAreaElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLAreaElement, &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_HTMLAreaElement, sipName_target, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLAreaElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTarget(*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_HTMLAreaElement, sipName_setTarget, NULL);

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLAreaElement)
        return ptr;

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

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipDOM_HTMLAreaElement *>(sipCppV);
    else
        delete reinterpret_cast<DOM::HTMLAreaElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


extern "C" {static void dealloc_DOM_HTMLAreaElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLAreaElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipDOM_HTMLAreaElement *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::HTMLAreaElement * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_HTMLAreaElement, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLAreaElement(*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_HTMLAreaElement(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_DOM_HTMLAreaElement[] = {
    {SIP_MLNAME_CAST(sipName_accessKey), meth_DOM_HTMLAreaElement_accessKey, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_alt), meth_DOM_HTMLAreaElement_alt, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLAreaElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_coords), meth_DOM_HTMLAreaElement_coords, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_href), meth_DOM_HTMLAreaElement_href, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_noHref), meth_DOM_HTMLAreaElement_noHref, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAccessKey), meth_DOM_HTMLAreaElement_setAccessKey, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlt), meth_DOM_HTMLAreaElement_setAlt, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCoords), meth_DOM_HTMLAreaElement_setCoords, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHref), meth_DOM_HTMLAreaElement_setHref, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setNoHref), meth_DOM_HTMLAreaElement_setNoHref, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShape), meth_DOM_HTMLAreaElement_setShape, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTabIndex), meth_DOM_HTMLAreaElement_setTabIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTarget), meth_DOM_HTMLAreaElement_setTarget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shape), meth_DOM_HTMLAreaElement_shape, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabIndex), meth_DOM_HTMLAreaElement_tabIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_target), meth_DOM_HTMLAreaElement_target, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_khtml_DOM_HTMLAreaElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLAreaElement,
        {0}
    },
    {
        sipNameNr_HTMLAreaElement,
        {0, 255, 0},
        17, methods_DOM_HTMLAreaElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLAreaElement,
    0,
    init_DOM_HTMLAreaElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLAreaElement,
    assign_DOM_HTMLAreaElement,
    array_DOM_HTMLAreaElement,
    copy_DOM_HTMLAreaElement,
    release_DOM_HTMLAreaElement,
    cast_DOM_HTMLAreaElement,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 185 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_head.sip"
#include <html_head.h>
#line 7109 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 7113 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 7116 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 7119 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 7122 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 7125 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 7128 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 7131 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 7134 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7137 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 7140 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 7143 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 7146 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 7149 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"


class sipDOM_HTMLTitleElement : public DOM::HTMLTitleElement
{
public:
    sipDOM_HTMLTitleElement();
    sipDOM_HTMLTitleElement(const DOM::HTMLTitleElement&);
    sipDOM_HTMLTitleElement(const DOM::Node&);
    ~sipDOM_HTMLTitleElement();

    /*
     * 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_HTMLTitleElement(const sipDOM_HTMLTitleElement &);
    sipDOM_HTMLTitleElement &operator = (const sipDOM_HTMLTitleElement &);
};

sipDOM_HTMLTitleElement::sipDOM_HTMLTitleElement(): DOM::HTMLTitleElement(), sipPySelf(0)
{
}

sipDOM_HTMLTitleElement::sipDOM_HTMLTitleElement(const DOM::HTMLTitleElement& a0): DOM::HTMLTitleElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLTitleElement::sipDOM_HTMLTitleElement(const DOM::Node& a0): DOM::HTMLTitleElement(a0), sipPySelf(0)
{
}

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

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


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_DOM_HTMLTitleElement, &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_HTMLTitleElement, sipName_assignOther, NULL);

    return NULL;
}


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

    {
        DOM::HTMLTitleElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLTitleElement, &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_HTMLTitleElement, sipName_text, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLTitleElement, &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_HTMLTitleElement, sipName_setText, NULL);

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLTitleElement)
        return ptr;

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

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipDOM_HTMLTitleElement *>(sipCppV);
    else
        delete reinterpret_cast<DOM::HTMLTitleElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


extern "C" {static void dealloc_DOM_HTMLTitleElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLTitleElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipDOM_HTMLTitleElement *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::HTMLTitleElement * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_HTMLTitleElement, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLTitleElement(*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_HTMLTitleElement(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_DOM_HTMLTitleElement[] = {
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLTitleElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setText), meth_DOM_HTMLTitleElement_setText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_text), meth_DOM_HTMLTitleElement_text, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_khtml_DOM_HTMLTitleElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLTitleElement,
        {0}
    },
    {
        sipNameNr_HTMLTitleElement,
        {0, 255, 0},
        3, methods_DOM_HTMLTitleElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLTitleElement,
    0,
    init_DOM_HTMLTitleElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLTitleElement,
    assign_DOM_HTMLTitleElement,
    array_DOM_HTMLTitleElement,
    copy_DOM_HTMLTitleElement,
    release_DOM_HTMLTitleElement,
    cast_DOM_HTMLTitleElement,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 157 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/html_head.sip"
#include <html_head.h>
#line 7459 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 7463 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 7466 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 7469 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 7472 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 7475 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 7478 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 7481 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 7484 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 7487 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7490 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 7493 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 7496 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 7499 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.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 7502 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/khtml/sipkhtmlpart1.cpp"


class sipDOM_HTMLStyleElement : public DOM::HTMLStyleElement
{
public:
    sipDOM_HTMLStyleElement();
    sipDOM_HTMLStyleElement(const DOM::HTMLStyleElement&);
    sipDOM_HTMLStyleElement(const DOM::Node&);
    ~sipDOM_HTMLStyleElement();

    /*
     * 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_HTMLStyleElement(const sipDOM_HTMLStyleElement &);
    sipDOM_HTMLStyleElement &operator = (const sipDOM_HTMLStyleElement &);
};

sipDOM_HTMLStyleElement::sipDOM_HTMLStyleElement(): DOM::HTMLStyleElement(), sipPySelf(0)
{
}

sipDOM_HTMLStyleElement::sipDOM_HTMLStyleElement(const DOM::HTMLStyleElement& a0): DOM::HTMLStyleElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLStyleElement::sipDOM_HTMLStyleElement(const DOM::Node& a0): DOM::HTMLStyleElement(a0), sipPySelf(0)
{
}

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

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


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_DOM_HTMLStyleElement, &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_HTMLStyleElement, sipName_assignOther, NULL);

    return NULL;
}


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

    {
        DOM::HTMLStyleElement *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->disabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLStyleElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_DOM_HTMLStyleElement, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDisabled(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_HTMLStyleElement, sipName_setDisabled, NULL);

    return NULL;
}


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

    {
        DOM::HTMLStyleElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLStyleElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMedia(*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_HTMLStyleElement, sipName_setMedia, NULL);

    return NULL;
}


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

    {
        DOM::HTMLStyleElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_DOM_HTMLStyleElement, &sipCpp, sipType_DOM_DOMString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setType(*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_HTMLStyleElement, sipName_setType, NULL);

    return NULL;
}


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

    {
        DOM::HTMLStyleElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_DOM_HTMLStyleElement, &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_HTMLStyleElement, sipName_sheet, NULL);

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLStyleElement)
        return ptr;

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

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipDOM_HTMLStyleElement *>(sipCppV);
    else
        delete reinterpret_cast<DOM::HTMLStyleElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


extern "C" {static void dealloc_DOM_HTMLStyleElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLStyleElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipDOM_HTMLStyleElement *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const DOM::HTMLStyleElement * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_DOM_HTMLStyleElement, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLStyleElement(*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_HTMLStyleElement(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_DOM_HTMLStyleElement[] = {
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLStyleElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disabled), meth_DOM_HTMLStyleElement_disabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_media), meth_DOM_HTMLStyleElement_media, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDisabled), meth_DOM_HTMLStyleElement_setDisabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMedia), meth_DOM_HTMLStyleElement_setMedia, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setType), meth_DOM_HTMLStyleElement_setType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sheet), meth_DOM_HTMLStyleElement_sheet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_type), meth_DOM_HTMLStyleElement_type, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_khtml_DOM_HTMLStyleElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLStyleElement,
        {0}
    },
    {
        sipNameNr_HTMLStyleElement,
        {0, 255, 0},
        8, methods_DOM_HTMLStyleElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLStyleElement,
    0,
    init_DOM_HTMLStyleElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLStyleElement,
    assign_DOM_HTMLStyleElement,
    array_DOM_HTMLStyleElement,
    copy_DOM_HTMLStyleElement,
    release_DOM_HTMLStyleElement,
    cast_DOM_HTMLStyleElement,
    0,
    0,
    0
},
    0,
    0,
    0
};
