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

#include "sipAPIkhtml.h"

#line 116 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_head.sip"
#include <html_head.h>
#line 12 "sipkhtmlpart2.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 "sipkhtmlpart2.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 "sipkhtmlpart2.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 "sipkhtmlpart2.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 "sipkhtmlpart2.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 "sipkhtmlpart2.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 "sipkhtmlpart2.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 "sipkhtmlpart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 37 "sipkhtmlpart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 40 "sipkhtmlpart2.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 "sipkhtmlpart2.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 "sipkhtmlpart2.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 "sipkhtmlpart2.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 "sipkhtmlpart2.cpp"


class sipDOM_HTMLScriptElement : public DOM::HTMLScriptElement
{
public:
    sipDOM_HTMLScriptElement();
    sipDOM_HTMLScriptElement(const DOM::HTMLScriptElement&);
    sipDOM_HTMLScriptElement(const DOM::Node&);
    ~sipDOM_HTMLScriptElement();

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

sipDOM_HTMLScriptElement::sipDOM_HTMLScriptElement(): DOM::HTMLScriptElement(), sipPySelf(0)
{
}

sipDOM_HTMLScriptElement::sipDOM_HTMLScriptElement(const DOM::HTMLScriptElement& a0): DOM::HTMLScriptElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLScriptElement::sipDOM_HTMLScriptElement(const DOM::Node& a0): DOM::HTMLScriptElement(a0), sipPySelf(0)
{
}

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

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


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9i",&sipSelf,sipType_DOM_HTMLScriptElement,&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_HTMLScriptElement,sipName_assignOther);

    return NULL;
}


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

    {
        DOM::HTMLScriptElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLScriptElement,&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_HTMLScriptElement,sipName_text);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLScriptElement,&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_HTMLScriptElement,sipName_setText);

    return NULL;
}


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

    {
        DOM::HTMLScriptElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLScriptElement,&sipCpp,sipType_DOM_DOMString,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHtmlFor(*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_HTMLScriptElement,sipName_setHtmlFor);

    return NULL;
}


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

    {
        DOM::HTMLScriptElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLScriptElement,&sipCpp,sipType_DOM_DOMString,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEvent(*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_HTMLScriptElement,sipName_setEvent);

    return NULL;
}


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

    {
        DOM::HTMLScriptElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLScriptElement,&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_HTMLScriptElement,sipName_charset);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLScriptElement,&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_HTMLScriptElement,sipName_setCharset);

    return NULL;
}


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

    {
        DOM::HTMLScriptElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLScriptElement,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->defer();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLScriptElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_DOM_HTMLScriptElement,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDefer(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_HTMLScriptElement,sipName_setDefer);

    return NULL;
}


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

    {
        DOM::HTMLScriptElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLScriptElement,&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_HTMLScriptElement,sipName_src);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLScriptElement,&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_HTMLScriptElement,sipName_setSrc);

    return NULL;
}


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

    {
        DOM::HTMLScriptElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLScriptElement,&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_HTMLScriptElement,sipName_type);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLScriptElement,&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_HTMLScriptElement,sipName_setType);

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLScriptElement)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


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

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


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

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

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

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_HTMLScriptElement,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLScriptElement(*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_HTMLScriptElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_DOM_HTMLScriptElement[] = {
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLScriptElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_charset), meth_DOM_HTMLScriptElement_charset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_defer), meth_DOM_HTMLScriptElement_defer, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_DOM_HTMLScriptElement_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_htmlFor), meth_DOM_HTMLScriptElement_htmlFor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCharset), meth_DOM_HTMLScriptElement_setCharset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefer), meth_DOM_HTMLScriptElement_setDefer, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEvent), meth_DOM_HTMLScriptElement_setEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHtmlFor), meth_DOM_HTMLScriptElement_setHtmlFor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSrc), meth_DOM_HTMLScriptElement_setSrc, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setText), meth_DOM_HTMLScriptElement_setText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setType), meth_DOM_HTMLScriptElement_setType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_src), meth_DOM_HTMLScriptElement_src, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_text), meth_DOM_HTMLScriptElement_text, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_type), meth_DOM_HTMLScriptElement_type, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_khtml_DOM_HTMLScriptElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLScriptElement,
        {0}
    },
    sipNameNr_HTMLScriptElement,
    -1,
    -1,
    {0, 255, 0},
    supers_DOM_HTMLScriptElement,
    0,
    15, methods_DOM_HTMLScriptElement,
    0, 0,
    0, 0,
    init_DOM_HTMLScriptElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLScriptElement,
    release_DOM_HTMLScriptElement,
    cast_DOM_HTMLScriptElement,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_DOM_HTMLScriptElement,
    0,
    0,
    0
};

#line 89 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_head.sip"
#include <html_head.h>
#line 673 "sipkhtmlpart2.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 677 "sipkhtmlpart2.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 680 "sipkhtmlpart2.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 683 "sipkhtmlpart2.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 686 "sipkhtmlpart2.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 689 "sipkhtmlpart2.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 692 "sipkhtmlpart2.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 695 "sipkhtmlpart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 698 "sipkhtmlpart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 701 "sipkhtmlpart2.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 704 "sipkhtmlpart2.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 707 "sipkhtmlpart2.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 710 "sipkhtmlpart2.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 713 "sipkhtmlpart2.cpp"


class sipDOM_HTMLMetaElement : public DOM::HTMLMetaElement
{
public:
    sipDOM_HTMLMetaElement();
    sipDOM_HTMLMetaElement(const DOM::HTMLMetaElement&);
    sipDOM_HTMLMetaElement(const DOM::Node&);
    ~sipDOM_HTMLMetaElement();

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

sipDOM_HTMLMetaElement::sipDOM_HTMLMetaElement(): DOM::HTMLMetaElement(), sipPySelf(0)
{
}

sipDOM_HTMLMetaElement::sipDOM_HTMLMetaElement(const DOM::HTMLMetaElement& a0): DOM::HTMLMetaElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLMetaElement::sipDOM_HTMLMetaElement(const DOM::Node& a0): DOM::HTMLMetaElement(a0), sipPySelf(0)
{
}

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

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


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9i",&sipSelf,sipType_DOM_HTMLMetaElement,&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_HTMLMetaElement,sipName_assignOther);

    return NULL;
}


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

    {
        DOM::HTMLMetaElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLMetaElement,&sipCpp,sipType_DOM_DOMString,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setContent(*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_HTMLMetaElement,sipName_setContent);

    return NULL;
}


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

    {
        DOM::HTMLMetaElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLMetaElement,&sipCpp,sipType_DOM_DOMString,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHttpEquiv(*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_HTMLMetaElement,sipName_setHttpEquiv);

    return NULL;
}


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

    {
        DOM::HTMLMetaElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLMetaElement,&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_HTMLMetaElement,sipName_name);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLMetaElement,&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_HTMLMetaElement,sipName_setName);

    return NULL;
}


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

    {
        DOM::HTMLMetaElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLMetaElement,&sipCpp,sipType_DOM_DOMString,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setScheme(*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_HTMLMetaElement,sipName_setScheme);

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLMetaElement)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


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

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


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

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

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

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_HTMLMetaElement,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLMetaElement(*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_HTMLMetaElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_DOM_HTMLMetaElement[] = {
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLMetaElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_content), meth_DOM_HTMLMetaElement_content, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_httpEquiv), meth_DOM_HTMLMetaElement_httpEquiv, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_DOM_HTMLMetaElement_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_scheme), meth_DOM_HTMLMetaElement_scheme, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setContent), meth_DOM_HTMLMetaElement_setContent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHttpEquiv), meth_DOM_HTMLMetaElement_setHttpEquiv, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setName), meth_DOM_HTMLMetaElement_setName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setScheme), meth_DOM_HTMLMetaElement_setScheme, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_khtml_DOM_HTMLMetaElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLMetaElement,
        {0}
    },
    sipNameNr_HTMLMetaElement,
    -1,
    -1,
    {0, 255, 0},
    supers_DOM_HTMLMetaElement,
    0,
    9, methods_DOM_HTMLMetaElement,
    0, 0,
    0, 0,
    init_DOM_HTMLMetaElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLMetaElement,
    release_DOM_HTMLMetaElement,
    cast_DOM_HTMLMetaElement,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_DOM_HTMLMetaElement,
    0,
    0,
    0
};

#line 51 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_head.sip"
#include <html_head.h>
#line 1166 "sipkhtmlpart2.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 1170 "sipkhtmlpart2.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 1173 "sipkhtmlpart2.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 1176 "sipkhtmlpart2.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 1179 "sipkhtmlpart2.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 1182 "sipkhtmlpart2.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 1185 "sipkhtmlpart2.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 1188 "sipkhtmlpart2.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 1191 "sipkhtmlpart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 1194 "sipkhtmlpart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1197 "sipkhtmlpart2.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 1200 "sipkhtmlpart2.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 1203 "sipkhtmlpart2.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 1206 "sipkhtmlpart2.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 1209 "sipkhtmlpart2.cpp"


class sipDOM_HTMLLinkElement : public DOM::HTMLLinkElement
{
public:
    sipDOM_HTMLLinkElement();
    sipDOM_HTMLLinkElement(const DOM::HTMLLinkElement&);
    sipDOM_HTMLLinkElement(const DOM::Node&);
    ~sipDOM_HTMLLinkElement();

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

sipDOM_HTMLLinkElement::sipDOM_HTMLLinkElement(): DOM::HTMLLinkElement(), sipPySelf(0)
{
}

sipDOM_HTMLLinkElement::sipDOM_HTMLLinkElement(const DOM::HTMLLinkElement& a0): DOM::HTMLLinkElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLLinkElement::sipDOM_HTMLLinkElement(const DOM::Node& a0): DOM::HTMLLinkElement(a0), sipPySelf(0)
{
}

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

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


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9i",&sipSelf,sipType_DOM_HTMLLinkElement,&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_HTMLLinkElement,sipName_assignOther);

    return NULL;
}


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

    {
        DOM::HTMLLinkElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLLinkElement,&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_HTMLLinkElement,sipName_disabled);

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLLinkElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_DOM_HTMLLinkElement,&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_HTMLLinkElement,sipName_setDisabled);

    return NULL;
}


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

    {
        DOM::HTMLLinkElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLLinkElement,&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_HTMLLinkElement,sipName_charset);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLLinkElement,&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_HTMLLinkElement,sipName_setCharset);

    return NULL;
}


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

    {
        DOM::HTMLLinkElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLLinkElement,&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_HTMLLinkElement,sipName_href);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLLinkElement,&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_HTMLLinkElement,sipName_setHref);

    return NULL;
}


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

    {
        DOM::HTMLLinkElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLLinkElement,&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_HTMLLinkElement,sipName_hreflang);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLLinkElement,&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_HTMLLinkElement,sipName_setHreflang);

    return NULL;
}


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

    {
        DOM::HTMLLinkElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLLinkElement,&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_HTMLLinkElement,sipName_media);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLLinkElement,&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_HTMLLinkElement,sipName_setMedia);

    return NULL;
}


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

    {
        DOM::HTMLLinkElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLLinkElement,&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_HTMLLinkElement,sipName_rel);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLLinkElement,&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_HTMLLinkElement,sipName_setRel);

    return NULL;
}


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

    {
        DOM::HTMLLinkElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLLinkElement,&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_HTMLLinkElement,sipName_rev);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLLinkElement,&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_HTMLLinkElement,sipName_setRev);

    return NULL;
}


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

    {
        DOM::HTMLLinkElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLLinkElement,&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_HTMLLinkElement,sipName_target);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLLinkElement,&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_HTMLLinkElement,sipName_setTarget);

    return NULL;
}


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

    {
        DOM::HTMLLinkElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLLinkElement,&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_HTMLLinkElement,sipName_type);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLLinkElement,&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_HTMLLinkElement,sipName_setType);

    return NULL;
}


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

    {
        DOM::HTMLLinkElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLLinkElement,&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_HTMLLinkElement,sipName_sheet);

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLLinkElement)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


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

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


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

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

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

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_HTMLLinkElement,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLLinkElement(*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_HTMLLinkElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_DOM_HTMLLinkElement[] = {
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLLinkElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_charset), meth_DOM_HTMLLinkElement_charset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disabled), meth_DOM_HTMLLinkElement_disabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_href), meth_DOM_HTMLLinkElement_href, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hreflang), meth_DOM_HTMLLinkElement_hreflang, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_media), meth_DOM_HTMLLinkElement_media, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rel), meth_DOM_HTMLLinkElement_rel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rev), meth_DOM_HTMLLinkElement_rev, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCharset), meth_DOM_HTMLLinkElement_setCharset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDisabled), meth_DOM_HTMLLinkElement_setDisabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHref), meth_DOM_HTMLLinkElement_setHref, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHreflang), meth_DOM_HTMLLinkElement_setHreflang, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMedia), meth_DOM_HTMLLinkElement_setMedia, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRel), meth_DOM_HTMLLinkElement_setRel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRev), meth_DOM_HTMLLinkElement_setRev, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTarget), meth_DOM_HTMLLinkElement_setTarget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setType), meth_DOM_HTMLLinkElement_setType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sheet), meth_DOM_HTMLLinkElement_sheet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_target), meth_DOM_HTMLLinkElement_target, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_type), meth_DOM_HTMLLinkElement_type, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_khtml_DOM_HTMLLinkElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLLinkElement,
        {0}
    },
    sipNameNr_HTMLLinkElement,
    -1,
    -1,
    {0, 255, 0},
    supers_DOM_HTMLLinkElement,
    0,
    20, methods_DOM_HTMLLinkElement,
    0, 0,
    0, 0,
    init_DOM_HTMLLinkElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLLinkElement,
    release_DOM_HTMLLinkElement,
    cast_DOM_HTMLLinkElement,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_DOM_HTMLLinkElement,
    0,
    0,
    0
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_head.sip"
#include <html_head.h>
#line 1970 "sipkhtmlpart2.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 1974 "sipkhtmlpart2.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 1977 "sipkhtmlpart2.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 1980 "sipkhtmlpart2.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 1983 "sipkhtmlpart2.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 1986 "sipkhtmlpart2.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 1989 "sipkhtmlpart2.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 1992 "sipkhtmlpart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 1995 "sipkhtmlpart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1998 "sipkhtmlpart2.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 2001 "sipkhtmlpart2.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 2004 "sipkhtmlpart2.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 2007 "sipkhtmlpart2.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 2010 "sipkhtmlpart2.cpp"


class sipDOM_HTMLBaseElement : public DOM::HTMLBaseElement
{
public:
    sipDOM_HTMLBaseElement();
    sipDOM_HTMLBaseElement(const DOM::HTMLBaseElement&);
    sipDOM_HTMLBaseElement(const DOM::Node&);
    ~sipDOM_HTMLBaseElement();

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

sipDOM_HTMLBaseElement::sipDOM_HTMLBaseElement(): DOM::HTMLBaseElement(), sipPySelf(0)
{
}

sipDOM_HTMLBaseElement::sipDOM_HTMLBaseElement(const DOM::HTMLBaseElement& a0): DOM::HTMLBaseElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLBaseElement::sipDOM_HTMLBaseElement(const DOM::Node& a0): DOM::HTMLBaseElement(a0), sipPySelf(0)
{
}

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

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


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9i",&sipSelf,sipType_DOM_HTMLBaseElement,&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_HTMLBaseElement,sipName_assignOther);

    return NULL;
}


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

    {
        DOM::HTMLBaseElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLBaseElement,&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_HTMLBaseElement,sipName_href);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLBaseElement,&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_HTMLBaseElement,sipName_setHref);

    return NULL;
}


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

    {
        DOM::HTMLBaseElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLBaseElement,&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_HTMLBaseElement,sipName_target);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLBaseElement,&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_HTMLBaseElement,sipName_setTarget);

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLBaseElement)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


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

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


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

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

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

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_HTMLBaseElement,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLBaseElement(*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_HTMLBaseElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_DOM_HTMLBaseElement[] = {
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLBaseElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_href), meth_DOM_HTMLBaseElement_href, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHref), meth_DOM_HTMLBaseElement_setHref, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTarget), meth_DOM_HTMLBaseElement_setTarget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_target), meth_DOM_HTMLBaseElement_target, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_khtml_DOM_HTMLBaseElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLBaseElement,
        {0}
    },
    sipNameNr_HTMLBaseElement,
    -1,
    -1,
    {0, 255, 0},
    supers_DOM_HTMLBaseElement,
    0,
    5, methods_DOM_HTMLBaseElement,
    0, 0,
    0, 0,
    init_DOM_HTMLBaseElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLBaseElement,
    release_DOM_HTMLBaseElement,
    cast_DOM_HTMLBaseElement,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_DOM_HTMLBaseElement,
    0,
    0,
    0
};

#line 375 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_form.sip"
#include <html_form.h>
#line 2351 "sipkhtmlpart2.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 2355 "sipkhtmlpart2.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 2358 "sipkhtmlpart2.cpp"
#line 81 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_form.sip"
#include <html_form.h>
#line 2361 "sipkhtmlpart2.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 2364 "sipkhtmlpart2.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 2367 "sipkhtmlpart2.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 2370 "sipkhtmlpart2.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 2373 "sipkhtmlpart2.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 2376 "sipkhtmlpart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 2379 "sipkhtmlpart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 2382 "sipkhtmlpart2.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 2385 "sipkhtmlpart2.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 2388 "sipkhtmlpart2.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 2391 "sipkhtmlpart2.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 2394 "sipkhtmlpart2.cpp"


class sipDOM_HTMLIsIndexElement : public DOM::HTMLIsIndexElement
{
public:
    sipDOM_HTMLIsIndexElement();
    sipDOM_HTMLIsIndexElement(const DOM::HTMLIsIndexElement&);
    sipDOM_HTMLIsIndexElement(const DOM::Node&);
    ~sipDOM_HTMLIsIndexElement();

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

sipDOM_HTMLIsIndexElement::sipDOM_HTMLIsIndexElement(): DOM::HTMLIsIndexElement(), sipPySelf(0)
{
}

sipDOM_HTMLIsIndexElement::sipDOM_HTMLIsIndexElement(const DOM::HTMLIsIndexElement& a0): DOM::HTMLIsIndexElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLIsIndexElement::sipDOM_HTMLIsIndexElement(const DOM::Node& a0): DOM::HTMLIsIndexElement(a0), sipPySelf(0)
{
}

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

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


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9i",&sipSelf,sipType_DOM_HTMLIsIndexElement,&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_HTMLIsIndexElement,sipName_assignOther);

    return NULL;
}


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

    {
        DOM::HTMLIsIndexElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLIsIndexElement,&sipCpp))
        {
            DOM::HTMLFormElement *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::HTMLFormElement(sipCpp->form());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        DOM::HTMLIsIndexElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLIsIndexElement,&sipCpp,sipType_DOM_DOMString,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPrompt(*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_HTMLIsIndexElement,sipName_setPrompt);

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLIsIndexElement)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


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

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


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

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

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

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_HTMLIsIndexElement,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLIsIndexElement(*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_HTMLIsIndexElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_DOM_HTMLIsIndexElement[] = {
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLIsIndexElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_form), meth_DOM_HTMLIsIndexElement_form, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prompt), meth_DOM_HTMLIsIndexElement_prompt, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPrompt), meth_DOM_HTMLIsIndexElement_setPrompt, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_khtml_DOM_HTMLIsIndexElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLIsIndexElement,
        {0}
    },
    sipNameNr_HTMLIsIndexElement,
    -1,
    -1,
    {0, 255, 0},
    supers_DOM_HTMLIsIndexElement,
    0,
    4, methods_DOM_HTMLIsIndexElement,
    0, 0,
    0, 0,
    init_DOM_HTMLIsIndexElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLIsIndexElement,
    release_DOM_HTMLIsIndexElement,
    cast_DOM_HTMLIsIndexElement,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_DOM_HTMLIsIndexElement,
    0,
    0,
    0
};

#line 342 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_form.sip"
#include <html_form.h>
#line 2707 "sipkhtmlpart2.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 2711 "sipkhtmlpart2.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 2714 "sipkhtmlpart2.cpp"
#line 81 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_form.sip"
#include <html_form.h>
#line 2717 "sipkhtmlpart2.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 2720 "sipkhtmlpart2.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 2723 "sipkhtmlpart2.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 2726 "sipkhtmlpart2.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 2729 "sipkhtmlpart2.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 2732 "sipkhtmlpart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 2735 "sipkhtmlpart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 2738 "sipkhtmlpart2.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 2741 "sipkhtmlpart2.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 2744 "sipkhtmlpart2.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 2747 "sipkhtmlpart2.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 2750 "sipkhtmlpart2.cpp"


class sipDOM_HTMLOptionElement : public DOM::HTMLOptionElement
{
public:
    sipDOM_HTMLOptionElement();
    sipDOM_HTMLOptionElement(const DOM::HTMLOptionElement&);
    sipDOM_HTMLOptionElement(const DOM::Node&);
    ~sipDOM_HTMLOptionElement();

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

sipDOM_HTMLOptionElement::sipDOM_HTMLOptionElement(): DOM::HTMLOptionElement(), sipPySelf(0)
{
}

sipDOM_HTMLOptionElement::sipDOM_HTMLOptionElement(const DOM::HTMLOptionElement& a0): DOM::HTMLOptionElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLOptionElement::sipDOM_HTMLOptionElement(const DOM::Node& a0): DOM::HTMLOptionElement(a0), sipPySelf(0)
{
}

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

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


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9i",&sipSelf,sipType_DOM_HTMLOptionElement,&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_HTMLOptionElement,sipName_assignOther);

    return NULL;
}


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

    {
        DOM::HTMLOptionElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLOptionElement,&sipCpp))
        {
            DOM::HTMLFormElement *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::HTMLFormElement(sipCpp->form());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        DOM::HTMLOptionElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLOptionElement,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->defaultSelected();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLOptionElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_DOM_HTMLOptionElement,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDefaultSelected(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_HTMLOptionElement,sipName_setDefaultSelected);

    return NULL;
}


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

    {
        DOM::HTMLOptionElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLOptionElement,&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_HTMLOptionElement,sipName_text);

    return NULL;
}


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

    {
        DOM::HTMLOptionElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLOptionElement,&sipCpp))
        {
            long sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->index();
            Py_END_ALLOW_THREADS

            return PyLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLOptionElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bl",&sipSelf,sipType_DOM_HTMLOptionElement,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIndex(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_HTMLOptionElement,sipName_setIndex);

    return NULL;
}


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

    {
        DOM::HTMLOptionElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLOptionElement,&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_HTMLOptionElement,sipName_disabled);

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLOptionElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_DOM_HTMLOptionElement,&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_HTMLOptionElement,sipName_setDisabled);

    return NULL;
}


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

    {
        DOM::HTMLOptionElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLOptionElement,&sipCpp,sipType_DOM_DOMString,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLabel(*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_HTMLOptionElement,sipName_setLabel);

    return NULL;
}


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

    {
        DOM::HTMLOptionElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLOptionElement,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->selected();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLOptionElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_DOM_HTMLOptionElement,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSelected(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_HTMLOptionElement,sipName_setSelected);

    return NULL;
}


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

    {
        DOM::HTMLOptionElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLOptionElement,&sipCpp,sipType_DOM_DOMString,&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_HTMLOptionElement,sipName_setValue);

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLOptionElement)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


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

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


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

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

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

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_HTMLOptionElement,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLOptionElement(*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_HTMLOptionElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_DOM_HTMLOptionElement[] = {
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLOptionElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultSelected), meth_DOM_HTMLOptionElement_defaultSelected, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disabled), meth_DOM_HTMLOptionElement_disabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_form), meth_DOM_HTMLOptionElement_form, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_index), meth_DOM_HTMLOptionElement_index, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_label), meth_DOM_HTMLOptionElement_label, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selected), meth_DOM_HTMLOptionElement_selected, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultSelected), meth_DOM_HTMLOptionElement_setDefaultSelected, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDisabled), meth_DOM_HTMLOptionElement_setDisabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIndex), meth_DOM_HTMLOptionElement_setIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLabel), meth_DOM_HTMLOptionElement_setLabel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelected), meth_DOM_HTMLOptionElement_setSelected, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_DOM_HTMLOptionElement_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_text), meth_DOM_HTMLOptionElement_text, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_DOM_HTMLOptionElement_value, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_khtml_DOM_HTMLOptionElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLOptionElement,
        {0}
    },
    sipNameNr_HTMLOptionElement,
    -1,
    -1,
    {0, 255, 0},
    supers_DOM_HTMLOptionElement,
    0,
    15, methods_DOM_HTMLOptionElement,
    0, 0,
    0, 0,
    init_DOM_HTMLOptionElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLOptionElement,
    release_DOM_HTMLOptionElement,
    cast_DOM_HTMLOptionElement,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_DOM_HTMLOptionElement,
    0,
    0,
    0
};

#line 294 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_form.sip"
#include <html_form.h>
#line 3371 "sipkhtmlpart2.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 3375 "sipkhtmlpart2.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 3378 "sipkhtmlpart2.cpp"
#line 81 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_form.sip"
#include <html_form.h>
#line 3381 "sipkhtmlpart2.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 3384 "sipkhtmlpart2.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 3387 "sipkhtmlpart2.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 3390 "sipkhtmlpart2.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 3393 "sipkhtmlpart2.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 3396 "sipkhtmlpart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 3399 "sipkhtmlpart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 3402 "sipkhtmlpart2.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 3405 "sipkhtmlpart2.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 3408 "sipkhtmlpart2.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 3411 "sipkhtmlpart2.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 3414 "sipkhtmlpart2.cpp"


class sipDOM_HTMLTextAreaElement : public DOM::HTMLTextAreaElement
{
public:
    sipDOM_HTMLTextAreaElement();
    sipDOM_HTMLTextAreaElement(const DOM::HTMLTextAreaElement&);
    sipDOM_HTMLTextAreaElement(const DOM::Node&);
    ~sipDOM_HTMLTextAreaElement();

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

sipDOM_HTMLTextAreaElement::sipDOM_HTMLTextAreaElement(): DOM::HTMLTextAreaElement(), sipPySelf(0)
{
}

sipDOM_HTMLTextAreaElement::sipDOM_HTMLTextAreaElement(const DOM::HTMLTextAreaElement& a0): DOM::HTMLTextAreaElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLTextAreaElement::sipDOM_HTMLTextAreaElement(const DOM::Node& a0): DOM::HTMLTextAreaElement(a0), sipPySelf(0)
{
}

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

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


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9i",&sipSelf,sipType_DOM_HTMLTextAreaElement,&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_HTMLTextAreaElement,sipName_assignOther);

    return NULL;
}


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

    {
        DOM::HTMLTextAreaElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLTextAreaElement,&sipCpp,sipType_DOM_DOMString,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDefaultValue(*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_HTMLTextAreaElement,sipName_setDefaultValue);

    return NULL;
}


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

    {
        DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLTextAreaElement,&sipCpp))
        {
            DOM::HTMLFormElement *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::HTMLFormElement(sipCpp->form());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLTextAreaElement,&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_HTMLTextAreaElement,sipName_accessKey);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLTextAreaElement,&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_HTMLTextAreaElement,sipName_setAccessKey);

    return NULL;
}


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

    {
        DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLTextAreaElement,&sipCpp))
        {
            long sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->cols();
            Py_END_ALLOW_THREADS

            return PyLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bl",&sipSelf,sipType_DOM_HTMLTextAreaElement,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCols(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLTextAreaElement,&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_HTMLTextAreaElement,sipName_disabled);

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_DOM_HTMLTextAreaElement,&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_HTMLTextAreaElement,sipName_setDisabled);

    return NULL;
}


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

    {
        DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLTextAreaElement,&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_HTMLTextAreaElement,sipName_name);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLTextAreaElement,&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_HTMLTextAreaElement,sipName_setName);

    return NULL;
}


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

    {
        DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLTextAreaElement,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->readOnly();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_DOM_HTMLTextAreaElement,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setReadOnly(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_HTMLTextAreaElement,sipName_setReadOnly);

    return NULL;
}


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

    {
        DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLTextAreaElement,&sipCpp))
        {
            long sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->rows();
            Py_END_ALLOW_THREADS

            return PyLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bl",&sipSelf,sipType_DOM_HTMLTextAreaElement,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRows(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLTextAreaElement,&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_HTMLTextAreaElement,sipName_tabIndex);

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bl",&sipSelf,sipType_DOM_HTMLTextAreaElement,&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_HTMLTextAreaElement,sipName_setTabIndex);

    return NULL;
}


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

    {
        DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLTextAreaElement,&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_HTMLTextAreaElement,sipName_type);

    return NULL;
}


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

    {
        DOM::HTMLTextAreaElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLTextAreaElement,&sipCpp,sipType_DOM_DOMString,&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_HTMLTextAreaElement,sipName_setValue);

    return NULL;
}


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

    {
        DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLTextAreaElement,&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_HTMLTextAreaElement,sipName_blur);

    return NULL;
}


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

    {
        DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLTextAreaElement,&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_HTMLTextAreaElement,sipName_focus);

    return NULL;
}


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

    {
        DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLTextAreaElement,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->select();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLTextAreaElement,&sipCpp))
        {
            long sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->selectionStart();
            Py_END_ALLOW_THREADS

            return PyLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bl",&sipSelf,sipType_DOM_HTMLTextAreaElement,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSelectionStart(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_HTMLTextAreaElement,sipName_setSelectionStart);

    return NULL;
}


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

    {
        DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLTextAreaElement,&sipCpp))
        {
            long sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->selectionEnd();
            Py_END_ALLOW_THREADS

            return PyLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bl",&sipSelf,sipType_DOM_HTMLTextAreaElement,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSelectionEnd(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_HTMLTextAreaElement,sipName_setSelectionEnd);

    return NULL;
}


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

    {
        long a0;
        long a1;
        DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bll",&sipSelf,sipType_DOM_HTMLTextAreaElement,&sipCpp,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSelectionRange(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_HTMLTextAreaElement,sipName_setSelectionRange);

    return NULL;
}


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

    {
        DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLTextAreaElement,&sipCpp))
        {
            long sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->textLength();
            Py_END_ALLOW_THREADS

            return PyLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLTextAreaElement)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


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

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


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

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

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

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_HTMLTextAreaElement,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLTextAreaElement(*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_HTMLTextAreaElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_DOM_HTMLTextAreaElement[] = {
    {SIP_MLNAME_CAST(sipName_accessKey), meth_DOM_HTMLTextAreaElement_accessKey, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLTextAreaElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_blur), meth_DOM_HTMLTextAreaElement_blur, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_cols), meth_DOM_HTMLTextAreaElement_cols, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultValue), meth_DOM_HTMLTextAreaElement_defaultValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disabled), meth_DOM_HTMLTextAreaElement_disabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focus), meth_DOM_HTMLTextAreaElement_focus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_form), meth_DOM_HTMLTextAreaElement_form, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_DOM_HTMLTextAreaElement_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readOnly), meth_DOM_HTMLTextAreaElement_readOnly, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rows), meth_DOM_HTMLTextAreaElement_rows, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_select), meth_DOM_HTMLTextAreaElement_select, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectionEnd), meth_DOM_HTMLTextAreaElement_selectionEnd, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectionStart), meth_DOM_HTMLTextAreaElement_selectionStart, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAccessKey), meth_DOM_HTMLTextAreaElement_setAccessKey, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCols), meth_DOM_HTMLTextAreaElement_setCols, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultValue), meth_DOM_HTMLTextAreaElement_setDefaultValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDisabled), meth_DOM_HTMLTextAreaElement_setDisabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setName), meth_DOM_HTMLTextAreaElement_setName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setReadOnly), meth_DOM_HTMLTextAreaElement_setReadOnly, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRows), meth_DOM_HTMLTextAreaElement_setRows, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelectionEnd), meth_DOM_HTMLTextAreaElement_setSelectionEnd, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelectionRange), meth_DOM_HTMLTextAreaElement_setSelectionRange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelectionStart), meth_DOM_HTMLTextAreaElement_setSelectionStart, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTabIndex), meth_DOM_HTMLTextAreaElement_setTabIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_DOM_HTMLTextAreaElement_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabIndex), meth_DOM_HTMLTextAreaElement_tabIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_textLength), meth_DOM_HTMLTextAreaElement_textLength, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_type), meth_DOM_HTMLTextAreaElement_type, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_DOM_HTMLTextAreaElement_value, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_khtml_DOM_HTMLTextAreaElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLTextAreaElement,
        {0}
    },
    sipNameNr_HTMLTextAreaElement,
    -1,
    -1,
    {0, 255, 0},
    supers_DOM_HTMLTextAreaElement,
    0,
    30, methods_DOM_HTMLTextAreaElement,
    0, 0,
    0, 0,
    init_DOM_HTMLTextAreaElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLTextAreaElement,
    release_DOM_HTMLTextAreaElement,
    cast_DOM_HTMLTextAreaElement,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_DOM_HTMLTextAreaElement,
    0,
    0,
    0
};

#line 253 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_form.sip"
#include <html_form.h>
#line 4453 "sipkhtmlpart2.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 4457 "sipkhtmlpart2.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_element.sip"
#include <html_element.h>
#line 4460 "sipkhtmlpart2.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 4463 "sipkhtmlpart2.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 4466 "sipkhtmlpart2.cpp"
#line 81 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_form.sip"
#include <html_form.h>
#line 4469 "sipkhtmlpart2.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 4472 "sipkhtmlpart2.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 4475 "sipkhtmlpart2.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 4478 "sipkhtmlpart2.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 4481 "sipkhtmlpart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 4484 "sipkhtmlpart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 4487 "sipkhtmlpart2.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 4490 "sipkhtmlpart2.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 4493 "sipkhtmlpart2.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 4496 "sipkhtmlpart2.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 4499 "sipkhtmlpart2.cpp"


class sipDOM_HTMLSelectElement : public DOM::HTMLSelectElement
{
public:
    sipDOM_HTMLSelectElement();
    sipDOM_HTMLSelectElement(const DOM::HTMLSelectElement&);
    sipDOM_HTMLSelectElement(const DOM::Node&);
    ~sipDOM_HTMLSelectElement();

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

sipDOM_HTMLSelectElement::sipDOM_HTMLSelectElement(): DOM::HTMLSelectElement(), sipPySelf(0)
{
}

sipDOM_HTMLSelectElement::sipDOM_HTMLSelectElement(const DOM::HTMLSelectElement& a0): DOM::HTMLSelectElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLSelectElement::sipDOM_HTMLSelectElement(const DOM::Node& a0): DOM::HTMLSelectElement(a0), sipPySelf(0)
{
}

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

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


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9i",&sipSelf,sipType_DOM_HTMLSelectElement,&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_HTMLSelectElement,sipName_assignOther);

    return NULL;
}


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

    {
        DOM::HTMLSelectElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLSelectElement,&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_HTMLSelectElement,sipName_type);

    return NULL;
}


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

    {
        DOM::HTMLSelectElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLSelectElement,&sipCpp))
        {
            long sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->selectedIndex();
            Py_END_ALLOW_THREADS

            return PyLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLSelectElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bl",&sipSelf,sipType_DOM_HTMLSelectElement,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSelectedIndex(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_HTMLSelectElement,sipName_setSelectedIndex);

    return NULL;
}


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

    {
        DOM::HTMLSelectElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLSelectElement,&sipCpp,sipType_DOM_DOMString,&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_HTMLSelectElement,sipName_setValue);

    return NULL;
}


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

    {
        DOM::HTMLSelectElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLSelectElement,&sipCpp))
        {
            long sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->length();
            Py_END_ALLOW_THREADS

            return PyLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLSelectElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLSelectElement,&sipCpp))
        {
            DOM::HTMLFormElement *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::HTMLFormElement(sipCpp->form());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        DOM::HTMLSelectElement *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        DOM::HTMLSelectElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLSelectElement,&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_HTMLSelectElement,sipName_disabled);

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLSelectElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_DOM_HTMLSelectElement,&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_HTMLSelectElement,sipName_setDisabled);

    return NULL;
}


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

    {
        DOM::HTMLSelectElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLSelectElement,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->multiple();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLSelectElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_DOM_HTMLSelectElement,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMultiple(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_HTMLSelectElement,sipName_setMultiple);

    return NULL;
}


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

    {
        DOM::HTMLSelectElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLSelectElement,&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_HTMLSelectElement,sipName_name);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLSelectElement,&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_HTMLSelectElement,sipName_setName);

    return NULL;
}


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

    {
        DOM::HTMLSelectElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLSelectElement,&sipCpp))
        {
            long sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->size();
            Py_END_ALLOW_THREADS

            return PyLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLSelectElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bl",&sipSelf,sipType_DOM_HTMLSelectElement,&sipCpp,&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_HTMLSelectElement,sipName_setSize);

    return NULL;
}


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

    {
        DOM::HTMLSelectElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLSelectElement,&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_HTMLSelectElement,sipName_tabIndex);

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLSelectElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bl",&sipSelf,sipType_DOM_HTMLSelectElement,&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_HTMLSelectElement,sipName_setTabIndex);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9J9",&sipSelf,sipType_DOM_HTMLSelectElement,&sipCpp,sipType_DOM_HTMLElement,&a0,sipType_DOM_HTMLElement,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->add(*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_HTMLSelectElement,sipName_add);

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLSelectElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bl",&sipSelf,sipType_DOM_HTMLSelectElement,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->remove(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_HTMLSelectElement,sipName_remove);

    return NULL;
}


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

    {
        DOM::HTMLSelectElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLSelectElement,&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_HTMLSelectElement,sipName_blur);

    return NULL;
}


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

    {
        DOM::HTMLSelectElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLSelectElement,&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_HTMLSelectElement,sipName_focus);

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLSelectElement)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


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

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


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

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

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

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_HTMLSelectElement,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLSelectElement(*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_HTMLSelectElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_DOM_HTMLSelectElement[] = {
    {SIP_MLNAME_CAST(sipName_add), meth_DOM_HTMLSelectElement_add, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLSelectElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_blur), meth_DOM_HTMLSelectElement_blur, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disabled), meth_DOM_HTMLSelectElement_disabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focus), meth_DOM_HTMLSelectElement_focus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_form), meth_DOM_HTMLSelectElement_form, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_length), meth_DOM_HTMLSelectElement_length, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_multiple), meth_DOM_HTMLSelectElement_multiple, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_DOM_HTMLSelectElement_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_options), meth_DOM_HTMLSelectElement_options, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_remove), meth_DOM_HTMLSelectElement_remove, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedIndex), meth_DOM_HTMLSelectElement_selectedIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDisabled), meth_DOM_HTMLSelectElement_setDisabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMultiple), meth_DOM_HTMLSelectElement_setMultiple, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setName), meth_DOM_HTMLSelectElement_setName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelectedIndex), meth_DOM_HTMLSelectElement_setSelectedIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSize), meth_DOM_HTMLSelectElement_setSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTabIndex), meth_DOM_HTMLSelectElement_setTabIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_DOM_HTMLSelectElement_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_size), meth_DOM_HTMLSelectElement_size, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabIndex), meth_DOM_HTMLSelectElement_tabIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_type), meth_DOM_HTMLSelectElement_type, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_DOM_HTMLSelectElement_value, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_khtml_DOM_HTMLSelectElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLSelectElement,
        {0}
    },
    sipNameNr_HTMLSelectElement,
    -1,
    -1,
    {0, 255, 0},
    supers_DOM_HTMLSelectElement,
    0,
    23, methods_DOM_HTMLSelectElement,
    0, 0,
    0, 0,
    init_DOM_HTMLSelectElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLSelectElement,
    release_DOM_HTMLSelectElement,
    cast_DOM_HTMLSelectElement,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_DOM_HTMLSelectElement,
    0,
    0,
    0
};

#line 230 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_form.sip"
#include <html_form.h>
#line 5343 "sipkhtmlpart2.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 5347 "sipkhtmlpart2.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 5350 "sipkhtmlpart2.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 5353 "sipkhtmlpart2.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 5356 "sipkhtmlpart2.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 5359 "sipkhtmlpart2.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 5362 "sipkhtmlpart2.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 5365 "sipkhtmlpart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 5368 "sipkhtmlpart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 5371 "sipkhtmlpart2.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 5374 "sipkhtmlpart2.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 5377 "sipkhtmlpart2.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 5380 "sipkhtmlpart2.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 5383 "sipkhtmlpart2.cpp"


class sipDOM_HTMLOptGroupElement : public DOM::HTMLOptGroupElement
{
public:
    sipDOM_HTMLOptGroupElement();
    sipDOM_HTMLOptGroupElement(const DOM::HTMLOptGroupElement&);
    sipDOM_HTMLOptGroupElement(const DOM::Node&);
    ~sipDOM_HTMLOptGroupElement();

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

sipDOM_HTMLOptGroupElement::sipDOM_HTMLOptGroupElement(): DOM::HTMLOptGroupElement(), sipPySelf(0)
{
}

sipDOM_HTMLOptGroupElement::sipDOM_HTMLOptGroupElement(const DOM::HTMLOptGroupElement& a0): DOM::HTMLOptGroupElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLOptGroupElement::sipDOM_HTMLOptGroupElement(const DOM::Node& a0): DOM::HTMLOptGroupElement(a0), sipPySelf(0)
{
}

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

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


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9i",&sipSelf,sipType_DOM_HTMLOptGroupElement,&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_HTMLOptGroupElement,sipName_assignOther);

    return NULL;
}


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

    {
        DOM::HTMLOptGroupElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLOptGroupElement,&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_HTMLOptGroupElement,sipName_disabled);

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLOptGroupElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_DOM_HTMLOptGroupElement,&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_HTMLOptGroupElement,sipName_setDisabled);

    return NULL;
}


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

    {
        DOM::HTMLOptGroupElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLOptGroupElement,&sipCpp,sipType_DOM_DOMString,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLabel(*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_HTMLOptGroupElement,sipName_setLabel);

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLOptGroupElement)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


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

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


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

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

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

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_HTMLOptGroupElement,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLOptGroupElement(*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_HTMLOptGroupElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_DOM_HTMLOptGroupElement[] = {
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLOptGroupElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disabled), meth_DOM_HTMLOptGroupElement_disabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_label), meth_DOM_HTMLOptGroupElement_label, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDisabled), meth_DOM_HTMLOptGroupElement_setDisabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLabel), meth_DOM_HTMLOptGroupElement_setLabel, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_khtml_DOM_HTMLOptGroupElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLOptGroupElement,
        {0}
    },
    sipNameNr_HTMLOptGroupElement,
    -1,
    -1,
    {0, 255, 0},
    supers_DOM_HTMLOptGroupElement,
    0,
    5, methods_DOM_HTMLOptGroupElement,
    0, 0,
    0, 0,
    init_DOM_HTMLOptGroupElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLOptGroupElement,
    release_DOM_HTMLOptGroupElement,
    cast_DOM_HTMLOptGroupElement,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_DOM_HTMLOptGroupElement,
    0,
    0,
    0
};

#line 206 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_form.sip"
#include <html_form.h>
#line 5724 "sipkhtmlpart2.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 5728 "sipkhtmlpart2.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 5731 "sipkhtmlpart2.cpp"
#line 81 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_form.sip"
#include <html_form.h>
#line 5734 "sipkhtmlpart2.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 5737 "sipkhtmlpart2.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 5740 "sipkhtmlpart2.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 5743 "sipkhtmlpart2.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 5746 "sipkhtmlpart2.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 5749 "sipkhtmlpart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 5752 "sipkhtmlpart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 5755 "sipkhtmlpart2.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 5758 "sipkhtmlpart2.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 5761 "sipkhtmlpart2.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 5764 "sipkhtmlpart2.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 5767 "sipkhtmlpart2.cpp"


class sipDOM_HTMLLegendElement : public DOM::HTMLLegendElement
{
public:
    sipDOM_HTMLLegendElement();
    sipDOM_HTMLLegendElement(const DOM::HTMLLegendElement&);
    sipDOM_HTMLLegendElement(const DOM::Node&);
    ~sipDOM_HTMLLegendElement();

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

sipDOM_HTMLLegendElement::sipDOM_HTMLLegendElement(): DOM::HTMLLegendElement(), sipPySelf(0)
{
}

sipDOM_HTMLLegendElement::sipDOM_HTMLLegendElement(const DOM::HTMLLegendElement& a0): DOM::HTMLLegendElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLLegendElement::sipDOM_HTMLLegendElement(const DOM::Node& a0): DOM::HTMLLegendElement(a0), sipPySelf(0)
{
}

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

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


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9i",&sipSelf,sipType_DOM_HTMLLegendElement,&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_HTMLLegendElement,sipName_assignOther);

    return NULL;
}


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

    {
        DOM::HTMLLegendElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLLegendElement,&sipCpp))
        {
            DOM::HTMLFormElement *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::HTMLFormElement(sipCpp->form());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        DOM::HTMLLegendElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLLegendElement,&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_HTMLLegendElement,sipName_accessKey);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLLegendElement,&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_HTMLLegendElement,sipName_setAccessKey);

    return NULL;
}


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

    {
        DOM::HTMLLegendElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLLegendElement,&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_HTMLLegendElement,sipName_align);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLLegendElement,&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_HTMLLegendElement,sipName_setAlign);

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLLegendElement)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


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

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


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

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

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

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_HTMLLegendElement,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLLegendElement(*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_HTMLLegendElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_DOM_HTMLLegendElement[] = {
    {SIP_MLNAME_CAST(sipName_accessKey), meth_DOM_HTMLLegendElement_accessKey, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_align), meth_DOM_HTMLLegendElement_align, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLLegendElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_form), meth_DOM_HTMLLegendElement_form, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAccessKey), meth_DOM_HTMLLegendElement_setAccessKey, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlign), meth_DOM_HTMLLegendElement_setAlign, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_khtml_DOM_HTMLLegendElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLLegendElement,
        {0}
    },
    sipNameNr_HTMLLegendElement,
    -1,
    -1,
    {0, 255, 0},
    supers_DOM_HTMLLegendElement,
    0,
    6, methods_DOM_HTMLLegendElement,
    0, 0,
    0, 0,
    init_DOM_HTMLLegendElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLLegendElement,
    release_DOM_HTMLLegendElement,
    cast_DOM_HTMLLegendElement,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_DOM_HTMLLegendElement,
    0,
    0,
    0
};

#line 183 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_form.sip"
#include <html_form.h>
#line 6136 "sipkhtmlpart2.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 6140 "sipkhtmlpart2.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 6143 "sipkhtmlpart2.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 6146 "sipkhtmlpart2.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 6149 "sipkhtmlpart2.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 6152 "sipkhtmlpart2.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 6155 "sipkhtmlpart2.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 6158 "sipkhtmlpart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 6161 "sipkhtmlpart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 6164 "sipkhtmlpart2.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 6167 "sipkhtmlpart2.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 6170 "sipkhtmlpart2.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 6173 "sipkhtmlpart2.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 6176 "sipkhtmlpart2.cpp"


class sipDOM_HTMLLabelElement : public DOM::HTMLLabelElement
{
public:
    sipDOM_HTMLLabelElement();
    sipDOM_HTMLLabelElement(const DOM::HTMLLabelElement&);
    sipDOM_HTMLLabelElement(const DOM::Node&);
    ~sipDOM_HTMLLabelElement();

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

sipDOM_HTMLLabelElement::sipDOM_HTMLLabelElement(): DOM::HTMLLabelElement(), sipPySelf(0)
{
}

sipDOM_HTMLLabelElement::sipDOM_HTMLLabelElement(const DOM::HTMLLabelElement& a0): DOM::HTMLLabelElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLLabelElement::sipDOM_HTMLLabelElement(const DOM::Node& a0): DOM::HTMLLabelElement(a0), sipPySelf(0)
{
}

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

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


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9i",&sipSelf,sipType_DOM_HTMLLabelElement,&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_HTMLLabelElement,sipName_assignOther);

    return NULL;
}


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

    {
        DOM::HTMLLabelElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLLabelElement,&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_HTMLLabelElement,sipName_accessKey);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLLabelElement,&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_HTMLLabelElement,sipName_setAccessKey);

    return NULL;
}


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

    {
        DOM::HTMLLabelElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLLabelElement,&sipCpp,sipType_DOM_DOMString,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHtmlFor(*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_HTMLLabelElement,sipName_setHtmlFor);

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLLabelElement)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


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

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


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

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

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

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_HTMLLabelElement,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLLabelElement(*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_HTMLLabelElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_DOM_HTMLLabelElement[] = {
    {SIP_MLNAME_CAST(sipName_accessKey), meth_DOM_HTMLLabelElement_accessKey, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLLabelElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_htmlFor), meth_DOM_HTMLLabelElement_htmlFor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAccessKey), meth_DOM_HTMLLabelElement_setAccessKey, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHtmlFor), meth_DOM_HTMLLabelElement_setHtmlFor, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_khtml_DOM_HTMLLabelElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLLabelElement,
        {0}
    },
    sipNameNr_HTMLLabelElement,
    -1,
    -1,
    {0, 255, 0},
    supers_DOM_HTMLLabelElement,
    0,
    5, methods_DOM_HTMLLabelElement,
    0, 0,
    0, 0,
    init_DOM_HTMLLabelElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLLabelElement,
    release_DOM_HTMLLabelElement,
    cast_DOM_HTMLLabelElement,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_DOM_HTMLLabelElement,
    0,
    0,
    0
};

#line 116 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_form.sip"
#include <html_form.h>
#line 6517 "sipkhtmlpart2.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 6521 "sipkhtmlpart2.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 6524 "sipkhtmlpart2.cpp"
#line 81 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_form.sip"
#include <html_form.h>
#line 6527 "sipkhtmlpart2.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 6530 "sipkhtmlpart2.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 6533 "sipkhtmlpart2.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 6536 "sipkhtmlpart2.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 6539 "sipkhtmlpart2.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 6542 "sipkhtmlpart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 6545 "sipkhtmlpart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 6548 "sipkhtmlpart2.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 6551 "sipkhtmlpart2.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 6554 "sipkhtmlpart2.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 6557 "sipkhtmlpart2.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 6560 "sipkhtmlpart2.cpp"


class sipDOM_HTMLInputElement : public DOM::HTMLInputElement
{
public:
    sipDOM_HTMLInputElement();
    sipDOM_HTMLInputElement(const DOM::HTMLInputElement&);
    sipDOM_HTMLInputElement(const DOM::Node&);
    ~sipDOM_HTMLInputElement();

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

sipDOM_HTMLInputElement::sipDOM_HTMLInputElement(): DOM::HTMLInputElement(), sipPySelf(0)
{
}

sipDOM_HTMLInputElement::sipDOM_HTMLInputElement(const DOM::HTMLInputElement& a0): DOM::HTMLInputElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLInputElement::sipDOM_HTMLInputElement(const DOM::Node& a0): DOM::HTMLInputElement(a0), sipPySelf(0)
{
}

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

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


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9i",&sipSelf,sipType_DOM_HTMLInputElement,&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_HTMLInputElement,sipName_assignOther);

    return NULL;
}


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

    {
        DOM::HTMLInputElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLInputElement,&sipCpp,sipType_DOM_DOMString,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDefaultValue(*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_HTMLInputElement,sipName_setDefaultValue);

    return NULL;
}


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

    {
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLInputElement,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->defaultChecked();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_DOM_HTMLInputElement,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDefaultChecked(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_HTMLInputElement,sipName_setDefaultChecked);

    return NULL;
}


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

    {
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLInputElement,&sipCpp))
        {
            DOM::HTMLFormElement *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::HTMLFormElement(sipCpp->form());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        DOM::HTMLInputElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLInputElement,&sipCpp,sipType_DOM_DOMString,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAccept(*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_HTMLInputElement,sipName_setAccept);

    return NULL;
}


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

    {
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLInputElement,&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_HTMLInputElement,sipName_accessKey);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLInputElement,&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_HTMLInputElement,sipName_setAccessKey);

    return NULL;
}


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

    {
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLInputElement,&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_HTMLInputElement,sipName_align);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLInputElement,&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_HTMLInputElement,sipName_setAlign);

    return NULL;
}


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

    {
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLInputElement,&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_HTMLInputElement,sipName_alt);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLInputElement,&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_HTMLInputElement,sipName_setAlt);

    return NULL;
}


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

    {
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLInputElement,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->checked();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_DOM_HTMLInputElement,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setChecked(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_HTMLInputElement,sipName_setChecked);

    return NULL;
}


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

    {
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLInputElement,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->indeterminate();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_DOM_HTMLInputElement,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIndeterminate(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_HTMLInputElement,sipName_setIndeterminate);

    return NULL;
}


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

    {
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLInputElement,&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_HTMLInputElement,sipName_disabled);

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_DOM_HTMLInputElement,&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_HTMLInputElement,sipName_setDisabled);

    return NULL;
}


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

    {
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLInputElement,&sipCpp))
        {
            long sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->maxLength();
            Py_END_ALLOW_THREADS

            return PyLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bl",&sipSelf,sipType_DOM_HTMLInputElement,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMaxLength(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_HTMLInputElement,sipName_setMaxLength);

    return NULL;
}


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

    {
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLInputElement,&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_HTMLInputElement,sipName_name);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLInputElement,&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_HTMLInputElement,sipName_setName);

    return NULL;
}


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

    {
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLInputElement,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->readOnly();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_DOM_HTMLInputElement,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setReadOnly(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_HTMLInputElement,sipName_setReadOnly);

    return NULL;
}


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

    {
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLInputElement,&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_HTMLInputElement,sipName_size);

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        long a0;
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bl",&sipSelf,sipType_DOM_HTMLInputElement,&sipCpp,&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_HTMLInputElement,sipName_setSize);

    return NULL;
}


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

    {
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLInputElement,&sipCpp))
        {
            long sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->getSize();
            Py_END_ALLOW_THREADS

            return PyLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLInputElement,&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_HTMLInputElement,sipName_src);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLInputElement,&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_HTMLInputElement,sipName_setSrc);

    return NULL;
}


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

    {
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLInputElement,&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_HTMLInputElement,sipName_tabIndex);

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bl",&sipSelf,sipType_DOM_HTMLInputElement,&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_HTMLInputElement,sipName_setTabIndex);

    return NULL;
}


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

    {
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLInputElement,&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_HTMLInputElement,sipName_type);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLInputElement,&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_HTMLInputElement,sipName_setType);

    return NULL;
}


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

    {
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLInputElement,&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_HTMLInputElement,sipName_useMap);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLInputElement,&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_HTMLInputElement,sipName_setUseMap);

    return NULL;
}


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

    {
        DOM::HTMLInputElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLInputElement,&sipCpp,sipType_DOM_DOMString,&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_HTMLInputElement,sipName_setValue);

    return NULL;
}


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

    {
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLInputElement,&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_HTMLInputElement,sipName_blur);

    return NULL;
}


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

    {
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLInputElement,&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_HTMLInputElement,sipName_focus);

    return NULL;
}


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

    {
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLInputElement,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->select();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLInputElement,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->click();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLInputElement,&sipCpp))
        {
            long sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->selectionStart();
            Py_END_ALLOW_THREADS

            return PyLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bl",&sipSelf,sipType_DOM_HTMLInputElement,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSelectionStart(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_HTMLInputElement,sipName_setSelectionStart);

    return NULL;
}


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

    {
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLInputElement,&sipCpp))
        {
            long sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->selectionEnd();
            Py_END_ALLOW_THREADS

            return PyLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bl",&sipSelf,sipType_DOM_HTMLInputElement,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSelectionEnd(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_HTMLInputElement,sipName_setSelectionEnd);

    return NULL;
}


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

    {
        long a0;
        long a1;
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bll",&sipSelf,sipType_DOM_HTMLInputElement,&sipCpp,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSelectionRange(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_HTMLInputElement,sipName_setSelectionRange);

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLInputElement)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


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

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


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

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

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

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_HTMLInputElement,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLInputElement(*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_HTMLInputElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_DOM_HTMLInputElement[] = {
    {SIP_MLNAME_CAST(sipName_accept), meth_DOM_HTMLInputElement_accept, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_accessKey), meth_DOM_HTMLInputElement_accessKey, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_align), meth_DOM_HTMLInputElement_align, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_alt), meth_DOM_HTMLInputElement_alt, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLInputElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_blur), meth_DOM_HTMLInputElement_blur, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_checked), meth_DOM_HTMLInputElement_checked, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_click), meth_DOM_HTMLInputElement_click, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultChecked), meth_DOM_HTMLInputElement_defaultChecked, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultValue), meth_DOM_HTMLInputElement_defaultValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disabled), meth_DOM_HTMLInputElement_disabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focus), meth_DOM_HTMLInputElement_focus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_form), meth_DOM_HTMLInputElement_form, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getSize), meth_DOM_HTMLInputElement_getSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_indeterminate), meth_DOM_HTMLInputElement_indeterminate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_maxLength), meth_DOM_HTMLInputElement_maxLength, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_DOM_HTMLInputElement_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readOnly), meth_DOM_HTMLInputElement_readOnly, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_select), meth_DOM_HTMLInputElement_select, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectionEnd), meth_DOM_HTMLInputElement_selectionEnd, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectionStart), meth_DOM_HTMLInputElement_selectionStart, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAccept), meth_DOM_HTMLInputElement_setAccept, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAccessKey), meth_DOM_HTMLInputElement_setAccessKey, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlign), meth_DOM_HTMLInputElement_setAlign, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlt), meth_DOM_HTMLInputElement_setAlt, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setChecked), meth_DOM_HTMLInputElement_setChecked, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultChecked), meth_DOM_HTMLInputElement_setDefaultChecked, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultValue), meth_DOM_HTMLInputElement_setDefaultValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDisabled), meth_DOM_HTMLInputElement_setDisabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIndeterminate), meth_DOM_HTMLInputElement_setIndeterminate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMaxLength), meth_DOM_HTMLInputElement_setMaxLength, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setName), meth_DOM_HTMLInputElement_setName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setReadOnly), meth_DOM_HTMLInputElement_setReadOnly, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelectionEnd), meth_DOM_HTMLInputElement_setSelectionEnd, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelectionRange), meth_DOM_HTMLInputElement_setSelectionRange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelectionStart), meth_DOM_HTMLInputElement_setSelectionStart, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSize), meth_DOM_HTMLInputElement_setSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSrc), meth_DOM_HTMLInputElement_setSrc, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTabIndex), meth_DOM_HTMLInputElement_setTabIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setType), meth_DOM_HTMLInputElement_setType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUseMap), meth_DOM_HTMLInputElement_setUseMap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_DOM_HTMLInputElement_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_size), meth_DOM_HTMLInputElement_size, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_src), meth_DOM_HTMLInputElement_src, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabIndex), meth_DOM_HTMLInputElement_tabIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_type), meth_DOM_HTMLInputElement_type, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_useMap), meth_DOM_HTMLInputElement_useMap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_DOM_HTMLInputElement_value, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_khtml_DOM_HTMLInputElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLInputElement,
        {0}
    },
    sipNameNr_HTMLInputElement,
    -1,
    -1,
    {0, 255, 0},
    supers_DOM_HTMLInputElement,
    0,
    48, methods_DOM_HTMLInputElement,
    0, 0,
    0, 0,
    init_DOM_HTMLInputElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLInputElement,
    release_DOM_HTMLInputElement,
    cast_DOM_HTMLInputElement,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_DOM_HTMLInputElement,
    0,
    0,
    0
};

#line 81 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_form.sip"
#include <html_form.h>
#line 8117 "sipkhtmlpart2.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 8121 "sipkhtmlpart2.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 8124 "sipkhtmlpart2.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 8127 "sipkhtmlpart2.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 8130 "sipkhtmlpart2.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 8133 "sipkhtmlpart2.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 8136 "sipkhtmlpart2.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 8139 "sipkhtmlpart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 8142 "sipkhtmlpart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 8145 "sipkhtmlpart2.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 8148 "sipkhtmlpart2.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 8151 "sipkhtmlpart2.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 8154 "sipkhtmlpart2.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 8157 "sipkhtmlpart2.cpp"


class sipDOM_HTMLFormElement : public DOM::HTMLFormElement
{
public:
    sipDOM_HTMLFormElement();
    sipDOM_HTMLFormElement(const DOM::HTMLFormElement&);
    sipDOM_HTMLFormElement(const DOM::Node&);
    ~sipDOM_HTMLFormElement();

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

sipDOM_HTMLFormElement::sipDOM_HTMLFormElement(): DOM::HTMLFormElement(), sipPySelf(0)
{
}

sipDOM_HTMLFormElement::sipDOM_HTMLFormElement(const DOM::HTMLFormElement& a0): DOM::HTMLFormElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLFormElement::sipDOM_HTMLFormElement(const DOM::Node& a0): DOM::HTMLFormElement(a0), sipPySelf(0)
{
}

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

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


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9i",&sipSelf,sipType_DOM_HTMLFormElement,&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_HTMLFormElement,sipName_assignOther);

    return NULL;
}


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

    {
        DOM::HTMLFormElement *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        DOM::HTMLFormElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLFormElement,&sipCpp))
        {
            long sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->length();
            Py_END_ALLOW_THREADS

            return PyLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLFormElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLFormElement,&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_HTMLFormElement,sipName_name);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLFormElement,&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_HTMLFormElement,sipName_setName);

    return NULL;
}


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

    {
        DOM::HTMLFormElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLFormElement,&sipCpp,sipType_DOM_DOMString,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAcceptCharset(*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_HTMLFormElement,sipName_setAcceptCharset);

    return NULL;
}


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

    {
        DOM::HTMLFormElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLFormElement,&sipCpp,sipType_DOM_DOMString,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAction(*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_HTMLFormElement,sipName_setAction);

    return NULL;
}


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

    {
        DOM::HTMLFormElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLFormElement,&sipCpp,sipType_DOM_DOMString,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEnctype(*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_HTMLFormElement,sipName_setEnctype);

    return NULL;
}


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

    {
        DOM::HTMLFormElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLFormElement,&sipCpp,sipType_DOM_DOMString,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMethod(*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_HTMLFormElement,sipName_setMethod);

    return NULL;
}


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

    {
        DOM::HTMLFormElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLFormElement,&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_HTMLFormElement,sipName_target);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLFormElement,&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_HTMLFormElement,sipName_setTarget);

    return NULL;
}


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

    {
        DOM::HTMLFormElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLFormElement,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->submit();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLFormElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLFormElement,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->reset();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLFormElement)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


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

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


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

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

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

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_HTMLFormElement,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLFormElement(*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_HTMLFormElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_DOM_HTMLFormElement[] = {
    {SIP_MLNAME_CAST(sipName_acceptCharset), meth_DOM_HTMLFormElement_acceptCharset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_action), meth_DOM_HTMLFormElement_action, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLFormElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_elements), meth_DOM_HTMLFormElement_elements, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enctype), meth_DOM_HTMLFormElement_enctype, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_length), meth_DOM_HTMLFormElement_length, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_method), meth_DOM_HTMLFormElement_method, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_DOM_HTMLFormElement_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reset), meth_DOM_HTMLFormElement_reset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAcceptCharset), meth_DOM_HTMLFormElement_setAcceptCharset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAction), meth_DOM_HTMLFormElement_setAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEnctype), meth_DOM_HTMLFormElement_setEnctype, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMethod), meth_DOM_HTMLFormElement_setMethod, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setName), meth_DOM_HTMLFormElement_setName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTarget), meth_DOM_HTMLFormElement_setTarget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_submit), meth_DOM_HTMLFormElement_submit, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_target), meth_DOM_HTMLFormElement_target, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_khtml_DOM_HTMLFormElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLFormElement,
        {0}
    },
    sipNameNr_HTMLFormElement,
    -1,
    -1,
    {0, 255, 0},
    supers_DOM_HTMLFormElement,
    0,
    17, methods_DOM_HTMLFormElement,
    0, 0,
    0, 0,
    init_DOM_HTMLFormElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLFormElement,
    release_DOM_HTMLFormElement,
    cast_DOM_HTMLFormElement,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_DOM_HTMLFormElement,
    0,
    0,
    0
};

#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_form.sip"
#include <html_form.h>
#line 8832 "sipkhtmlpart2.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 8836 "sipkhtmlpart2.cpp"
#line 81 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_form.sip"
#include <html_form.h>
#line 8839 "sipkhtmlpart2.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 8842 "sipkhtmlpart2.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 8845 "sipkhtmlpart2.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 8848 "sipkhtmlpart2.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 8851 "sipkhtmlpart2.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 8854 "sipkhtmlpart2.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 8857 "sipkhtmlpart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 8860 "sipkhtmlpart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 8863 "sipkhtmlpart2.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 8866 "sipkhtmlpart2.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 8869 "sipkhtmlpart2.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 8872 "sipkhtmlpart2.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 8875 "sipkhtmlpart2.cpp"


class sipDOM_HTMLFieldSetElement : public DOM::HTMLFieldSetElement
{
public:
    sipDOM_HTMLFieldSetElement();
    sipDOM_HTMLFieldSetElement(const DOM::HTMLFieldSetElement&);
    sipDOM_HTMLFieldSetElement(const DOM::Node&);
    ~sipDOM_HTMLFieldSetElement();

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

sipDOM_HTMLFieldSetElement::sipDOM_HTMLFieldSetElement(): DOM::HTMLFieldSetElement(), sipPySelf(0)
{
}

sipDOM_HTMLFieldSetElement::sipDOM_HTMLFieldSetElement(const DOM::HTMLFieldSetElement& a0): DOM::HTMLFieldSetElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLFieldSetElement::sipDOM_HTMLFieldSetElement(const DOM::Node& a0): DOM::HTMLFieldSetElement(a0), sipPySelf(0)
{
}

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

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


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9i",&sipSelf,sipType_DOM_HTMLFieldSetElement,&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_HTMLFieldSetElement,sipName_assignOther);

    return NULL;
}


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

    {
        DOM::HTMLFieldSetElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLFieldSetElement,&sipCpp))
        {
            DOM::HTMLFormElement *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::HTMLFormElement(sipCpp->form());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLFieldSetElement)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


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

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


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

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

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

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_HTMLFieldSetElement,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLFieldSetElement(*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_HTMLFieldSetElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_DOM_HTMLFieldSetElement[] = {
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLFieldSetElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_form), meth_DOM_HTMLFieldSetElement_form, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_khtml_DOM_HTMLFieldSetElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLFieldSetElement,
        {0}
    },
    sipNameNr_HTMLFieldSetElement,
    -1,
    -1,
    {0, 255, 0},
    supers_DOM_HTMLFieldSetElement,
    0,
    2, methods_DOM_HTMLFieldSetElement,
    0, 0,
    0, 0,
    init_DOM_HTMLFieldSetElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLFieldSetElement,
    release_DOM_HTMLFieldSetElement,
    cast_DOM_HTMLFieldSetElement,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_DOM_HTMLFieldSetElement,
    0,
    0,
    0
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_form.sip"
#include <html_form.h>
#line 9132 "sipkhtmlpart2.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 9136 "sipkhtmlpart2.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 9139 "sipkhtmlpart2.cpp"
#line 81 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_form.sip"
#include <html_form.h>
#line 9142 "sipkhtmlpart2.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 9145 "sipkhtmlpart2.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 9148 "sipkhtmlpart2.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 9151 "sipkhtmlpart2.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 9154 "sipkhtmlpart2.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 9157 "sipkhtmlpart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 9160 "sipkhtmlpart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 9163 "sipkhtmlpart2.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 9166 "sipkhtmlpart2.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 9169 "sipkhtmlpart2.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 9172 "sipkhtmlpart2.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 9175 "sipkhtmlpart2.cpp"


class sipDOM_HTMLButtonElement : public DOM::HTMLButtonElement
{
public:
    sipDOM_HTMLButtonElement();
    sipDOM_HTMLButtonElement(const DOM::HTMLButtonElement&);
    sipDOM_HTMLButtonElement(const DOM::Node&);
    ~sipDOM_HTMLButtonElement();

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

sipDOM_HTMLButtonElement::sipDOM_HTMLButtonElement(): DOM::HTMLButtonElement(), sipPySelf(0)
{
}

sipDOM_HTMLButtonElement::sipDOM_HTMLButtonElement(const DOM::HTMLButtonElement& a0): DOM::HTMLButtonElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLButtonElement::sipDOM_HTMLButtonElement(const DOM::Node& a0): DOM::HTMLButtonElement(a0), sipPySelf(0)
{
}

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

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


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9i",&sipSelf,sipType_DOM_HTMLButtonElement,&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_HTMLButtonElement,sipName_assignOther);

    return NULL;
}


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

    {
        DOM::HTMLButtonElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLButtonElement,&sipCpp))
        {
            DOM::HTMLFormElement *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::HTMLFormElement(sipCpp->form());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        DOM::HTMLButtonElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLButtonElement,&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_HTMLButtonElement,sipName_accessKey);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLButtonElement,&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_HTMLButtonElement,sipName_setAccessKey);

    return NULL;
}


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

    {
        DOM::HTMLButtonElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLButtonElement,&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_HTMLButtonElement,sipName_disabled);

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLButtonElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_DOM_HTMLButtonElement,&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_HTMLButtonElement,sipName_setDisabled);

    return NULL;
}


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

    {
        DOM::HTMLButtonElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLButtonElement,&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_HTMLButtonElement,sipName_name);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLButtonElement,&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_HTMLButtonElement,sipName_setName);

    return NULL;
}


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

    {
        DOM::HTMLButtonElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLButtonElement,&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_HTMLButtonElement,sipName_tabIndex);

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLButtonElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bl",&sipSelf,sipType_DOM_HTMLButtonElement,&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_HTMLButtonElement,sipName_setTabIndex);

    return NULL;
}


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

    {
        DOM::HTMLButtonElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLButtonElement,&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_HTMLButtonElement,sipName_type);

    return NULL;
}


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

    {
        DOM::HTMLButtonElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLButtonElement,&sipCpp,sipType_DOM_DOMString,&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_HTMLButtonElement,sipName_setValue);

    return NULL;
}


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

    {
        DOM::HTMLButtonElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLButtonElement,&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_HTMLButtonElement,sipName_blur);

    return NULL;
}


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

    {
        DOM::HTMLButtonElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLButtonElement,&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_HTMLButtonElement,sipName_focus);

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLButtonElement)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


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

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


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

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

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

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_HTMLButtonElement,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipDOM_HTMLButtonElement(*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_HTMLButtonElement(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_DOM_HTMLButtonElement[] = {
    {SIP_MLNAME_CAST(sipName_accessKey), meth_DOM_HTMLButtonElement_accessKey, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLButtonElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_blur), meth_DOM_HTMLButtonElement_blur, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disabled), meth_DOM_HTMLButtonElement_disabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focus), meth_DOM_HTMLButtonElement_focus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_form), meth_DOM_HTMLButtonElement_form, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_DOM_HTMLButtonElement_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAccessKey), meth_DOM_HTMLButtonElement_setAccessKey, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDisabled), meth_DOM_HTMLButtonElement_setDisabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setName), meth_DOM_HTMLButtonElement_setName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTabIndex), meth_DOM_HTMLButtonElement_setTabIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_DOM_HTMLButtonElement_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabIndex), meth_DOM_HTMLButtonElement_tabIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_type), meth_DOM_HTMLButtonElement_type, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_DOM_HTMLButtonElement_value, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_khtml_DOM_HTMLButtonElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLButtonElement,
        {0}
    },
    sipNameNr_HTMLButtonElement,
    -1,
    -1,
    {0, 255, 0},
    supers_DOM_HTMLButtonElement,
    0,
    15, methods_DOM_HTMLButtonElement,
    0, 0,
    0, 0,
    init_DOM_HTMLButtonElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLButtonElement,
    release_DOM_HTMLButtonElement,
    cast_DOM_HTMLButtonElement,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_DOM_HTMLButtonElement,
    0,
    0,
    0
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_document.sip"
#include <html_document.h>
#line 9794 "sipkhtmlpart2.cpp"

#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/khtmlview.sip"
#include <khtmlview.h>
#line 9798 "sipkhtmlpart2.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 9801 "sipkhtmlpart2.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 9804 "sipkhtmlpart2.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 9807 "sipkhtmlpart2.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 9810 "sipkhtmlpart2.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_element.sip"
#include <html_element.h>
#line 9813 "sipkhtmlpart2.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 9816 "sipkhtmlpart2.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 9819 "sipkhtmlpart2.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 9822 "sipkhtmlpart2.cpp"
#line 101 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/css_stylesheet.sip"
#include <css_stylesheet.h>
#line 9825 "sipkhtmlpart2.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_views.sip"
#include <dom2_views.h>
#line 9828 "sipkhtmlpart2.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 9831 "sipkhtmlpart2.cpp"
#line 114 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_traversal.sip"
#include <dom2_traversal.h>
#line 9834 "sipkhtmlpart2.cpp"
#line 53 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_traversal.sip"
#include <dom2_traversal.h>
#line 9837 "sipkhtmlpart2.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_traversal.sip"
#include <dom2_traversal.h>
#line 9840 "sipkhtmlpart2.cpp"
#line 51 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_range.sip"
#include <dom2_range.h>
#line 9843 "sipkhtmlpart2.cpp"
#line 65 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_xml.sip"
#include <dom_xml.h>
#line 9846 "sipkhtmlpart2.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 9849 "sipkhtmlpart2.cpp"
#line 101 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_xml.sip"
#include <dom_xml.h>
#line 9852 "sipkhtmlpart2.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_xml.sip"
#include <dom_xml.h>
#line 9855 "sipkhtmlpart2.cpp"
#line 53 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_text.sip"
#include <dom_text.h>
#line 9858 "sipkhtmlpart2.cpp"
#line 70 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_text.sip"
#include <dom_text.h>
#line 9861 "sipkhtmlpart2.cpp"
#line 120 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 9864 "sipkhtmlpart2.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 9867 "sipkhtmlpart2.cpp"
#line 137 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 9870 "sipkhtmlpart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 9873 "sipkhtmlpart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 9876 "sipkhtmlpart2.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 9879 "sipkhtmlpart2.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 9882 "sipkhtmlpart2.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 9885 "sipkhtmlpart2.cpp"


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

    {
        DOM::HTMLDocument *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLDocument *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        DOM::HTMLDocument *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        DOM::HTMLDocument *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        DOM::HTMLDocument *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLDocument,&sipCpp))
        {
            DOM::HTMLElement *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::HTMLElement(sipCpp->body());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLDocument,&sipCpp,sipType_DOM_HTMLElement,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setBody(*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_HTMLDocument,sipName_setBody);

    return NULL;
}


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

    {
        DOM::HTMLDocument *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        DOM::HTMLDocument *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        DOM::HTMLDocument *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        DOM::HTMLDocument *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        DOM::HTMLDocument *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        DOM::HTMLDocument *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        DOM::HTMLDocument *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        DOM::HTMLDocument *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLDocument,&sipCpp,sipType_DOM_DOMString,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCookie(*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_HTMLDocument,sipName_setCookie);

    return NULL;
}


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

    {
        DOM::HTMLDocument *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLDocument,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->open();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLDocument *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_HTMLDocument,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->close();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLDocument,&sipCpp,sipType_DOM_DOMString,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->write(*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_HTMLDocument,sipName_write);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLDocument,&sipCpp,sipType_DOM_DOMString,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeln(*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_HTMLDocument,sipName_writeln);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLDocument,&sipCpp,sipType_DOM_DOMString,&a0))
        {
            DOM::NodeList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::NodeList(sipCpp->getElementsByName(*a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_DOM_HTMLDocument,&sipCpp,sipType_DOM_DOMString,&a0))
        {
            DOM::DOMString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->completeURL(*a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        DOM::HTMLDocument *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        DOM::HTMLDocument *sipCpp;

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

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

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

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

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLDocument)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_DOM_Document)->ctd_cast((DOM::Document *)(DOM::HTMLDocument *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


extern "C" {static void dealloc_DOM_HTMLDocument(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLDocument(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLDocument(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_DOM_HTMLDocument(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_DOM_HTMLDocument(sipSimpleWrapper *, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    DOM::HTMLDocument *sipCpp = 0;

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

    if (!sipCpp)
    {
        KHTMLView * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"JH",sipType_KHTMLView,&a0,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::HTMLDocument(a0);
            Py_END_ALLOW_THREADS
        }
    }

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

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_HTMLDocument,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::HTMLDocument(*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 DOM::HTMLDocument(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


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


static PyMethodDef methods_DOM_HTMLDocument[] = {
    {SIP_MLNAME_CAST(sipName_URL), meth_DOM_HTMLDocument_URL, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_all), meth_DOM_HTMLDocument_all, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_anchors), meth_DOM_HTMLDocument_anchors, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_applets), meth_DOM_HTMLDocument_applets, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_body), meth_DOM_HTMLDocument_body, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_close), meth_DOM_HTMLDocument_close, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_completeURL), meth_DOM_HTMLDocument_completeURL, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_cookie), meth_DOM_HTMLDocument_cookie, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_domain), meth_DOM_HTMLDocument_domain, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_forms), meth_DOM_HTMLDocument_forms, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getElementsByName), meth_DOM_HTMLDocument_getElementsByName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_images), meth_DOM_HTMLDocument_images, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_lastModified), meth_DOM_HTMLDocument_lastModified, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_layers), meth_DOM_HTMLDocument_layers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_links), meth_DOM_HTMLDocument_links, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_open), meth_DOM_HTMLDocument_open, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_referrer), meth_DOM_HTMLDocument_referrer, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_scripts), meth_DOM_HTMLDocument_scripts, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setBody), meth_DOM_HTMLDocument_setBody, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCookie), meth_DOM_HTMLDocument_setCookie, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTitle), meth_DOM_HTMLDocument_setTitle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_title), meth_DOM_HTMLDocument_title, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_write), meth_DOM_HTMLDocument_write, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeln), meth_DOM_HTMLDocument_writeln, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_khtml_DOM_HTMLDocument = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLDocument,
        {0}
    },
    sipNameNr_HTMLDocument,
    -1,
    -1,
    {0, 255, 0},
    supers_DOM_HTMLDocument,
    0,
    24, methods_DOM_HTMLDocument,
    0, 0,
    0, 0,
    init_DOM_HTMLDocument,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLDocument,
    release_DOM_HTMLDocument,
    cast_DOM_HTMLDocument,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_DOM_HTMLDocument,
    0,
    0,
    0
};
