/*
 * Module code.
 *
 * Generated by SIP 4.8.2 on Sun Oct 11 20:11:18 2009
 */

#include "sipAPIkhtml.h"

#line 139 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_list.sip"
#include <html_list.h>
#line 12 "sipkhtmlpart1.cpp"

#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 16 "sipkhtmlpart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 19 "sipkhtmlpart1.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 22 "sipkhtmlpart1.cpp"
#line 230 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 25 "sipkhtmlpart1.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/css_value.sip"
#include <css_value.h>
#line 28 "sipkhtmlpart1.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 31 "sipkhtmlpart1.cpp"
#line 141 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 34 "sipkhtmlpart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 37 "sipkhtmlpart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 40 "sipkhtmlpart1.cpp"
#line 42 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 43 "sipkhtmlpart1.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 46 "sipkhtmlpart1.cpp"
#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 49 "sipkhtmlpart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 52 "sipkhtmlpart1.cpp"


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

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

public:
    sipSimpleWrapper *sipPySelf;

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

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

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

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

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

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


extern "C" {static PyObject *meth_DOM_HTMLUListElement_assignOther(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLUListElement_assignOther(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9i",&sipSelf,sipType_DOM_HTMLUListElement,&sipCpp,sipType_DOM_Node,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_assignOther(*a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLUListElement_compact(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLUListElement_compact(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLUListElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLUListElement,sipName_compact);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLUListElement_setCompact(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLUListElement_setCompact(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        DOM::HTMLUListElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLUListElement,sipName_setCompact);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLUListElement_type(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLUListElement_type(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLUListElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLUListElement,sipName_type);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLUListElement_setType(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLUListElement_setType(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLUListElement,sipName_setType);

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

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

    Py_END_ALLOW_THREADS
}


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


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

    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLUListElement(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


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

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLUListElement();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const DOM::HTMLUListElement * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_HTMLUListElement,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLUListElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const DOM::Node * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_Node,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLUListElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


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


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

#line 114 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_list.sip"
#include <html_list.h>
#line 393 "sipkhtmlpart1.cpp"

#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 397 "sipkhtmlpart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 400 "sipkhtmlpart1.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 403 "sipkhtmlpart1.cpp"
#line 230 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 406 "sipkhtmlpart1.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/css_value.sip"
#include <css_value.h>
#line 409 "sipkhtmlpart1.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 412 "sipkhtmlpart1.cpp"
#line 141 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 415 "sipkhtmlpart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 418 "sipkhtmlpart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 421 "sipkhtmlpart1.cpp"
#line 42 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 424 "sipkhtmlpart1.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 427 "sipkhtmlpart1.cpp"
#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 430 "sipkhtmlpart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 433 "sipkhtmlpart1.cpp"


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

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

public:
    sipSimpleWrapper *sipPySelf;

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

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

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

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

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

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


extern "C" {static PyObject *meth_DOM_HTMLOListElement_assignOther(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLOListElement_assignOther(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9i",&sipSelf,sipType_DOM_HTMLOListElement,&sipCpp,sipType_DOM_Node,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_assignOther(*a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLOListElement_compact(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLOListElement_compact(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLOListElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLOListElement,sipName_compact);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLOListElement_setCompact(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLOListElement_setCompact(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        DOM::HTMLOListElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLOListElement,sipName_setCompact);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLOListElement_start(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLOListElement_start(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLOListElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLOListElement,sipName_start);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLOListElement_setStart(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLOListElement_setStart(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        long a0;
        DOM::HTMLOListElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLOListElement,sipName_setStart);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLOListElement_type(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLOListElement_type(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLOListElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLOListElement,sipName_type);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLOListElement_setType(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLOListElement_setType(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLOListElement,sipName_setType);

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

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

    Py_END_ALLOW_THREADS
}


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


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

    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLOListElement(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


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

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLOListElement();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const DOM::HTMLOListElement * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_HTMLOListElement,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLOListElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const DOM::Node * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_Node,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLOListElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


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


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

#line 93 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_list.sip"
#include <html_list.h>
#line 830 "sipkhtmlpart1.cpp"

#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 834 "sipkhtmlpart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 837 "sipkhtmlpart1.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 840 "sipkhtmlpart1.cpp"
#line 230 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 843 "sipkhtmlpart1.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/css_value.sip"
#include <css_value.h>
#line 846 "sipkhtmlpart1.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 849 "sipkhtmlpart1.cpp"
#line 141 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 852 "sipkhtmlpart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 855 "sipkhtmlpart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 858 "sipkhtmlpart1.cpp"
#line 42 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 861 "sipkhtmlpart1.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 864 "sipkhtmlpart1.cpp"
#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 867 "sipkhtmlpart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 870 "sipkhtmlpart1.cpp"


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

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

public:
    sipSimpleWrapper *sipPySelf;

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

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

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

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

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

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


extern "C" {static PyObject *meth_DOM_HTMLMenuElement_assignOther(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLMenuElement_assignOther(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9i",&sipSelf,sipType_DOM_HTMLMenuElement,&sipCpp,sipType_DOM_Node,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_assignOther(*a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLMenuElement_compact(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLMenuElement_compact(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLMenuElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLMenuElement,sipName_compact);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLMenuElement_setCompact(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLMenuElement_setCompact(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        DOM::HTMLMenuElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLMenuElement,sipName_setCompact);

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

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

    Py_END_ALLOW_THREADS
}


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


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

    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLMenuElement(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


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

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLMenuElement();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const DOM::HTMLMenuElement * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_HTMLMenuElement,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLMenuElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const DOM::Node * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_Node,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLMenuElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


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


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

#line 70 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_list.sip"
#include <html_list.h>
#line 1155 "sipkhtmlpart1.cpp"

#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1159 "sipkhtmlpart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 1162 "sipkhtmlpart1.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 1165 "sipkhtmlpart1.cpp"
#line 230 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 1168 "sipkhtmlpart1.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/css_value.sip"
#include <css_value.h>
#line 1171 "sipkhtmlpart1.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 1174 "sipkhtmlpart1.cpp"
#line 141 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1177 "sipkhtmlpart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 1180 "sipkhtmlpart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1183 "sipkhtmlpart1.cpp"
#line 42 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 1186 "sipkhtmlpart1.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 1189 "sipkhtmlpart1.cpp"
#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 1192 "sipkhtmlpart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1195 "sipkhtmlpart1.cpp"


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

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

public:
    sipSimpleWrapper *sipPySelf;

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

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

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

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

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

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


extern "C" {static PyObject *meth_DOM_HTMLLIElement_assignOther(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLLIElement_assignOther(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9i",&sipSelf,sipType_DOM_HTMLLIElement,&sipCpp,sipType_DOM_Node,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_assignOther(*a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLLIElement_type(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLLIElement_type(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLLIElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLLIElement,sipName_type);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLLIElement_setType(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLLIElement_setType(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLLIElement,sipName_setType);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLLIElement_value(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLLIElement_value(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLLIElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLLIElement,sipName_value);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLLIElement_setValue(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLLIElement_setValue(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        long a0;
        DOM::HTMLLIElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLLIElement,sipName_setValue);

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

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

    Py_END_ALLOW_THREADS
}


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


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

    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLLIElement(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


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

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLLIElement();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const DOM::HTMLLIElement * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_HTMLLIElement,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLLIElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const DOM::Node * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_Node,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLLIElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


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


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

#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_list.sip"
#include <html_list.h>
#line 1536 "sipkhtmlpart1.cpp"

#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1540 "sipkhtmlpart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 1543 "sipkhtmlpart1.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 1546 "sipkhtmlpart1.cpp"
#line 230 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 1549 "sipkhtmlpart1.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/css_value.sip"
#include <css_value.h>
#line 1552 "sipkhtmlpart1.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 1555 "sipkhtmlpart1.cpp"
#line 141 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1558 "sipkhtmlpart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 1561 "sipkhtmlpart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1564 "sipkhtmlpart1.cpp"
#line 42 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 1567 "sipkhtmlpart1.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 1570 "sipkhtmlpart1.cpp"
#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 1573 "sipkhtmlpart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1576 "sipkhtmlpart1.cpp"


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

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

public:
    sipSimpleWrapper *sipPySelf;

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

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

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

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

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

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


extern "C" {static PyObject *meth_DOM_HTMLDirectoryElement_assignOther(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLDirectoryElement_assignOther(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9i",&sipSelf,sipType_DOM_HTMLDirectoryElement,&sipCpp,sipType_DOM_Node,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_assignOther(*a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLDirectoryElement_compact(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLDirectoryElement_compact(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLDirectoryElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLDirectoryElement,sipName_compact);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLDirectoryElement_setCompact(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLDirectoryElement_setCompact(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        DOM::HTMLDirectoryElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLDirectoryElement,sipName_setCompact);

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

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

    Py_END_ALLOW_THREADS
}


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


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

    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLDirectoryElement(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


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

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLDirectoryElement();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const DOM::HTMLDirectoryElement * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_HTMLDirectoryElement,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLDirectoryElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const DOM::Node * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_Node,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLDirectoryElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


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


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

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_list.sip"
#include <html_list.h>
#line 1861 "sipkhtmlpart1.cpp"

#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1865 "sipkhtmlpart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 1868 "sipkhtmlpart1.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 1871 "sipkhtmlpart1.cpp"
#line 230 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 1874 "sipkhtmlpart1.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/css_value.sip"
#include <css_value.h>
#line 1877 "sipkhtmlpart1.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 1880 "sipkhtmlpart1.cpp"
#line 141 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1883 "sipkhtmlpart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 1886 "sipkhtmlpart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1889 "sipkhtmlpart1.cpp"
#line 42 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 1892 "sipkhtmlpart1.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 1895 "sipkhtmlpart1.cpp"
#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 1898 "sipkhtmlpart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1901 "sipkhtmlpart1.cpp"


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

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

public:
    sipSimpleWrapper *sipPySelf;

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

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

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

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

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

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


extern "C" {static PyObject *meth_DOM_HTMLDListElement_assignOther(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLDListElement_assignOther(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9i",&sipSelf,sipType_DOM_HTMLDListElement,&sipCpp,sipType_DOM_Node,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_assignOther(*a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLDListElement_compact(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLDListElement_compact(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLDListElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLDListElement,sipName_compact);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLDListElement_setCompact(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLDListElement_setCompact(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        DOM::HTMLDListElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLDListElement,sipName_setCompact);

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

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

    Py_END_ALLOW_THREADS
}


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


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

    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLDListElement(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


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

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLDListElement();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const DOM::HTMLDListElement * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_HTMLDListElement,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLDListElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const DOM::Node * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_Node,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLDListElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


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


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

#line 142 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_inline.sip"
#include <html_inline.h>
#line 2186 "sipkhtmlpart1.cpp"

#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2190 "sipkhtmlpart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 2193 "sipkhtmlpart1.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 2196 "sipkhtmlpart1.cpp"
#line 230 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 2199 "sipkhtmlpart1.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/css_value.sip"
#include <css_value.h>
#line 2202 "sipkhtmlpart1.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 2205 "sipkhtmlpart1.cpp"
#line 141 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2208 "sipkhtmlpart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 2211 "sipkhtmlpart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 2214 "sipkhtmlpart1.cpp"
#line 42 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 2217 "sipkhtmlpart1.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 2220 "sipkhtmlpart1.cpp"
#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 2223 "sipkhtmlpart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2226 "sipkhtmlpart1.cpp"


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

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

public:
    sipSimpleWrapper *sipPySelf;

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

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

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

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

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

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


extern "C" {static PyObject *meth_DOM_HTMLQuoteElement_assignOther(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLQuoteElement_assignOther(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9i",&sipSelf,sipType_DOM_HTMLQuoteElement,&sipCpp,sipType_DOM_Node,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_assignOther(*a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLQuoteElement_cite(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLQuoteElement_cite(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLQuoteElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLQuoteElement,sipName_cite);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLQuoteElement_setCite(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLQuoteElement_setCite(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLQuoteElement,sipName_setCite);

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

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

    Py_END_ALLOW_THREADS
}


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


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

    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLQuoteElement(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


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

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLQuoteElement();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const DOM::HTMLQuoteElement * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_HTMLQuoteElement,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLQuoteElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const DOM::Node * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_Node,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLQuoteElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


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


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

#line 119 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_inline.sip"
#include <html_inline.h>
#line 2511 "sipkhtmlpart1.cpp"

#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2515 "sipkhtmlpart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 2518 "sipkhtmlpart1.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 2521 "sipkhtmlpart1.cpp"
#line 230 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 2524 "sipkhtmlpart1.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/css_value.sip"
#include <css_value.h>
#line 2527 "sipkhtmlpart1.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 2530 "sipkhtmlpart1.cpp"
#line 141 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2533 "sipkhtmlpart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 2536 "sipkhtmlpart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 2539 "sipkhtmlpart1.cpp"
#line 42 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 2542 "sipkhtmlpart1.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 2545 "sipkhtmlpart1.cpp"
#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 2548 "sipkhtmlpart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2551 "sipkhtmlpart1.cpp"


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

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

public:
    sipSimpleWrapper *sipPySelf;

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

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

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

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

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

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


extern "C" {static PyObject *meth_DOM_HTMLModElement_assignOther(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLModElement_assignOther(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9i",&sipSelf,sipType_DOM_HTMLModElement,&sipCpp,sipType_DOM_Node,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_assignOther(*a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLModElement_cite(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLModElement_cite(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLModElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLModElement,sipName_cite);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLModElement_setCite(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLModElement_setCite(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLModElement,sipName_setCite);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLModElement_dateTime(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLModElement_dateTime(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLModElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLModElement,sipName_dateTime);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLModElement_setDateTime(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLModElement_setDateTime(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLModElement,sipName_setDateTime);

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

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

    Py_END_ALLOW_THREADS
}


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


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

    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLModElement(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


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

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLModElement();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const DOM::HTMLModElement * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_HTMLModElement,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLModElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const DOM::Node * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_Node,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLModElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


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


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

#line 94 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_inline.sip"
#include <html_inline.h>
#line 2892 "sipkhtmlpart1.cpp"

#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2896 "sipkhtmlpart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 2899 "sipkhtmlpart1.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 2902 "sipkhtmlpart1.cpp"
#line 230 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 2905 "sipkhtmlpart1.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/css_value.sip"
#include <css_value.h>
#line 2908 "sipkhtmlpart1.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 2911 "sipkhtmlpart1.cpp"
#line 141 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2914 "sipkhtmlpart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 2917 "sipkhtmlpart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 2920 "sipkhtmlpart1.cpp"
#line 42 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 2923 "sipkhtmlpart1.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 2926 "sipkhtmlpart1.cpp"
#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 2929 "sipkhtmlpart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2932 "sipkhtmlpart1.cpp"


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

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

public:
    sipSimpleWrapper *sipPySelf;

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

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

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

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

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

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


extern "C" {static PyObject *meth_DOM_HTMLFontElement_assignOther(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLFontElement_assignOther(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9i",&sipSelf,sipType_DOM_HTMLFontElement,&sipCpp,sipType_DOM_Node,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_assignOther(*a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLFontElement_color(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLFontElement_color(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLFontElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLFontElement,sipName_color);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLFontElement_setColor(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLFontElement_setColor(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLFontElement,sipName_setColor);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLFontElement_face(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLFontElement_face(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLFontElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLFontElement,sipName_face);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLFontElement_setFace(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLFontElement_setFace(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLFontElement,sipName_setFace);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLFontElement_size(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLFontElement_size(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLFontElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLFontElement,sipName_size);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLFontElement_setSize(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLFontElement_setSize(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLFontElement,sipName_setSize);

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

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

    Py_END_ALLOW_THREADS
}


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


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

    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLFontElement(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


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

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLFontElement();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const DOM::HTMLFontElement * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_HTMLFontElement,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLFontElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const DOM::Node * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_Node,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLFontElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


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


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

#line 73 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_inline.sip"
#include <html_inline.h>
#line 3329 "sipkhtmlpart1.cpp"

#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 3333 "sipkhtmlpart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 3336 "sipkhtmlpart1.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 3339 "sipkhtmlpart1.cpp"
#line 230 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 3342 "sipkhtmlpart1.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/css_value.sip"
#include <css_value.h>
#line 3345 "sipkhtmlpart1.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 3348 "sipkhtmlpart1.cpp"
#line 141 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 3351 "sipkhtmlpart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 3354 "sipkhtmlpart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 3357 "sipkhtmlpart1.cpp"
#line 42 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 3360 "sipkhtmlpart1.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 3363 "sipkhtmlpart1.cpp"
#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 3366 "sipkhtmlpart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 3369 "sipkhtmlpart1.cpp"


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

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

public:
    sipSimpleWrapper *sipPySelf;

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

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

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

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

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

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


extern "C" {static PyObject *meth_DOM_HTMLBRElement_assignOther(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLBRElement_assignOther(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9i",&sipSelf,sipType_DOM_HTMLBRElement,&sipCpp,sipType_DOM_Node,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_assignOther(*a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLBRElement_clear(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLBRElement_clear(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLBRElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLBRElement,sipName_clear);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLBRElement_setClear(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLBRElement_setClear(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLBRElement,sipName_setClear);

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

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

    Py_END_ALLOW_THREADS
}


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


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

    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLBRElement(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


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

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLBRElement();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const DOM::HTMLBRElement * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_HTMLBRElement,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLBRElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const DOM::Node * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_Node,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLBRElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


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


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

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_inline.sip"
#include <html_inline.h>
#line 3654 "sipkhtmlpart1.cpp"

#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 3658 "sipkhtmlpart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 3661 "sipkhtmlpart1.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 3664 "sipkhtmlpart1.cpp"
#line 230 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 3667 "sipkhtmlpart1.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/css_value.sip"
#include <css_value.h>
#line 3670 "sipkhtmlpart1.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 3673 "sipkhtmlpart1.cpp"
#line 141 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 3676 "sipkhtmlpart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 3679 "sipkhtmlpart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 3682 "sipkhtmlpart1.cpp"
#line 42 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 3685 "sipkhtmlpart1.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 3688 "sipkhtmlpart1.cpp"
#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 3691 "sipkhtmlpart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 3694 "sipkhtmlpart1.cpp"


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

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

public:
    sipSimpleWrapper *sipPySelf;

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

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

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

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

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

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


extern "C" {static PyObject *meth_DOM_HTMLAnchorElement_assignOther(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAnchorElement_assignOther(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9i",&sipSelf,sipType_DOM_HTMLAnchorElement,&sipCpp,sipType_DOM_Node,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_assignOther(*a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAnchorElement_accessKey(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAnchorElement_accessKey(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLAnchorElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAnchorElement,sipName_accessKey);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAnchorElement_setAccessKey(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAnchorElement_setAccessKey(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAnchorElement,sipName_setAccessKey);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAnchorElement_charset(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAnchorElement_charset(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLAnchorElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAnchorElement,sipName_charset);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAnchorElement_setCharset(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAnchorElement_setCharset(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAnchorElement,sipName_setCharset);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAnchorElement_coords(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAnchorElement_coords(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLAnchorElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAnchorElement,sipName_coords);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAnchorElement_setCoords(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAnchorElement_setCoords(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAnchorElement,sipName_setCoords);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAnchorElement_href(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAnchorElement_href(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLAnchorElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAnchorElement,sipName_href);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAnchorElement_setHref(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAnchorElement_setHref(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAnchorElement,sipName_setHref);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAnchorElement_hreflang(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAnchorElement_hreflang(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLAnchorElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAnchorElement,sipName_hreflang);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAnchorElement_setHreflang(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAnchorElement_setHreflang(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAnchorElement,sipName_setHreflang);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAnchorElement_name(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAnchorElement_name(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLAnchorElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAnchorElement,sipName_name);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAnchorElement_setName(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAnchorElement_setName(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAnchorElement,sipName_setName);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAnchorElement_rel(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAnchorElement_rel(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLAnchorElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAnchorElement,sipName_rel);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAnchorElement_setRel(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAnchorElement_setRel(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAnchorElement,sipName_setRel);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAnchorElement_rev(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAnchorElement_rev(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLAnchorElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAnchorElement,sipName_rev);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAnchorElement_setRev(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAnchorElement_setRev(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAnchorElement,sipName_setRev);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAnchorElement_shape(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAnchorElement_shape(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLAnchorElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAnchorElement,sipName_shape);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAnchorElement_setShape(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAnchorElement_setShape(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAnchorElement,sipName_setShape);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAnchorElement_tabIndex(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAnchorElement_tabIndex(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLAnchorElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAnchorElement,sipName_tabIndex);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAnchorElement_setTabIndex(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAnchorElement_setTabIndex(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        long a0;
        DOM::HTMLAnchorElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAnchorElement,sipName_setTabIndex);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAnchorElement_target(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAnchorElement_target(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLAnchorElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAnchorElement,sipName_target);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAnchorElement_setTarget(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAnchorElement_setTarget(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAnchorElement,sipName_setTarget);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAnchorElement_type(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAnchorElement_type(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLAnchorElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAnchorElement,sipName_type);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAnchorElement_setType(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAnchorElement_setType(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAnchorElement,sipName_setType);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAnchorElement_blur(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAnchorElement_blur(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLAnchorElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAnchorElement,sipName_blur);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAnchorElement_focus(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAnchorElement_focus(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLAnchorElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAnchorElement,sipName_focus);

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

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

    Py_END_ALLOW_THREADS
}


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


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

    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLAnchorElement(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


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

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLAnchorElement();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const DOM::HTMLAnchorElement * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_HTMLAnchorElement,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLAnchorElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const DOM::Node * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_Node,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLAnchorElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


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


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

#line 110 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_image.sip"
#include <html_image.h>
#line 4649 "sipkhtmlpart1.cpp"

#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 4653 "sipkhtmlpart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 4656 "sipkhtmlpart1.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 4659 "sipkhtmlpart1.cpp"
#line 230 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 4662 "sipkhtmlpart1.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/css_value.sip"
#include <css_value.h>
#line 4665 "sipkhtmlpart1.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 4668 "sipkhtmlpart1.cpp"
#line 141 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 4671 "sipkhtmlpart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 4674 "sipkhtmlpart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 4677 "sipkhtmlpart1.cpp"
#line 42 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 4680 "sipkhtmlpart1.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 4683 "sipkhtmlpart1.cpp"
#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 4686 "sipkhtmlpart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 4689 "sipkhtmlpart1.cpp"


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

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

public:
    sipSimpleWrapper *sipPySelf;

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

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

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

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

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

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


extern "C" {static PyObject *meth_DOM_HTMLMapElement_assignOther(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLMapElement_assignOther(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9i",&sipSelf,sipType_DOM_HTMLMapElement,&sipCpp,sipType_DOM_Node,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_assignOther(*a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLMapElement_areas(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLMapElement_areas(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLMapElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLMapElement,sipName_areas);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLMapElement_name(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLMapElement_name(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLMapElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLMapElement,sipName_name);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLMapElement_setName(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLMapElement_setName(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLMapElement,sipName_setName);

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

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

    Py_END_ALLOW_THREADS
}


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


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

    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLMapElement(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


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

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLMapElement();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const DOM::HTMLMapElement * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_HTMLMapElement,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLMapElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const DOM::Node * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_Node,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLMapElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


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


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

#line 63 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_image.sip"
#include <html_image.h>
#line 5002 "sipkhtmlpart1.cpp"

#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 5006 "sipkhtmlpart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 5009 "sipkhtmlpart1.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 5012 "sipkhtmlpart1.cpp"
#line 230 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 5015 "sipkhtmlpart1.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/css_value.sip"
#include <css_value.h>
#line 5018 "sipkhtmlpart1.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 5021 "sipkhtmlpart1.cpp"
#line 141 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 5024 "sipkhtmlpart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 5027 "sipkhtmlpart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 5030 "sipkhtmlpart1.cpp"
#line 42 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 5033 "sipkhtmlpart1.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 5036 "sipkhtmlpart1.cpp"
#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 5039 "sipkhtmlpart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 5042 "sipkhtmlpart1.cpp"


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

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

public:
    sipSimpleWrapper *sipPySelf;

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

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

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

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

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

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


extern "C" {static PyObject *meth_DOM_HTMLImageElement_assignOther(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLImageElement_assignOther(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9i",&sipSelf,sipType_DOM_HTMLImageElement,&sipCpp,sipType_DOM_Node,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_assignOther(*a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLImageElement_name(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLImageElement_name(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLImageElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLImageElement,sipName_name);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLImageElement_setName(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLImageElement_setName(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLImageElement,sipName_setName);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLImageElement_align(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLImageElement_align(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLImageElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLImageElement,sipName_align);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLImageElement_setAlign(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLImageElement_setAlign(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLImageElement,sipName_setAlign);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLImageElement_alt(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLImageElement_alt(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLImageElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLImageElement,sipName_alt);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLImageElement_setAlt(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLImageElement_setAlt(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLImageElement,sipName_setAlt);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLImageElement_getBorder(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLImageElement_getBorder(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLImageElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLImageElement,sipName_getBorder);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLImageElement_setBorder(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLImageElement_setBorder(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLImageElement,sipName_setBorder);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLImageElement_border(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLImageElement_border(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLImageElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLImageElement,sipName_border);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLImageElement_height(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLImageElement_height(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLImageElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLImageElement,sipName_height);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLImageElement_setHeight(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLImageElement_setHeight(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        long a0;
        DOM::HTMLImageElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLImageElement,sipName_setHeight);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLImageElement_hspace(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLImageElement_hspace(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLImageElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLImageElement,sipName_hspace);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLImageElement_setHspace(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLImageElement_setHspace(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        long a0;
        DOM::HTMLImageElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLImageElement,sipName_setHspace);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLImageElement_isMap(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLImageElement_isMap(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLImageElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLImageElement,sipName_isMap);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLImageElement_setIsMap(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLImageElement_setIsMap(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        DOM::HTMLImageElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLImageElement,sipName_setIsMap);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLImageElement_longDesc(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLImageElement_longDesc(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLImageElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLImageElement,sipName_longDesc);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLImageElement_setLongDesc(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLImageElement_setLongDesc(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLImageElement,sipName_setLongDesc);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLImageElement_src(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLImageElement_src(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLImageElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLImageElement,sipName_src);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLImageElement_setSrc(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLImageElement_setSrc(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLImageElement,sipName_setSrc);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLImageElement_useMap(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLImageElement_useMap(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLImageElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLImageElement,sipName_useMap);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLImageElement_setUseMap(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLImageElement_setUseMap(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLImageElement,sipName_setUseMap);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLImageElement_vspace(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLImageElement_vspace(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLImageElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLImageElement,sipName_vspace);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLImageElement_setVspace(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLImageElement_setVspace(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        long a0;
        DOM::HTMLImageElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLImageElement,sipName_setVspace);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLImageElement_width(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLImageElement_width(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLImageElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLImageElement,sipName_width);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLImageElement_setWidth(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLImageElement_setWidth(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        long a0;
        DOM::HTMLImageElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLImageElement,sipName_setWidth);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLImageElement_x(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLImageElement_x(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLImageElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLImageElement,sipName_x);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLImageElement_y(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLImageElement_y(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLImageElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLImageElement,sipName_y);

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

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

    Py_END_ALLOW_THREADS
}


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


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

    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLImageElement(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


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

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLImageElement();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const DOM::HTMLImageElement * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_HTMLImageElement,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLImageElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const DOM::Node * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_Node,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLImageElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


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


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

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_image.sip"
#include <html_image.h>
#line 6042 "sipkhtmlpart1.cpp"

#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 6046 "sipkhtmlpart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 6049 "sipkhtmlpart1.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 6052 "sipkhtmlpart1.cpp"
#line 230 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 6055 "sipkhtmlpart1.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/css_value.sip"
#include <css_value.h>
#line 6058 "sipkhtmlpart1.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 6061 "sipkhtmlpart1.cpp"
#line 141 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 6064 "sipkhtmlpart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 6067 "sipkhtmlpart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 6070 "sipkhtmlpart1.cpp"
#line 42 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 6073 "sipkhtmlpart1.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 6076 "sipkhtmlpart1.cpp"
#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 6079 "sipkhtmlpart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 6082 "sipkhtmlpart1.cpp"


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

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

public:
    sipSimpleWrapper *sipPySelf;

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

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

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

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

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

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


extern "C" {static PyObject *meth_DOM_HTMLAreaElement_assignOther(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAreaElement_assignOther(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9i",&sipSelf,sipType_DOM_HTMLAreaElement,&sipCpp,sipType_DOM_Node,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_assignOther(*a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAreaElement_accessKey(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAreaElement_accessKey(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLAreaElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAreaElement,sipName_accessKey);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAreaElement_setAccessKey(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAreaElement_setAccessKey(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAreaElement,sipName_setAccessKey);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAreaElement_alt(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAreaElement_alt(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLAreaElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAreaElement,sipName_alt);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAreaElement_setAlt(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAreaElement_setAlt(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAreaElement,sipName_setAlt);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAreaElement_coords(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAreaElement_coords(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLAreaElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAreaElement,sipName_coords);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAreaElement_setCoords(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAreaElement_setCoords(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAreaElement,sipName_setCoords);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAreaElement_href(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAreaElement_href(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLAreaElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAreaElement,sipName_href);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAreaElement_setHref(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAreaElement_setHref(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAreaElement,sipName_setHref);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAreaElement_noHref(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAreaElement_noHref(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLAreaElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAreaElement,sipName_noHref);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAreaElement_setNoHref(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAreaElement_setNoHref(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        DOM::HTMLAreaElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAreaElement,sipName_setNoHref);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAreaElement_shape(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAreaElement_shape(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLAreaElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAreaElement,sipName_shape);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAreaElement_setShape(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAreaElement_setShape(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAreaElement,sipName_setShape);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAreaElement_tabIndex(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAreaElement_tabIndex(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLAreaElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAreaElement,sipName_tabIndex);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAreaElement_setTabIndex(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAreaElement_setTabIndex(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        long a0;
        DOM::HTMLAreaElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAreaElement,sipName_setTabIndex);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAreaElement_target(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAreaElement_target(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLAreaElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAreaElement,sipName_target);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLAreaElement_setTarget(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLAreaElement_setTarget(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLAreaElement,sipName_setTarget);

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

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

    Py_END_ALLOW_THREADS
}


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


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

    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLAreaElement(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


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

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLAreaElement();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const DOM::HTMLAreaElement * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_HTMLAreaElement,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLAreaElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const DOM::Node * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_Node,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLAreaElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


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


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

#line 175 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_head.sip"
#include <html_head.h>
#line 6759 "sipkhtmlpart1.cpp"

#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 6763 "sipkhtmlpart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 6766 "sipkhtmlpart1.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 6769 "sipkhtmlpart1.cpp"
#line 230 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 6772 "sipkhtmlpart1.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/css_value.sip"
#include <css_value.h>
#line 6775 "sipkhtmlpart1.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 6778 "sipkhtmlpart1.cpp"
#line 141 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 6781 "sipkhtmlpart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 6784 "sipkhtmlpart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 6787 "sipkhtmlpart1.cpp"
#line 42 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 6790 "sipkhtmlpart1.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 6793 "sipkhtmlpart1.cpp"
#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 6796 "sipkhtmlpart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 6799 "sipkhtmlpart1.cpp"


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

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

public:
    sipSimpleWrapper *sipPySelf;

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

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

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

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

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

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


extern "C" {static PyObject *meth_DOM_HTMLTitleElement_assignOther(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLTitleElement_assignOther(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9i",&sipSelf,sipType_DOM_HTMLTitleElement,&sipCpp,sipType_DOM_Node,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_assignOther(*a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLTitleElement_text(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLTitleElement_text(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLTitleElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLTitleElement,sipName_text);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLTitleElement_setText(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLTitleElement_setText(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLTitleElement,sipName_setText);

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

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

    Py_END_ALLOW_THREADS
}


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


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

    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLTitleElement(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


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

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLTitleElement();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const DOM::HTMLTitleElement * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_HTMLTitleElement,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLTitleElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const DOM::Node * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_Node,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLTitleElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


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


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

#line 149 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_head.sip"
#include <html_head.h>
#line 7084 "sipkhtmlpart1.cpp"

#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 7088 "sipkhtmlpart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/css_stylesheet.sip"
#include <css_stylesheet.h>
#line 7091 "sipkhtmlpart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 7094 "sipkhtmlpart1.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 7097 "sipkhtmlpart1.cpp"
#line 230 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 7100 "sipkhtmlpart1.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/css_value.sip"
#include <css_value.h>
#line 7103 "sipkhtmlpart1.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 7106 "sipkhtmlpart1.cpp"
#line 141 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 7109 "sipkhtmlpart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 7112 "sipkhtmlpart1.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7115 "sipkhtmlpart1.cpp"
#line 42 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 7118 "sipkhtmlpart1.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 7121 "sipkhtmlpart1.cpp"
#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 7124 "sipkhtmlpart1.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 7127 "sipkhtmlpart1.cpp"


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

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

public:
    sipSimpleWrapper *sipPySelf;

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

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

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

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

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

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


extern "C" {static PyObject *meth_DOM_HTMLStyleElement_assignOther(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLStyleElement_assignOther(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9i",&sipSelf,sipType_DOM_HTMLStyleElement,&sipCpp,sipType_DOM_Node,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_assignOther(*a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLStyleElement_disabled(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLStyleElement_disabled(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLStyleElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLStyleElement,sipName_disabled);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLStyleElement_setDisabled(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLStyleElement_setDisabled(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        DOM::HTMLStyleElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLStyleElement,sipName_setDisabled);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLStyleElement_media(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLStyleElement_media(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLStyleElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLStyleElement,sipName_media);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLStyleElement_setMedia(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLStyleElement_setMedia(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLStyleElement,sipName_setMedia);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLStyleElement_type(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLStyleElement_type(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLStyleElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLStyleElement,sipName_type);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLStyleElement_setType(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLStyleElement_setType(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLStyleElement,sipName_setType);

    return NULL;
}


extern "C" {static PyObject *meth_DOM_HTMLStyleElement_sheet(PyObject *, PyObject *);}
static PyObject *meth_DOM_HTMLStyleElement_sheet(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        DOM::HTMLStyleElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_HTMLStyleElement,sipName_sheet);

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

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

    Py_END_ALLOW_THREADS
}


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


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

    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLStyleElement(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


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

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLStyleElement();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const DOM::HTMLStyleElement * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_HTMLStyleElement,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLStyleElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const DOM::Node * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_Node,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLStyleElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


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


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