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

#include "sipAPIkhtml.h"

#line 122 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_head.sip"
#include <html_head.h>
#line 12 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"

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


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

    {
        const DOM::HTMLScriptElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLScriptElement, sipName_text, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLScriptElement, sipName_setText, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLScriptElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLScriptElement, sipName_htmlFor, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLScriptElement, sipName_setHtmlFor, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLScriptElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLScriptElement, sipName_event, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLScriptElement, sipName_setEvent, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLScriptElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLScriptElement, sipName_charset, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLScriptElement, sipName_setCharset, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLScriptElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLScriptElement, sipName_defer, NULL);

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLScriptElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLScriptElement, sipName_setDefer, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLScriptElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLScriptElement, sipName_src, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLScriptElement, sipName_setSrc, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLScriptElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLScriptElement, sipName_type, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLScriptElement, sipName_setType, NULL);

    return NULL;
}


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

    delete reinterpret_cast<DOM::HTMLScriptElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


extern "C" {static void dealloc_DOM_HTMLScriptElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLScriptElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLScriptElement(sipGetAddress(sipSelf),0);
    }
}


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

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLScriptElement* a0;

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

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

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

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_DOM_HTMLScriptElement[] = {
    {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 sipTypeDef_khtml_DOM_HTMLScriptElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLScriptElement,
        {0}
    },
    {
        sipNameNr_HTMLScriptElement,
        {0, 255, 0},
        14, methods_DOM_HTMLScriptElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLScriptElement,
    0,
    init_type_DOM_HTMLScriptElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLScriptElement,
    assign_DOM_HTMLScriptElement,
    array_DOM_HTMLScriptElement,
    copy_DOM_HTMLScriptElement,
    release_DOM_HTMLScriptElement,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 93 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_head.sip"
#include <html_head.h>
#line 599 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 603 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 606 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 609 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 612 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 615 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 618 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 621 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 624 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 627 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 630 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 633 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 636 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 639 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"


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

    {
        const DOM::HTMLMetaElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLMetaElement, sipName_content, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLMetaElement, sipName_setContent, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLMetaElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLMetaElement, sipName_httpEquiv, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLMetaElement, sipName_setHttpEquiv, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLMetaElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLMetaElement, sipName_name, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLMetaElement, sipName_setName, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLMetaElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLMetaElement, sipName_scheme, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLMetaElement, sipName_setScheme, NULL);

    return NULL;
}


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

    delete reinterpret_cast<DOM::HTMLMetaElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


extern "C" {static void dealloc_DOM_HTMLMetaElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLMetaElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLMetaElement(sipGetAddress(sipSelf),0);
    }
}


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

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLMetaElement* a0;

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

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

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

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_DOM_HTMLMetaElement[] = {
    {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 sipTypeDef_khtml_DOM_HTMLMetaElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLMetaElement,
        {0}
    },
    {
        sipNameNr_HTMLMetaElement,
        {0, 255, 0},
        8, methods_DOM_HTMLMetaElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLMetaElement,
    0,
    init_type_DOM_HTMLMetaElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLMetaElement,
    assign_DOM_HTMLMetaElement,
    array_DOM_HTMLMetaElement,
    copy_DOM_HTMLMetaElement,
    release_DOM_HTMLMetaElement,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 53 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_head.sip"
#include <html_head.h>
#line 1018 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1022 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/css_stylesheet.sip"
#include <css_stylesheet.h>
#line 1025 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 1028 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 1031 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1034 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 1037 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 1040 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 1043 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 1046 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 1049 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 1052 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 1055 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 1058 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1061 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"


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

    {
        const DOM::HTMLLinkElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLLinkElement, sipName_disabled, NULL);

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLLinkElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLLinkElement, sipName_setDisabled, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLLinkElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLLinkElement, sipName_charset, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLLinkElement, sipName_setCharset, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLLinkElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLLinkElement, sipName_href, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLLinkElement, sipName_setHref, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLLinkElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLLinkElement, sipName_hreflang, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLLinkElement, sipName_setHreflang, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLLinkElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLLinkElement, sipName_media, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLLinkElement, sipName_setMedia, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLLinkElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLLinkElement, sipName_rel, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLLinkElement, sipName_setRel, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLLinkElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLLinkElement, sipName_rev, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLLinkElement, sipName_setRev, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLLinkElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLLinkElement, sipName_target, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLLinkElement, sipName_setTarget, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLLinkElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLLinkElement, sipName_type, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLLinkElement, sipName_setType, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLLinkElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLLinkElement, sipName_sheet, NULL);

    return NULL;
}


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

    delete reinterpret_cast<DOM::HTMLLinkElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


extern "C" {static void dealloc_DOM_HTMLLinkElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLLinkElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLLinkElement(sipGetAddress(sipSelf),0);
    }
}


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

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLLinkElement* a0;

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

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

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

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_DOM_HTMLLinkElement[] = {
    {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 sipTypeDef_khtml_DOM_HTMLLinkElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLLinkElement,
        {0}
    },
    {
        sipNameNr_HTMLLinkElement,
        {0, 255, 0},
        19, methods_DOM_HTMLLinkElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLLinkElement,
    0,
    init_type_DOM_HTMLLinkElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLLinkElement,
    assign_DOM_HTMLLinkElement,
    array_DOM_HTMLLinkElement,
    copy_DOM_HTMLLinkElement,
    release_DOM_HTMLLinkElement,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_head.sip"
#include <html_head.h>
#line 1748 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1752 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 1755 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 1758 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1761 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 1764 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 1767 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 1770 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 1773 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 1776 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 1779 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 1782 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 1785 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1788 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"


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

    {
        const DOM::HTMLBaseElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLBaseElement, sipName_href, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLBaseElement, sipName_setHref, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLBaseElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLBaseElement, sipName_target, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLBaseElement, sipName_setTarget, NULL);

    return NULL;
}


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

    delete reinterpret_cast<DOM::HTMLBaseElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


extern "C" {static void dealloc_DOM_HTMLBaseElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLBaseElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLBaseElement(sipGetAddress(sipSelf),0);
    }
}


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

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLBaseElement* a0;

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

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

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

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_DOM_HTMLBaseElement[] = {
    {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 sipTypeDef_khtml_DOM_HTMLBaseElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLBaseElement,
        {0}
    },
    {
        sipNameNr_HTMLBaseElement,
        {0, 255, 0},
        4, methods_DOM_HTMLBaseElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLBaseElement,
    0,
    init_type_DOM_HTMLBaseElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLBaseElement,
    assign_DOM_HTMLBaseElement,
    array_DOM_HTMLBaseElement,
    copy_DOM_HTMLBaseElement,
    release_DOM_HTMLBaseElement,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 395 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_form.sip"
#include <html_form.h>
#line 2055 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2059 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 2062 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 85 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_form.sip"
#include <html_form.h>
#line 2065 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 2068 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2071 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 2074 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 2077 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 2080 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 2083 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 2086 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 2089 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 2092 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 2095 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2098 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"


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

    {
        const DOM::HTMLIsIndexElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLIsIndexElement, sipName_form, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLIsIndexElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLIsIndexElement, sipName_prompt, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLIsIndexElement, sipName_setPrompt, NULL);

    return NULL;
}


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

    delete reinterpret_cast<DOM::HTMLIsIndexElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


extern "C" {static void dealloc_DOM_HTMLIsIndexElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLIsIndexElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLIsIndexElement(sipGetAddress(sipSelf),0);
    }
}


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

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLIsIndexElement* a0;

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

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

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

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_DOM_HTMLIsIndexElement[] = {
    {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 sipTypeDef_khtml_DOM_HTMLIsIndexElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLIsIndexElement,
        {0}
    },
    {
        sipNameNr_HTMLIsIndexElement,
        {0, 255, 0},
        3, methods_DOM_HTMLIsIndexElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLIsIndexElement,
    0,
    init_type_DOM_HTMLIsIndexElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLIsIndexElement,
    assign_DOM_HTMLIsIndexElement,
    array_DOM_HTMLIsIndexElement,
    copy_DOM_HTMLIsIndexElement,
    release_DOM_HTMLIsIndexElement,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 360 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_form.sip"
#include <html_form.h>
#line 2337 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2341 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 2344 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 85 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_form.sip"
#include <html_form.h>
#line 2347 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 2350 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2353 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 2356 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 2359 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 2362 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 2365 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 2368 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 2371 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 2374 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 2377 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2380 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"


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

    {
        const DOM::HTMLOptionElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLOptionElement, sipName_form, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLOptionElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLOptionElement, sipName_defaultSelected, NULL);

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLOptionElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLOptionElement, sipName_setDefaultSelected, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLOptionElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLOptionElement, sipName_text, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLOptionElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLOptionElement, sipName_index, NULL);

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLOptionElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLOptionElement, sipName_setIndex, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLOptionElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLOptionElement, sipName_disabled, NULL);

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLOptionElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLOptionElement, sipName_setDisabled, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLOptionElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLOptionElement, sipName_label, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLOptionElement, sipName_setLabel, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLOptionElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLOptionElement, sipName_selected, NULL);

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLOptionElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLOptionElement, sipName_setSelected, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLOptionElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLOptionElement, sipName_value, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLOptionElement, sipName_setValue, NULL);

    return NULL;
}


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

    delete reinterpret_cast<DOM::HTMLOptionElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


extern "C" {static void dealloc_DOM_HTMLOptionElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLOptionElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLOptionElement(sipGetAddress(sipSelf),0);
    }
}


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

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLOptionElement* a0;

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

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

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

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_DOM_HTMLOptionElement[] = {
    {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 sipTypeDef_khtml_DOM_HTMLOptionElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLOptionElement,
        {0}
    },
    {
        sipNameNr_HTMLOptionElement,
        {0, 255, 0},
        14, methods_DOM_HTMLOptionElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLOptionElement,
    0,
    init_type_DOM_HTMLOptionElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLOptionElement,
    assign_DOM_HTMLOptionElement,
    array_DOM_HTMLOptionElement,
    copy_DOM_HTMLOptionElement,
    release_DOM_HTMLOptionElement,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 310 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_form.sip"
#include <html_form.h>
#line 2927 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2931 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 2934 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 85 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_form.sip"
#include <html_form.h>
#line 2937 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 2940 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2943 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 2946 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 2949 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 2952 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 2955 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 2958 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 2961 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 2964 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 2967 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2970 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"


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

    {
        const DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLTextAreaElement, sipName_defaultValue, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLTextAreaElement, sipName_setDefaultValue, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLTextAreaElement, sipName_form, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLTextAreaElement, sipName_accessKey, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLTextAreaElement, sipName_setAccessKey, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLTextAreaElement, sipName_cols, NULL);

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLTextAreaElement, sipName_setCols, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLTextAreaElement, sipName_disabled, NULL);

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLTextAreaElement, sipName_setDisabled, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLTextAreaElement, sipName_name, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLTextAreaElement, sipName_setName, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLTextAreaElement, sipName_readOnly, NULL);

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLTextAreaElement, sipName_setReadOnly, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLTextAreaElement, sipName_rows, NULL);

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLTextAreaElement, sipName_setRows, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLTextAreaElement, sipName_tabIndex, NULL);

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLTextAreaElement, sipName_setTabIndex, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLTextAreaElement, sipName_type, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLTextAreaElement, sipName_value, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLTextAreaElement, sipName_setValue, NULL);

    return NULL;
}


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

    {
        DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLTextAreaElement, sipName_blur, NULL);

    return NULL;
}


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

    {
        DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLTextAreaElement, sipName_focus, NULL);

    return NULL;
}


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

    {
        DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLTextAreaElement, sipName_select, NULL);

    return NULL;
}


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

    {
        DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLTextAreaElement, sipName_selectionStart, NULL);

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLTextAreaElement, sipName_setSelectionStart, NULL);

    return NULL;
}


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

    {
        DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLTextAreaElement, sipName_selectionEnd, NULL);

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLTextAreaElement, sipName_setSelectionEnd, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLTextAreaElement, sipName_setSelectionRange, NULL);

    return NULL;
}


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

    {
        DOM::HTMLTextAreaElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLTextAreaElement, sipName_textLength, NULL);

    return NULL;
}


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

    delete reinterpret_cast<DOM::HTMLTextAreaElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


extern "C" {static void dealloc_DOM_HTMLTextAreaElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLTextAreaElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLTextAreaElement(sipGetAddress(sipSelf),0);
    }
}


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

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLTextAreaElement* a0;

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

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

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

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_DOM_HTMLTextAreaElement[] = {
    {SIP_MLNAME_CAST(sipName_accessKey), meth_DOM_HTMLTextAreaElement_accessKey, 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 sipTypeDef_khtml_DOM_HTMLTextAreaElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLTextAreaElement,
        {0}
    },
    {
        sipNameNr_HTMLTextAreaElement,
        {0, 255, 0},
        29, methods_DOM_HTMLTextAreaElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLTextAreaElement,
    0,
    init_type_DOM_HTMLTextAreaElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLTextAreaElement,
    assign_DOM_HTMLTextAreaElement,
    array_DOM_HTMLTextAreaElement,
    copy_DOM_HTMLTextAreaElement,
    release_DOM_HTMLTextAreaElement,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 267 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_form.sip"
#include <html_form.h>
#line 3935 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 3939 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_element.sip"
#include <html_element.h>
#line 3942 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 3945 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 3948 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 85 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_form.sip"
#include <html_form.h>
#line 3951 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 3954 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 3957 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 3960 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 3963 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 3966 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 3969 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 3972 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 3975 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 3978 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 3981 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"


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

    {
        const DOM::HTMLSelectElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLSelectElement, sipName_type, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLSelectElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLSelectElement, sipName_selectedIndex, NULL);

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLSelectElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLSelectElement, sipName_setSelectedIndex, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLSelectElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLSelectElement, sipName_value, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLSelectElement, sipName_setValue, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLSelectElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLSelectElement, sipName_length, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLSelectElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLSelectElement, sipName_form, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLSelectElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLSelectElement, sipName_options, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLSelectElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLSelectElement, sipName_disabled, NULL);

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLSelectElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLSelectElement, sipName_setDisabled, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLSelectElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLSelectElement, sipName_multiple, NULL);

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLSelectElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLSelectElement, sipName_setMultiple, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLSelectElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLSelectElement, sipName_name, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLSelectElement, sipName_setName, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLSelectElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLSelectElement, sipName_size, NULL);

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLSelectElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLSelectElement, sipName_setSize, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLSelectElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLSelectElement, sipName_tabIndex, NULL);

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLSelectElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLSelectElement, sipName_setTabIndex, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLSelectElement, sipName_add, NULL);

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLSelectElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLSelectElement, sipName_remove, NULL);

    return NULL;
}


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

    {
        DOM::HTMLSelectElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLSelectElement, sipName_blur, NULL);

    return NULL;
}


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

    {
        DOM::HTMLSelectElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLSelectElement, sipName_focus, NULL);

    return NULL;
}


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

    delete reinterpret_cast<DOM::HTMLSelectElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


extern "C" {static void dealloc_DOM_HTMLSelectElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLSelectElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLSelectElement(sipGetAddress(sipSelf),0);
    }
}


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

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLSelectElement* a0;

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

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

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

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_DOM_HTMLSelectElement[] = {
    {SIP_MLNAME_CAST(sipName_add), meth_DOM_HTMLSelectElement_add, 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 sipTypeDef_khtml_DOM_HTMLSelectElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLSelectElement,
        {0}
    },
    {
        sipNameNr_HTMLSelectElement,
        {0, 255, 0},
        22, methods_DOM_HTMLSelectElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLSelectElement,
    0,
    init_type_DOM_HTMLSelectElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLSelectElement,
    assign_DOM_HTMLSelectElement,
    array_DOM_HTMLSelectElement,
    copy_DOM_HTMLSelectElement,
    release_DOM_HTMLSelectElement,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 242 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_form.sip"
#include <html_form.h>
#line 4751 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 4755 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 4758 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 4761 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 4764 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 4767 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 4770 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 4773 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 4776 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 4779 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 4782 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 4785 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 4788 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 4791 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"


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

    {
        const DOM::HTMLOptGroupElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLOptGroupElement, sipName_disabled, NULL);

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLOptGroupElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLOptGroupElement, sipName_setDisabled, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLOptGroupElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLOptGroupElement, sipName_label, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLOptGroupElement, sipName_setLabel, NULL);

    return NULL;
}


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

    delete reinterpret_cast<DOM::HTMLOptGroupElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


extern "C" {static void dealloc_DOM_HTMLOptGroupElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLOptGroupElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLOptGroupElement(sipGetAddress(sipSelf),0);
    }
}


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

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLOptGroupElement* a0;

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

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

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

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_DOM_HTMLOptGroupElement[] = {
    {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 sipTypeDef_khtml_DOM_HTMLOptGroupElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLOptGroupElement,
        {0}
    },
    {
        sipNameNr_HTMLOptGroupElement,
        {0, 255, 0},
        4, methods_DOM_HTMLOptGroupElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLOptGroupElement,
    0,
    init_type_DOM_HTMLOptGroupElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLOptGroupElement,
    assign_DOM_HTMLOptGroupElement,
    array_DOM_HTMLOptGroupElement,
    copy_DOM_HTMLOptGroupElement,
    release_DOM_HTMLOptGroupElement,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 216 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_form.sip"
#include <html_form.h>
#line 5058 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 5062 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 5065 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 85 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_form.sip"
#include <html_form.h>
#line 5068 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 5071 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 5074 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 5077 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 5080 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 5083 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 5086 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 5089 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 5092 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 5095 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 5098 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 5101 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"


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

    {
        const DOM::HTMLLegendElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLLegendElement, sipName_form, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLLegendElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLLegendElement, sipName_accessKey, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLLegendElement, sipName_setAccessKey, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLLegendElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLLegendElement, sipName_align, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLLegendElement, sipName_setAlign, NULL);

    return NULL;
}


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

    delete reinterpret_cast<DOM::HTMLLegendElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


extern "C" {static void dealloc_DOM_HTMLLegendElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLLegendElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLLegendElement(sipGetAddress(sipSelf),0);
    }
}


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

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLLegendElement* a0;

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

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

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

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_DOM_HTMLLegendElement[] = {{59, 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_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 sipTypeDef_khtml_DOM_HTMLLegendElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLLegendElement,
        {0}
    },
    {
        sipNameNr_HTMLLegendElement,
        {0, 255, 0},
        5, methods_DOM_HTMLLegendElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLLegendElement,
    0,
    init_type_DOM_HTMLLegendElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLLegendElement,
    assign_DOM_HTMLLegendElement,
    array_DOM_HTMLLegendElement,
    copy_DOM_HTMLLegendElement,
    release_DOM_HTMLLegendElement,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 191 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_form.sip"
#include <html_form.h>
#line 5396 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 5400 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 5403 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 5406 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 5409 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 5412 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 5415 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 5418 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 5421 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 5424 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 5427 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 5430 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 5433 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 5436 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"


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

    {
        const DOM::HTMLLabelElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLLabelElement, sipName_accessKey, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLLabelElement, sipName_setAccessKey, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLLabelElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLLabelElement, sipName_htmlFor, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLLabelElement, sipName_setHtmlFor, NULL);

    return NULL;
}


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

    delete reinterpret_cast<DOM::HTMLLabelElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


extern "C" {static void dealloc_DOM_HTMLLabelElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLLabelElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLLabelElement(sipGetAddress(sipSelf),0);
    }
}


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

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLLabelElement* a0;

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

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

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

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_DOM_HTMLLabelElement[] = {
    {SIP_MLNAME_CAST(sipName_accessKey), meth_DOM_HTMLLabelElement_accessKey, 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 sipTypeDef_khtml_DOM_HTMLLabelElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLLabelElement,
        {0}
    },
    {
        sipNameNr_HTMLLabelElement,
        {0, 255, 0},
        4, methods_DOM_HTMLLabelElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLLabelElement,
    0,
    init_type_DOM_HTMLLabelElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLLabelElement,
    assign_DOM_HTMLLabelElement,
    array_DOM_HTMLLabelElement,
    copy_DOM_HTMLLabelElement,
    release_DOM_HTMLLabelElement,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 122 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_form.sip"
#include <html_form.h>
#line 5703 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 5707 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 5710 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 85 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_form.sip"
#include <html_form.h>
#line 5713 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 5716 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 5719 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 5722 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 5725 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 5728 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 5731 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 5734 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 5737 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 5740 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 5743 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 5746 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"


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

    {
        const DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_defaultValue, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_setDefaultValue, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_defaultChecked, NULL);

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_setDefaultChecked, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_form, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_accept, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_setAccept, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_accessKey, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_setAccessKey, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_align, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_setAlign, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_alt, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_setAlt, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_checked, NULL);

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_setChecked, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_indeterminate, NULL);

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_setIndeterminate, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_disabled, NULL);

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_setDisabled, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_maxLength, NULL);

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_setMaxLength, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_name, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_setName, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_readOnly, NULL);

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_setReadOnly, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_size, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_setSize, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_getSize, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_src, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_setSrc, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_tabIndex, NULL);

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_setTabIndex, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_type, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_setType, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_useMap, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_setUseMap, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_value, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_setValue, NULL);

    return NULL;
}


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

    {
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_blur, NULL);

    return NULL;
}


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

    {
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_focus, NULL);

    return NULL;
}


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

    {
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_select, NULL);

    return NULL;
}


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

    {
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_click, NULL);

    return NULL;
}


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

    {
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_selectionStart, NULL);

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_setSelectionStart, NULL);

    return NULL;
}


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

    {
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_selectionEnd, NULL);

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLInputElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_setSelectionEnd, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLInputElement, sipName_setSelectionRange, NULL);

    return NULL;
}


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

    delete reinterpret_cast<DOM::HTMLInputElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


extern "C" {static void dealloc_DOM_HTMLInputElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLInputElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLInputElement(sipGetAddress(sipSelf),0);
    }
}


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

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLInputElement* a0;

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

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

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

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_DOM_HTMLInputElement[] = {{59, 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_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 sipTypeDef_khtml_DOM_HTMLInputElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLInputElement,
        {0}
    },
    {
        sipNameNr_HTMLInputElement,
        {0, 255, 0},
        47, methods_DOM_HTMLInputElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLInputElement,
    0,
    init_type_DOM_HTMLInputElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLInputElement,
    assign_DOM_HTMLInputElement,
    array_DOM_HTMLInputElement,
    copy_DOM_HTMLInputElement,
    release_DOM_HTMLInputElement,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 85 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_form.sip"
#include <html_form.h>
#line 7229 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 7233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 7236 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 7239 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 7242 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 7245 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 7248 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 7251 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 7254 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 7257 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 7260 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 7263 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 7266 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 7269 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"


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

    {
        const DOM::HTMLFormElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLFormElement, sipName_elements, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLFormElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLFormElement, sipName_length, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLFormElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLFormElement, sipName_name, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLFormElement, sipName_setName, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLFormElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLFormElement, sipName_acceptCharset, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLFormElement, sipName_setAcceptCharset, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLFormElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLFormElement, sipName_action, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLFormElement, sipName_setAction, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLFormElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLFormElement, sipName_enctype, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLFormElement, sipName_setEnctype, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLFormElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLFormElement, sipName_method, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLFormElement, sipName_setMethod, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLFormElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLFormElement, sipName_target, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLFormElement, sipName_setTarget, NULL);

    return NULL;
}


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

    {
        DOM::HTMLFormElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLFormElement, sipName_submit, NULL);

    return NULL;
}


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

    {
        DOM::HTMLFormElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLFormElement, sipName_reset, NULL);

    return NULL;
}


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

    delete reinterpret_cast<DOM::HTMLFormElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


extern "C" {static void dealloc_DOM_HTMLFormElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLFormElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLFormElement(sipGetAddress(sipSelf),0);
    }
}


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

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLFormElement* a0;

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

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

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

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_DOM_HTMLFormElement[] = {{59, 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_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 sipTypeDef_khtml_DOM_HTMLFormElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLFormElement,
        {0}
    },
    {
        sipNameNr_HTMLFormElement,
        {0, 255, 0},
        16, methods_DOM_HTMLFormElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLFormElement,
    0,
    init_type_DOM_HTMLFormElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLFormElement,
    assign_DOM_HTMLFormElement,
    array_DOM_HTMLFormElement,
    copy_DOM_HTMLFormElement,
    release_DOM_HTMLFormElement,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 63 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_form.sip"
#include <html_form.h>
#line 7870 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 7874 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 85 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_form.sip"
#include <html_form.h>
#line 7877 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 7880 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 7883 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 7886 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 7889 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 7892 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 7895 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 7898 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 7901 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 7904 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 7907 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 7910 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 7913 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"


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

    {
        const DOM::HTMLFieldSetElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLFieldSetElement, sipName_form, NULL);

    return NULL;
}


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

    delete reinterpret_cast<DOM::HTMLFieldSetElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


extern "C" {static void dealloc_DOM_HTMLFieldSetElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLFieldSetElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLFieldSetElement(sipGetAddress(sipSelf),0);
    }
}


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

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLFieldSetElement* a0;

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

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

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

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_DOM_HTMLFieldSetElement[] = {
    {SIP_MLNAME_CAST(sipName_form), meth_DOM_HTMLFieldSetElement_form, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_khtml_DOM_HTMLFieldSetElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLFieldSetElement,
        {0}
    },
    {
        sipNameNr_HTMLFieldSetElement,
        {0, 255, 0},
        1, methods_DOM_HTMLFieldSetElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLFieldSetElement,
    0,
    init_type_DOM_HTMLFieldSetElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLFieldSetElement,
    assign_DOM_HTMLFieldSetElement,
    array_DOM_HTMLFieldSetElement,
    copy_DOM_HTMLFieldSetElement,
    release_DOM_HTMLFieldSetElement,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_form.sip"
#include <html_form.h>
#line 8096 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 8100 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 8103 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 85 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_form.sip"
#include <html_form.h>
#line 8106 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 8109 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 8112 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 8115 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 8118 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 8121 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 8124 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 8127 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 8130 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 8133 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 8136 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 8139 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"


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

    {
        const DOM::HTMLButtonElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLButtonElement, sipName_form, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLButtonElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLButtonElement, sipName_accessKey, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLButtonElement, sipName_setAccessKey, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLButtonElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLButtonElement, sipName_disabled, NULL);

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLButtonElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLButtonElement, sipName_setDisabled, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLButtonElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLButtonElement, sipName_name, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLButtonElement, sipName_setName, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLButtonElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLButtonElement, sipName_tabIndex, NULL);

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLButtonElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLButtonElement, sipName_setTabIndex, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLButtonElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLButtonElement, sipName_type, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLButtonElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLButtonElement, sipName_value, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLButtonElement, sipName_setValue, NULL);

    return NULL;
}


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

    {
        DOM::HTMLButtonElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLButtonElement, sipName_blur, NULL);

    return NULL;
}


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

    {
        DOM::HTMLButtonElement *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLButtonElement, sipName_focus, NULL);

    return NULL;
}


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

    delete reinterpret_cast<DOM::HTMLButtonElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


extern "C" {static void dealloc_DOM_HTMLButtonElement(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLButtonElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLButtonElement(sipGetAddress(sipSelf),0);
    }
}


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

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

            return sipCpp;
        }
    }

    {
        const DOM::HTMLButtonElement* a0;

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

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

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

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_DOM_HTMLButtonElement[] = {
    {SIP_MLNAME_CAST(sipName_accessKey), meth_DOM_HTMLButtonElement_accessKey, 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 sipTypeDef_khtml_DOM_HTMLButtonElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLButtonElement,
        {0}
    },
    {
        sipNameNr_HTMLButtonElement,
        {0, 255, 0},
        14, methods_DOM_HTMLButtonElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLButtonElement,
    0,
    init_type_DOM_HTMLButtonElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLButtonElement,
    assign_DOM_HTMLButtonElement,
    array_DOM_HTMLButtonElement,
    copy_DOM_HTMLButtonElement,
    release_DOM_HTMLButtonElement,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_document.sip"
#include <html_document.h>
#line 8684 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/khtmlview.sip"
#include <khtmlview.h>
#line 8688 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 8691 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 8694 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 8697 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 8700 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/html_element.sip"
#include <html_element.h>
#line 8703 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 8706 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/css_value.sip"
#include <css_value.h>
#line 8709 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/css_stylesheet.sip"
#include <css_stylesheet.h>
#line 8712 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 110 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/css_stylesheet.sip"
#include <css_stylesheet.h>
#line 8715 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_views.sip"
#include <dom2_views.h>
#line 8718 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 8721 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 121 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_traversal.sip"
#include <dom2_traversal.h>
#line 8724 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 56 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_traversal.sip"
#include <dom2_traversal.h>
#line 8727 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_traversal.sip"
#include <dom2_traversal.h>
#line 8730 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 56 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_range.sip"
#include <dom2_range.h>
#line 8733 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 71 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_xml.sip"
#include <dom_xml.h>
#line 8736 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 8739 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 113 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_xml.sip"
#include <dom_xml.h>
#line 8742 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_xml.sip"
#include <dom_xml.h>
#line 8745 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 56 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_text.sip"
#include <dom_text.h>
#line 8748 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 76 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_text.sip"
#include <dom_text.h>
#line 8751 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 127 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 8754 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 8757 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 149 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 8760 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 8763 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 8766 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 8769 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 8772 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 8775 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/khtml/sipkhtmlpart2.cpp"


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

    {
        const DOM::HTMLDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLDocument, sipName_title, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLDocument, sipName_setTitle, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLDocument, sipName_referrer, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLDocument, sipName_domain, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLDocument, sipName_URL, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLDocument, sipName_body, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLElement* a0;
        DOM::HTMLDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLDocument, sipName_setBody, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLDocument, sipName_images, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLDocument, sipName_applets, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLDocument, sipName_links, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLDocument, sipName_forms, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLDocument, sipName_layers, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLDocument, sipName_scripts, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLDocument, sipName_anchors, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLDocument, sipName_cookie, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLDocument, sipName_setCookie, NULL);

    return NULL;
}


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

    {
        DOM::HTMLDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLDocument, sipName_open, NULL);

    return NULL;
}


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

    {
        DOM::HTMLDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLDocument, sipName_close, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLDocument, sipName_write, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLDocument, sipName_writeln, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLDocument, sipName_getElementsByName, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLDocument, sipName_completeURL, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLDocument, sipName_lastModified, NULL);

    return NULL;
}


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

    {
        const DOM::HTMLDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_HTMLDocument, sipName_all, NULL);

    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 *, SIP_SSIZE_T, const void *);}
static void assign_DOM_HTMLDocument(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<DOM::HTMLDocument *>(sipDst)[sipDstIdx] = *reinterpret_cast<const DOM::HTMLDocument *>(sipSrc);
}


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


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


extern "C" {static void dealloc_DOM_HTMLDocument(sipSimpleWrapper *);}
static void dealloc_DOM_HTMLDocument(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_HTMLDocument(sipGetAddress(sipSelf),0);
    }
}


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

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

            return sipCpp;
        }
    }

    {
        KHTMLView* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH", sipType_KHTMLView, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::HTMLDocument(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const DOM::HTMLDocument* a0;

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

            return sipCpp;
        }
    }

    {
        const DOM::Node* a0;

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

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_DOM_HTMLDocument[] = {{32, 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 sipTypeDef_khtml_DOM_HTMLDocument = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLDocument,
        {0}
    },
    {
        sipNameNr_HTMLDocument,
        {0, 255, 0},
        24, methods_DOM_HTMLDocument,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_DOM_HTMLDocument,
    0,
    init_type_DOM_HTMLDocument,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLDocument,
    assign_DOM_HTMLDocument,
    array_DOM_HTMLDocument,
    copy_DOM_HTMLDocument,
    release_DOM_HTMLDocument,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};
