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

#include "sipAPIkhtml.h"

#line 149 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/html_list.sip"
#include <html_list.h>
#line 12 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"

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


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

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

    {
        const 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)
{
    Py_BEGIN_ALLOW_THREADS

    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 (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLUListElement(sipGetAddress(sipSelf),0);
    }
}


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

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLUListElement* a0;

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

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

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

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

#line 122 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/html_list.sip"
#include <html_list.h>
#line 335 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 339 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 342 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 345 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 348 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 351 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 354 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 357 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 360 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 363 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 366 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 369 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 372 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 375 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"


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

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

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

    {
        const 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)
{
    Py_BEGIN_ALLOW_THREADS

    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 (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLOListElement(sipGetAddress(sipSelf),0);
    }
}


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

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLOListElement* a0;

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

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

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

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

#line 99 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/html_list.sip"
#include <html_list.h>
#line 714 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 718 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 721 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 724 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 727 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 730 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 733 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 736 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 739 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 742 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 745 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 748 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 751 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 754 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"


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

    {
        const 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)
{
    Py_BEGIN_ALLOW_THREADS

    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 (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLMenuElement(sipGetAddress(sipSelf),0);
    }
}


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

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLMenuElement* a0;

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

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

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

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

#line 74 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/html_list.sip"
#include <html_list.h>
#line 981 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 985 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 988 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 991 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 994 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 997 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 1000 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 1003 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 1006 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 1009 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 1012 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 1015 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 1018 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1021 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"


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

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

    {
        const 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)
{
    Py_BEGIN_ALLOW_THREADS

    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 (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLLIElement(sipGetAddress(sipSelf),0);
    }
}


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

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLLIElement* a0;

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

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

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

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

#line 51 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/html_list.sip"
#include <html_list.h>
#line 1304 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1308 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 1311 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 1314 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1317 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 1320 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 1323 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 1326 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 1329 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 1332 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 1335 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 1338 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 1341 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1344 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"


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

    {
        const 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)
{
    Py_BEGIN_ALLOW_THREADS

    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 (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLDirectoryElement(sipGetAddress(sipSelf),0);
    }
}


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

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLDirectoryElement* a0;

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

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

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

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

#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/html_list.sip"
#include <html_list.h>
#line 1571 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1575 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 1578 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 1581 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1584 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 1587 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 1590 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 1593 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 1596 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 1599 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 1602 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 1605 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 1608 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1611 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"


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

    {
        const 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)
{
    Py_BEGIN_ALLOW_THREADS

    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 (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLDListElement(sipGetAddress(sipSelf),0);
    }
}


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

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLDListElement* a0;

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

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

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

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

#line 150 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/html_inline.sip"
#include <html_inline.h>
#line 1838 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1842 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 1845 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 1848 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1851 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 1854 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 1857 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 1860 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 1863 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 1866 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 1869 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 1872 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 1875 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1878 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"


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

    {
        const 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)
{
    Py_BEGIN_ALLOW_THREADS

    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 (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLQuoteElement(sipGetAddress(sipSelf),0);
    }
}


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

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLQuoteElement* a0;

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

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

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

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

#line 125 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/html_inline.sip"
#include <html_inline.h>
#line 2105 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2109 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 2112 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 2115 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2118 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 2121 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 2124 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 2127 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 2130 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 2133 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 2136 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 2139 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 2142 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2145 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"


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

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

    {
        const 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)
{
    Py_BEGIN_ALLOW_THREADS

    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 (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLModElement(sipGetAddress(sipSelf),0);
    }
}


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

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLModElement* a0;

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

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

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

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

#line 98 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/html_inline.sip"
#include <html_inline.h>
#line 2428 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2432 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 2435 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 2438 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2441 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 2444 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 2447 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 2450 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 2453 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 2456 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 2459 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 2462 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 2465 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2468 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"


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

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

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

    {
        const 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)
{
    Py_BEGIN_ALLOW_THREADS

    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 (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLFontElement(sipGetAddress(sipSelf),0);
    }
}


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

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLFontElement* a0;

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

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

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

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

#line 75 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/html_inline.sip"
#include <html_inline.h>
#line 2807 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2811 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 2814 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 2817 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2820 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 2823 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 2826 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 2829 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 2832 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 2835 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 2838 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 2841 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 2844 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2847 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"


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

    {
        const 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)
{
    Py_BEGIN_ALLOW_THREADS

    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 (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLBRElement(sipGetAddress(sipSelf),0);
    }
}


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

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLBRElement* a0;

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

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

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

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

#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/html_inline.sip"
#include <html_inline.h>
#line 3074 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 3078 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 3081 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 3084 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 3087 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 3090 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 3093 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 3096 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 3099 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 3102 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 3105 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 3108 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 3111 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 3114 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"


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

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

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

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

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

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

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

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

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

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

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

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

    {
        const 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)
{
    Py_BEGIN_ALLOW_THREADS

    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 (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLAnchorElement(sipGetAddress(sipSelf),0);
    }
}


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

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLAnchorElement* a0;

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

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

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

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

#line 114 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/html_image.sip"
#include <html_image.h>
#line 4011 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 4015 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 4018 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 4021 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 4024 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 4027 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 4030 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 4033 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 4036 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 4039 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 4042 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 4045 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 4048 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 4051 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"


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

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

    {
        const 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)
{
    Py_BEGIN_ALLOW_THREADS

    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 (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLMapElement(sipGetAddress(sipSelf),0);
    }
}


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

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLMapElement* a0;

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

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

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

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

#line 65 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/html_image.sip"
#include <html_image.h>
#line 4306 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 4310 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 4313 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 4316 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 4319 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 4322 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 4325 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 4328 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 4331 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 4334 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 4337 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 4340 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 4343 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 4346 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    {
        const 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)
{
    Py_BEGIN_ALLOW_THREADS

    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 (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLImageElement(sipGetAddress(sipSelf),0);
    }
}


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

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLImageElement* a0;

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

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

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

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

#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/html_image.sip"
#include <html_image.h>
#line 5288 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 5292 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 5295 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 5298 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 5301 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 5304 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 5307 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 5310 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 5313 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 5316 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 5319 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 5322 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 5325 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 5328 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"


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

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

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

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

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

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

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

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

    {
        const 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)
{
    Py_BEGIN_ALLOW_THREADS

    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 (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLAreaElement(sipGetAddress(sipSelf),0);
    }
}


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

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLAreaElement* a0;

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

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

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

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

#line 185 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/html_head.sip"
#include <html_head.h>
#line 5947 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 5951 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 5954 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 5957 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 5960 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 5963 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 5966 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 5969 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 5972 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 5975 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 5978 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 5981 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 5984 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 5987 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"


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

    {
        const 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)
{
    Py_BEGIN_ALLOW_THREADS

    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 (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLTitleElement(sipGetAddress(sipSelf),0);
    }
}


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

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLTitleElement* a0;

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

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

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

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

#line 157 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/html_head.sip"
#include <html_head.h>
#line 6214 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 6218 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/css_stylesheet.sip"
#include <css_stylesheet.h>
#line 6221 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 6224 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 6227 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 6230 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 6233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 6236 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 6239 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 6242 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 6245 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 6248 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 6251 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 6254 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 6257 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/khtml/sipkhtmlpart1.cpp"


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

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

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

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

    {
        const 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)
{
    Py_BEGIN_ALLOW_THREADS

    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 (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLStyleElement(sipGetAddress(sipSelf),0);
    }
}


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

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLStyleElement* a0;

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

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

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

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