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

#include "sipAPIkhtml.h"

#line 160 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_block.sip"
#include <html_block.h>
#line 12 "sipkhtmlpart3.cpp"

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


class sipDOM_HTMLLayerElement : public DOM::HTMLLayerElement
{
public:
    sipDOM_HTMLLayerElement();
    sipDOM_HTMLLayerElement(const DOM::HTMLLayerElement&);
    sipDOM_HTMLLayerElement(const DOM::Node&);
    ~sipDOM_HTMLLayerElement();

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

public:
    sipSimpleWrapper *sipPySelf;

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

sipDOM_HTMLLayerElement::sipDOM_HTMLLayerElement(): DOM::HTMLLayerElement(), sipPySelf(0)
{
}

sipDOM_HTMLLayerElement::sipDOM_HTMLLayerElement(const DOM::HTMLLayerElement& a0): DOM::HTMLLayerElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLLayerElement::sipDOM_HTMLLayerElement(const DOM::Node& a0): DOM::HTMLLayerElement(a0), sipPySelf(0)
{
}

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

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


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLLayerElement *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->top();
            Py_END_ALLOW_THREADS

            return PyLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLLayerElement *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLLayerElement *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->left();
            Py_END_ALLOW_THREADS

            return PyLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLLayerElement *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLLayerElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLLayerElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLLayerElement *sipCpp;

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

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

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

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

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLLayerElement)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


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

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


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

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

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

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

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

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

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_DOM_HTMLLayerElement[] = {
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLLayerElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_bgColor), meth_DOM_HTMLLayerElement_bgColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_layers), meth_DOM_HTMLLayerElement_layers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_left), meth_DOM_HTMLLayerElement_left, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setBgColor), meth_DOM_HTMLLayerElement_setBgColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLeft), meth_DOM_HTMLLayerElement_setLeft, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTop), meth_DOM_HTMLLayerElement_setTop, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setVisibility), meth_DOM_HTMLLayerElement_setVisibility, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_top), meth_DOM_HTMLLayerElement_top, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_visibility), meth_DOM_HTMLLayerElement_visibility, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_khtml_DOM_HTMLLayerElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLLayerElement,
        {0}
    },
    sipNameNr_HTMLLayerElement,
    -1,
    -1,
    {0, 255, 0},
    supers_DOM_HTMLLayerElement,
    0,
    10, methods_DOM_HTMLLayerElement,
    0, 0,
    0, 0,
    init_DOM_HTMLLayerElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLLayerElement,
    release_DOM_HTMLLayerElement,
    cast_DOM_HTMLLayerElement,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_DOM_HTMLLayerElement,
    0,
    0,
    0
};

#line 139 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_block.sip"
#include <html_block.h>
#line 533 "sipkhtmlpart3.cpp"

#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 537 "sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 540 "sipkhtmlpart3.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 543 "sipkhtmlpart3.cpp"
#line 230 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 546 "sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/css_value.sip"
#include <css_value.h>
#line 549 "sipkhtmlpart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 552 "sipkhtmlpart3.cpp"
#line 141 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 555 "sipkhtmlpart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 558 "sipkhtmlpart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 561 "sipkhtmlpart3.cpp"
#line 42 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 564 "sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 567 "sipkhtmlpart3.cpp"
#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 570 "sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 573 "sipkhtmlpart3.cpp"


class sipDOM_HTMLPreElement : public DOM::HTMLPreElement
{
public:
    sipDOM_HTMLPreElement();
    sipDOM_HTMLPreElement(const DOM::HTMLPreElement&);
    sipDOM_HTMLPreElement(const DOM::Node&);
    ~sipDOM_HTMLPreElement();

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

public:
    sipSimpleWrapper *sipPySelf;

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

sipDOM_HTMLPreElement::sipDOM_HTMLPreElement(): DOM::HTMLPreElement(), sipPySelf(0)
{
}

sipDOM_HTMLPreElement::sipDOM_HTMLPreElement(const DOM::HTMLPreElement& a0): DOM::HTMLPreElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLPreElement::sipDOM_HTMLPreElement(const DOM::Node& a0): DOM::HTMLPreElement(a0), sipPySelf(0)
{
}

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

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


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLPreElement *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->width();
            Py_END_ALLOW_THREADS

            return PyLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        long a0;
        DOM::HTMLPreElement *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLPreElement)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


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

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


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

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

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

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

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

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

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_DOM_HTMLPreElement[] = {
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLPreElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWidth), meth_DOM_HTMLPreElement_setWidth, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_width), meth_DOM_HTMLPreElement_width, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_khtml_DOM_HTMLPreElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLPreElement,
        {0}
    },
    sipNameNr_HTMLPreElement,
    -1,
    -1,
    {0, 255, 0},
    supers_DOM_HTMLPreElement,
    0,
    3, methods_DOM_HTMLPreElement,
    0, 0,
    0, 0,
    init_DOM_HTMLPreElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLPreElement,
    release_DOM_HTMLPreElement,
    cast_DOM_HTMLPreElement,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_DOM_HTMLPreElement,
    0,
    0,
    0
};

#line 118 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_block.sip"
#include <html_block.h>
#line 858 "sipkhtmlpart3.cpp"

#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 862 "sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 865 "sipkhtmlpart3.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 868 "sipkhtmlpart3.cpp"
#line 230 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 871 "sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/css_value.sip"
#include <css_value.h>
#line 874 "sipkhtmlpart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 877 "sipkhtmlpart3.cpp"
#line 141 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 880 "sipkhtmlpart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 883 "sipkhtmlpart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 886 "sipkhtmlpart3.cpp"
#line 42 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 889 "sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 892 "sipkhtmlpart3.cpp"
#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 895 "sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 898 "sipkhtmlpart3.cpp"


class sipDOM_HTMLParagraphElement : public DOM::HTMLParagraphElement
{
public:
    sipDOM_HTMLParagraphElement();
    sipDOM_HTMLParagraphElement(const DOM::HTMLParagraphElement&);
    sipDOM_HTMLParagraphElement(const DOM::Node&);
    ~sipDOM_HTMLParagraphElement();

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

public:
    sipSimpleWrapper *sipPySelf;

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

sipDOM_HTMLParagraphElement::sipDOM_HTMLParagraphElement(): DOM::HTMLParagraphElement(), sipPySelf(0)
{
}

sipDOM_HTMLParagraphElement::sipDOM_HTMLParagraphElement(const DOM::HTMLParagraphElement& a0): DOM::HTMLParagraphElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLParagraphElement::sipDOM_HTMLParagraphElement(const DOM::Node& a0): DOM::HTMLParagraphElement(a0), sipPySelf(0)
{
}

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

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


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLParagraphElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLParagraphElement)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


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

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


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

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

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

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

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

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

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_DOM_HTMLParagraphElement[] = {
    {SIP_MLNAME_CAST(sipName_align), meth_DOM_HTMLParagraphElement_align, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLParagraphElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlign), meth_DOM_HTMLParagraphElement_setAlign, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_khtml_DOM_HTMLParagraphElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLParagraphElement,
        {0}
    },
    sipNameNr_HTMLParagraphElement,
    -1,
    -1,
    {0, 255, 0},
    supers_DOM_HTMLParagraphElement,
    0,
    3, methods_DOM_HTMLParagraphElement,
    0, 0,
    0, 0,
    init_DOM_HTMLParagraphElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLParagraphElement,
    release_DOM_HTMLParagraphElement,
    cast_DOM_HTMLParagraphElement,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_DOM_HTMLParagraphElement,
    0,
    0,
    0
};

#line 97 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_block.sip"
#include <html_block.h>
#line 1183 "sipkhtmlpart3.cpp"

#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1187 "sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 1190 "sipkhtmlpart3.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 1193 "sipkhtmlpart3.cpp"
#line 230 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 1196 "sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/css_value.sip"
#include <css_value.h>
#line 1199 "sipkhtmlpart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 1202 "sipkhtmlpart3.cpp"
#line 141 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1205 "sipkhtmlpart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 1208 "sipkhtmlpart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1211 "sipkhtmlpart3.cpp"
#line 42 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 1214 "sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 1217 "sipkhtmlpart3.cpp"
#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 1220 "sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1223 "sipkhtmlpart3.cpp"


class sipDOM_HTMLHeadingElement : public DOM::HTMLHeadingElement
{
public:
    sipDOM_HTMLHeadingElement();
    sipDOM_HTMLHeadingElement(const DOM::HTMLHeadingElement&);
    sipDOM_HTMLHeadingElement(const DOM::Node&);
    ~sipDOM_HTMLHeadingElement();

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

public:
    sipSimpleWrapper *sipPySelf;

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

sipDOM_HTMLHeadingElement::sipDOM_HTMLHeadingElement(): DOM::HTMLHeadingElement(), sipPySelf(0)
{
}

sipDOM_HTMLHeadingElement::sipDOM_HTMLHeadingElement(const DOM::HTMLHeadingElement& a0): DOM::HTMLHeadingElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLHeadingElement::sipDOM_HTMLHeadingElement(const DOM::Node& a0): DOM::HTMLHeadingElement(a0), sipPySelf(0)
{
}

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

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


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLHeadingElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLHeadingElement)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


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

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


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

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

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

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

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

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

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_DOM_HTMLHeadingElement[] = {
    {SIP_MLNAME_CAST(sipName_align), meth_DOM_HTMLHeadingElement_align, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLHeadingElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlign), meth_DOM_HTMLHeadingElement_setAlign, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_khtml_DOM_HTMLHeadingElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLHeadingElement,
        {0}
    },
    sipNameNr_HTMLHeadingElement,
    -1,
    -1,
    {0, 255, 0},
    supers_DOM_HTMLHeadingElement,
    0,
    3, methods_DOM_HTMLHeadingElement,
    0, 0,
    0, 0,
    init_DOM_HTMLHeadingElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLHeadingElement,
    release_DOM_HTMLHeadingElement,
    cast_DOM_HTMLHeadingElement,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_DOM_HTMLHeadingElement,
    0,
    0,
    0
};

#line 70 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_block.sip"
#include <html_block.h>
#line 1508 "sipkhtmlpart3.cpp"

#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1512 "sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 1515 "sipkhtmlpart3.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 1518 "sipkhtmlpart3.cpp"
#line 230 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 1521 "sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/css_value.sip"
#include <css_value.h>
#line 1524 "sipkhtmlpart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 1527 "sipkhtmlpart3.cpp"
#line 141 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1530 "sipkhtmlpart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 1533 "sipkhtmlpart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1536 "sipkhtmlpart3.cpp"
#line 42 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 1539 "sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 1542 "sipkhtmlpart3.cpp"
#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 1545 "sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 1548 "sipkhtmlpart3.cpp"


class sipDOM_HTMLHRElement : public DOM::HTMLHRElement
{
public:
    sipDOM_HTMLHRElement();
    sipDOM_HTMLHRElement(const DOM::HTMLHRElement&);
    sipDOM_HTMLHRElement(const DOM::Node&);
    ~sipDOM_HTMLHRElement();

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

public:
    sipSimpleWrapper *sipPySelf;

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

sipDOM_HTMLHRElement::sipDOM_HTMLHRElement(): DOM::HTMLHRElement(), sipPySelf(0)
{
}

sipDOM_HTMLHRElement::sipDOM_HTMLHRElement(const DOM::HTMLHRElement& a0): DOM::HTMLHRElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLHRElement::sipDOM_HTMLHRElement(const DOM::Node& a0): DOM::HTMLHRElement(a0), sipPySelf(0)
{
}

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

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


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLHRElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLHRElement *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->noShade();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLHRElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_DOM_HTMLHRElement,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setNoShade(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLHRElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLHRElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLHRElement)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


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

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


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

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

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

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

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

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

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_DOM_HTMLHRElement[] = {
    {SIP_MLNAME_CAST(sipName_align), meth_DOM_HTMLHRElement_align, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLHRElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_noShade), meth_DOM_HTMLHRElement_noShade, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlign), meth_DOM_HTMLHRElement_setAlign, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setNoShade), meth_DOM_HTMLHRElement_setNoShade, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSize), meth_DOM_HTMLHRElement_setSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWidth), meth_DOM_HTMLHRElement_setWidth, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_size), meth_DOM_HTMLHRElement_size, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_width), meth_DOM_HTMLHRElement_width, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_khtml_DOM_HTMLHRElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLHRElement,
        {0}
    },
    sipNameNr_HTMLHRElement,
    -1,
    -1,
    {0, 255, 0},
    supers_DOM_HTMLHRElement,
    0,
    9, methods_DOM_HTMLHRElement,
    0, 0,
    0, 0,
    init_DOM_HTMLHRElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLHRElement,
    release_DOM_HTMLHRElement,
    cast_DOM_HTMLHRElement,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_DOM_HTMLHRElement,
    0,
    0,
    0
};

#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_block.sip"
#include <html_block.h>
#line 2001 "sipkhtmlpart3.cpp"

#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2005 "sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 2008 "sipkhtmlpart3.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 2011 "sipkhtmlpart3.cpp"
#line 230 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 2014 "sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/css_value.sip"
#include <css_value.h>
#line 2017 "sipkhtmlpart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 2020 "sipkhtmlpart3.cpp"
#line 141 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2023 "sipkhtmlpart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 2026 "sipkhtmlpart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 2029 "sipkhtmlpart3.cpp"
#line 42 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 2032 "sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 2035 "sipkhtmlpart3.cpp"
#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 2038 "sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2041 "sipkhtmlpart3.cpp"


class sipDOM_HTMLDivElement : public DOM::HTMLDivElement
{
public:
    sipDOM_HTMLDivElement();
    sipDOM_HTMLDivElement(const DOM::HTMLDivElement&);
    sipDOM_HTMLDivElement(const DOM::Node&);
    ~sipDOM_HTMLDivElement();

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

public:
    sipSimpleWrapper *sipPySelf;

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

sipDOM_HTMLDivElement::sipDOM_HTMLDivElement(): DOM::HTMLDivElement(), sipPySelf(0)
{
}

sipDOM_HTMLDivElement::sipDOM_HTMLDivElement(const DOM::HTMLDivElement& a0): DOM::HTMLDivElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLDivElement::sipDOM_HTMLDivElement(const DOM::Node& a0): DOM::HTMLDivElement(a0), sipPySelf(0)
{
}

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

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


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLDivElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLDivElement)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


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

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


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

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

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

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

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

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

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_DOM_HTMLDivElement[] = {
    {SIP_MLNAME_CAST(sipName_align), meth_DOM_HTMLDivElement_align, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLDivElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlign), meth_DOM_HTMLDivElement_setAlign, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_khtml_DOM_HTMLDivElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLDivElement,
        {0}
    },
    sipNameNr_HTMLDivElement,
    -1,
    -1,
    {0, 255, 0},
    supers_DOM_HTMLDivElement,
    0,
    3, methods_DOM_HTMLDivElement,
    0, 0,
    0, 0,
    init_DOM_HTMLDivElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLDivElement,
    release_DOM_HTMLDivElement,
    cast_DOM_HTMLDivElement,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_DOM_HTMLDivElement,
    0,
    0,
    0
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_block.sip"
#include <html_block.h>
#line 2326 "sipkhtmlpart3.cpp"

#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2330 "sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 2333 "sipkhtmlpart3.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 2336 "sipkhtmlpart3.cpp"
#line 230 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 2339 "sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/css_value.sip"
#include <css_value.h>
#line 2342 "sipkhtmlpart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 2345 "sipkhtmlpart3.cpp"
#line 141 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2348 "sipkhtmlpart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 2351 "sipkhtmlpart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 2354 "sipkhtmlpart3.cpp"
#line 42 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 2357 "sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 2360 "sipkhtmlpart3.cpp"
#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 2363 "sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2366 "sipkhtmlpart3.cpp"


class sipDOM_HTMLBlockquoteElement : public DOM::HTMLBlockquoteElement
{
public:
    sipDOM_HTMLBlockquoteElement();
    sipDOM_HTMLBlockquoteElement(const DOM::HTMLBlockquoteElement&);
    sipDOM_HTMLBlockquoteElement(const DOM::Node&);
    ~sipDOM_HTMLBlockquoteElement();

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

public:
    sipSimpleWrapper *sipPySelf;

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

sipDOM_HTMLBlockquoteElement::sipDOM_HTMLBlockquoteElement(): DOM::HTMLBlockquoteElement(), sipPySelf(0)
{
}

sipDOM_HTMLBlockquoteElement::sipDOM_HTMLBlockquoteElement(const DOM::HTMLBlockquoteElement& a0): DOM::HTMLBlockquoteElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLBlockquoteElement::sipDOM_HTMLBlockquoteElement(const DOM::Node& a0): DOM::HTMLBlockquoteElement(a0), sipPySelf(0)
{
}

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

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


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLBlockquoteElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLBlockquoteElement)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


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

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


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

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

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

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

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

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

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_DOM_HTMLBlockquoteElement[] = {
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLBlockquoteElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_cite), meth_DOM_HTMLBlockquoteElement_cite, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCite), meth_DOM_HTMLBlockquoteElement_setCite, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_khtml_DOM_HTMLBlockquoteElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLBlockquoteElement,
        {0}
    },
    sipNameNr_HTMLBlockquoteElement,
    -1,
    -1,
    {0, 255, 0},
    supers_DOM_HTMLBlockquoteElement,
    0,
    3, methods_DOM_HTMLBlockquoteElement,
    0, 0,
    0, 0,
    init_DOM_HTMLBlockquoteElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLBlockquoteElement,
    release_DOM_HTMLBlockquoteElement,
    cast_DOM_HTMLBlockquoteElement,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_DOM_HTMLBlockquoteElement,
    0,
    0,
    0
};

#line 179 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_base.sip"
#include <html_base.h>
#line 2651 "sipkhtmlpart3.cpp"

#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2655 "sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 2658 "sipkhtmlpart3.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 2661 "sipkhtmlpart3.cpp"
#line 230 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 2664 "sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/css_value.sip"
#include <css_value.h>
#line 2667 "sipkhtmlpart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 2670 "sipkhtmlpart3.cpp"
#line 141 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2673 "sipkhtmlpart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 2676 "sipkhtmlpart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 2679 "sipkhtmlpart3.cpp"
#line 42 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 2682 "sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 2685 "sipkhtmlpart3.cpp"
#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 2688 "sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2691 "sipkhtmlpart3.cpp"


class sipDOM_HTMLHtmlElement : public DOM::HTMLHtmlElement
{
public:
    sipDOM_HTMLHtmlElement();
    sipDOM_HTMLHtmlElement(const DOM::HTMLHtmlElement&);
    sipDOM_HTMLHtmlElement(const DOM::Node&);
    ~sipDOM_HTMLHtmlElement();

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

public:
    sipSimpleWrapper *sipPySelf;

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

sipDOM_HTMLHtmlElement::sipDOM_HTMLHtmlElement(): DOM::HTMLHtmlElement(), sipPySelf(0)
{
}

sipDOM_HTMLHtmlElement::sipDOM_HTMLHtmlElement(const DOM::HTMLHtmlElement& a0): DOM::HTMLHtmlElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLHtmlElement::sipDOM_HTMLHtmlElement(const DOM::Node& a0): DOM::HTMLHtmlElement(a0), sipPySelf(0)
{
}

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

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


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLHtmlElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLHtmlElement)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


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

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


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

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

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

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

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

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

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_DOM_HTMLHtmlElement[] = {
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLHtmlElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setVersion), meth_DOM_HTMLHtmlElement_setVersion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_version), meth_DOM_HTMLHtmlElement_version, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_khtml_DOM_HTMLHtmlElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLHtmlElement,
        {0}
    },
    sipNameNr_HTMLHtmlElement,
    -1,
    -1,
    {0, 255, 0},
    supers_DOM_HTMLHtmlElement,
    0,
    3, methods_DOM_HTMLHtmlElement,
    0, 0,
    0, 0,
    init_DOM_HTMLHtmlElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLHtmlElement,
    release_DOM_HTMLHtmlElement,
    cast_DOM_HTMLHtmlElement,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_DOM_HTMLHtmlElement,
    0,
    0,
    0
};

#line 158 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_base.sip"
#include <html_base.h>
#line 2976 "sipkhtmlpart3.cpp"

#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2980 "sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 2983 "sipkhtmlpart3.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 2986 "sipkhtmlpart3.cpp"
#line 230 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 2989 "sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/css_value.sip"
#include <css_value.h>
#line 2992 "sipkhtmlpart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 2995 "sipkhtmlpart3.cpp"
#line 141 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 2998 "sipkhtmlpart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 3001 "sipkhtmlpart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 3004 "sipkhtmlpart3.cpp"
#line 42 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 3007 "sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 3010 "sipkhtmlpart3.cpp"
#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 3013 "sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 3016 "sipkhtmlpart3.cpp"


class sipDOM_HTMLHeadElement : public DOM::HTMLHeadElement
{
public:
    sipDOM_HTMLHeadElement();
    sipDOM_HTMLHeadElement(const DOM::HTMLHeadElement&);
    sipDOM_HTMLHeadElement(const DOM::Node&);
    ~sipDOM_HTMLHeadElement();

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

public:
    sipSimpleWrapper *sipPySelf;

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

sipDOM_HTMLHeadElement::sipDOM_HTMLHeadElement(): DOM::HTMLHeadElement(), sipPySelf(0)
{
}

sipDOM_HTMLHeadElement::sipDOM_HTMLHeadElement(const DOM::HTMLHeadElement& a0): DOM::HTMLHeadElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLHeadElement::sipDOM_HTMLHeadElement(const DOM::Node& a0): DOM::HTMLHeadElement(a0), sipPySelf(0)
{
}

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

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


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLHeadElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLHeadElement)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


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

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


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

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

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

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

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

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

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_DOM_HTMLHeadElement[] = {
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLHeadElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_profile), meth_DOM_HTMLHeadElement_profile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProfile), meth_DOM_HTMLHeadElement_setProfile, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_khtml_DOM_HTMLHeadElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLHeadElement,
        {0}
    },
    sipNameNr_HTMLHeadElement,
    -1,
    -1,
    {0, 255, 0},
    supers_DOM_HTMLHeadElement,
    0,
    3, methods_DOM_HTMLHeadElement,
    0, 0,
    0, 0,
    init_DOM_HTMLHeadElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLHeadElement,
    release_DOM_HTMLHeadElement,
    cast_DOM_HTMLHeadElement,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_DOM_HTMLHeadElement,
    0,
    0,
    0
};

#line 118 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_base.sip"
#include <html_base.h>
#line 3301 "sipkhtmlpart3.cpp"

#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 3305 "sipkhtmlpart3.cpp"
#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 3308 "sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 3311 "sipkhtmlpart3.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 3314 "sipkhtmlpart3.cpp"
#line 230 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 3317 "sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/css_value.sip"
#include <css_value.h>
#line 3320 "sipkhtmlpart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 3323 "sipkhtmlpart3.cpp"
#line 141 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 3326 "sipkhtmlpart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 3329 "sipkhtmlpart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 3332 "sipkhtmlpart3.cpp"
#line 42 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 3335 "sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 3338 "sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 3341 "sipkhtmlpart3.cpp"


class sipDOM_HTMLIFrameElement : public DOM::HTMLIFrameElement
{
public:
    sipDOM_HTMLIFrameElement();
    sipDOM_HTMLIFrameElement(const DOM::HTMLIFrameElement&);
    sipDOM_HTMLIFrameElement(const DOM::Node&);
    ~sipDOM_HTMLIFrameElement();

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

public:
    sipSimpleWrapper *sipPySelf;

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

sipDOM_HTMLIFrameElement::sipDOM_HTMLIFrameElement(): DOM::HTMLIFrameElement(), sipPySelf(0)
{
}

sipDOM_HTMLIFrameElement::sipDOM_HTMLIFrameElement(const DOM::HTMLIFrameElement& a0): DOM::HTMLIFrameElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLIFrameElement::sipDOM_HTMLIFrameElement(const DOM::Node& a0): DOM::HTMLIFrameElement(a0), sipPySelf(0)
{
}

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

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


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLIFrameElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLIFrameElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLIFrameElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLIFrameElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLIFrameElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLIFrameElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLIFrameElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLIFrameElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLIFrameElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLIFrameElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLIFrameElement *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::Document(sipCpp->contentDocument());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLIFrameElement)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


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

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


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

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

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

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

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

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

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_DOM_HTMLIFrameElement[] = {
    {SIP_MLNAME_CAST(sipName_align), meth_DOM_HTMLIFrameElement_align, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLIFrameElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contentDocument), meth_DOM_HTMLIFrameElement_contentDocument, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_frameBorder), meth_DOM_HTMLIFrameElement_frameBorder, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_height), meth_DOM_HTMLIFrameElement_height, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_longDesc), meth_DOM_HTMLIFrameElement_longDesc, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_marginHeight), meth_DOM_HTMLIFrameElement_marginHeight, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_marginWidth), meth_DOM_HTMLIFrameElement_marginWidth, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_DOM_HTMLIFrameElement_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_scrolling), meth_DOM_HTMLIFrameElement_scrolling, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlign), meth_DOM_HTMLIFrameElement_setAlign, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFrameBorder), meth_DOM_HTMLIFrameElement_setFrameBorder, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHeight), meth_DOM_HTMLIFrameElement_setHeight, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLongDesc), meth_DOM_HTMLIFrameElement_setLongDesc, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMarginHeight), meth_DOM_HTMLIFrameElement_setMarginHeight, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMarginWidth), meth_DOM_HTMLIFrameElement_setMarginWidth, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setName), meth_DOM_HTMLIFrameElement_setName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setScrolling), meth_DOM_HTMLIFrameElement_setScrolling, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSrc), meth_DOM_HTMLIFrameElement_setSrc, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWidth), meth_DOM_HTMLIFrameElement_setWidth, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_src), meth_DOM_HTMLIFrameElement_src, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_width), meth_DOM_HTMLIFrameElement_width, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_khtml_DOM_HTMLIFrameElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLIFrameElement,
        {0}
    },
    sipNameNr_HTMLIFrameElement,
    -1,
    -1,
    {0, 255, 0},
    supers_DOM_HTMLIFrameElement,
    0,
    22, methods_DOM_HTMLIFrameElement,
    0, 0,
    0, 0,
    init_DOM_HTMLIFrameElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLIFrameElement,
    release_DOM_HTMLIFrameElement,
    cast_DOM_HTMLIFrameElement,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_DOM_HTMLIFrameElement,
    0,
    0,
    0
};

#line 95 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_base.sip"
#include <html_base.h>
#line 4158 "sipkhtmlpart3.cpp"

#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 4162 "sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 4165 "sipkhtmlpart3.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 4168 "sipkhtmlpart3.cpp"
#line 230 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 4171 "sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/css_value.sip"
#include <css_value.h>
#line 4174 "sipkhtmlpart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 4177 "sipkhtmlpart3.cpp"
#line 141 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 4180 "sipkhtmlpart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 4183 "sipkhtmlpart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 4186 "sipkhtmlpart3.cpp"
#line 42 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 4189 "sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 4192 "sipkhtmlpart3.cpp"
#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 4195 "sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 4198 "sipkhtmlpart3.cpp"


class sipDOM_HTMLFrameSetElement : public DOM::HTMLFrameSetElement
{
public:
    sipDOM_HTMLFrameSetElement();
    sipDOM_HTMLFrameSetElement(const DOM::HTMLFrameSetElement&);
    sipDOM_HTMLFrameSetElement(const DOM::Node&);
    ~sipDOM_HTMLFrameSetElement();

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

public:
    sipSimpleWrapper *sipPySelf;

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

sipDOM_HTMLFrameSetElement::sipDOM_HTMLFrameSetElement(): DOM::HTMLFrameSetElement(), sipPySelf(0)
{
}

sipDOM_HTMLFrameSetElement::sipDOM_HTMLFrameSetElement(const DOM::HTMLFrameSetElement& a0): DOM::HTMLFrameSetElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLFrameSetElement::sipDOM_HTMLFrameSetElement(const DOM::Node& a0): DOM::HTMLFrameSetElement(a0), sipPySelf(0)
{
}

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

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


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLFrameSetElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLFrameSetElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLFrameSetElement)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


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

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


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

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

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

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

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

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

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_DOM_HTMLFrameSetElement[] = {
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLFrameSetElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_cols), meth_DOM_HTMLFrameSetElement_cols, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rows), meth_DOM_HTMLFrameSetElement_rows, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCols), meth_DOM_HTMLFrameSetElement_setCols, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRows), meth_DOM_HTMLFrameSetElement_setRows, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_khtml_DOM_HTMLFrameSetElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLFrameSetElement,
        {0}
    },
    sipNameNr_HTMLFrameSetElement,
    -1,
    -1,
    {0, 255, 0},
    supers_DOM_HTMLFrameSetElement,
    0,
    5, methods_DOM_HTMLFrameSetElement,
    0, 0,
    0, 0,
    init_DOM_HTMLFrameSetElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLFrameSetElement,
    release_DOM_HTMLFrameSetElement,
    cast_DOM_HTMLFrameSetElement,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_DOM_HTMLFrameSetElement,
    0,
    0,
    0
};

#line 59 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_base.sip"
#include <html_base.h>
#line 4539 "sipkhtmlpart3.cpp"

#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 4543 "sipkhtmlpart3.cpp"
#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 4546 "sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 4549 "sipkhtmlpart3.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 4552 "sipkhtmlpart3.cpp"
#line 230 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 4555 "sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/css_value.sip"
#include <css_value.h>
#line 4558 "sipkhtmlpart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 4561 "sipkhtmlpart3.cpp"
#line 141 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 4564 "sipkhtmlpart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 4567 "sipkhtmlpart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 4570 "sipkhtmlpart3.cpp"
#line 42 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 4573 "sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 4576 "sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 4579 "sipkhtmlpart3.cpp"


class sipDOM_HTMLFrameElement : public DOM::HTMLFrameElement
{
public:
    sipDOM_HTMLFrameElement();
    sipDOM_HTMLFrameElement(const DOM::HTMLFrameElement&);
    sipDOM_HTMLFrameElement(const DOM::Node&);
    ~sipDOM_HTMLFrameElement();

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

public:
    sipSimpleWrapper *sipPySelf;

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

sipDOM_HTMLFrameElement::sipDOM_HTMLFrameElement(): DOM::HTMLFrameElement(), sipPySelf(0)
{
}

sipDOM_HTMLFrameElement::sipDOM_HTMLFrameElement(const DOM::HTMLFrameElement& a0): DOM::HTMLFrameElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLFrameElement::sipDOM_HTMLFrameElement(const DOM::Node& a0): DOM::HTMLFrameElement(a0), sipPySelf(0)
{
}

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

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


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLFrameElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLFrameElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLFrameElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLFrameElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLFrameElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLFrameElement *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->noResize();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        DOM::HTMLFrameElement *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_DOM_HTMLFrameElement,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setNoResize(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLFrameElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLFrameElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLFrameElement *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::Document(sipCpp->contentDocument());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLFrameElement)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


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

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


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

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

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

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

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

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

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_DOM_HTMLFrameElement[] = {
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLFrameElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contentDocument), meth_DOM_HTMLFrameElement_contentDocument, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_frameBorder), meth_DOM_HTMLFrameElement_frameBorder, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_longDesc), meth_DOM_HTMLFrameElement_longDesc, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_marginHeight), meth_DOM_HTMLFrameElement_marginHeight, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_marginWidth), meth_DOM_HTMLFrameElement_marginWidth, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_DOM_HTMLFrameElement_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_noResize), meth_DOM_HTMLFrameElement_noResize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_scrolling), meth_DOM_HTMLFrameElement_scrolling, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFrameBorder), meth_DOM_HTMLFrameElement_setFrameBorder, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLongDesc), meth_DOM_HTMLFrameElement_setLongDesc, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMarginHeight), meth_DOM_HTMLFrameElement_setMarginHeight, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMarginWidth), meth_DOM_HTMLFrameElement_setMarginWidth, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setName), meth_DOM_HTMLFrameElement_setName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setNoResize), meth_DOM_HTMLFrameElement_setNoResize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setScrolling), meth_DOM_HTMLFrameElement_setScrolling, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSrc), meth_DOM_HTMLFrameElement_setSrc, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_src), meth_DOM_HTMLFrameElement_src, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_khtml_DOM_HTMLFrameElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLFrameElement,
        {0}
    },
    sipNameNr_HTMLFrameElement,
    -1,
    -1,
    {0, 255, 0},
    supers_DOM_HTMLFrameElement,
    0,
    18, methods_DOM_HTMLFrameElement,
    0, 0,
    0, 0,
    init_DOM_HTMLFrameElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLFrameElement,
    release_DOM_HTMLFrameElement,
    cast_DOM_HTMLFrameElement,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_DOM_HTMLFrameElement,
    0,
    0,
    0
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_element.sip"
#include <html_element.h>
#line 5284 "sipkhtmlpart3.cpp"

#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 5288 "sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 5291 "sipkhtmlpart3.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 5294 "sipkhtmlpart3.cpp"
#line 230 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 5297 "sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/css_value.sip"
#include <css_value.h>
#line 5300 "sipkhtmlpart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 5303 "sipkhtmlpart3.cpp"
#line 141 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 5306 "sipkhtmlpart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 5309 "sipkhtmlpart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 5312 "sipkhtmlpart3.cpp"
#line 42 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 5315 "sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 5318 "sipkhtmlpart3.cpp"
#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 5321 "sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 5324 "sipkhtmlpart3.cpp"


class sipDOM_HTMLElement : public DOM::HTMLElement
{
public:
    sipDOM_HTMLElement();
    sipDOM_HTMLElement(const DOM::HTMLElement&);
    sipDOM_HTMLElement(const DOM::Node&);
    ~sipDOM_HTMLElement();

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

public:
    sipSimpleWrapper *sipPySelf;

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

sipDOM_HTMLElement::sipDOM_HTMLElement(): DOM::HTMLElement(), sipPySelf(0)
{
}

sipDOM_HTMLElement::sipDOM_HTMLElement(const DOM::HTMLElement& a0): DOM::HTMLElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLElement::sipDOM_HTMLElement(const DOM::Node& a0): DOM::HTMLElement(a0), sipPySelf(0)
{
}

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

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


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

    {
        DOM::HTMLElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLElement *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        DOM::HTMLElement *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        DOM::HTMLElement *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isContentEditable();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9J9",&sipSelf,sipType_DOM_HTMLElement,&sipCpp,sipType_DOM_DOMString,&a0,sipType_DOM_DOMString,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addCSSProperty(*a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLElement)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


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

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


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

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

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

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

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

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

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_DOM_HTMLElement[] = {
    {SIP_MLNAME_CAST(sipName_addCSSProperty), meth_DOM_HTMLElement_addCSSProperty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_all), meth_DOM_HTMLElement_all, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_children), meth_DOM_HTMLElement_children, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_className), meth_DOM_HTMLElement_className, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contentEditable), meth_DOM_HTMLElement_contentEditable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dir), meth_DOM_HTMLElement_dir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_id), meth_DOM_HTMLElement_id, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_innerHTML), meth_DOM_HTMLElement_innerHTML, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_innerText), meth_DOM_HTMLElement_innerText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isContentEditable), meth_DOM_HTMLElement_isContentEditable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_lang), meth_DOM_HTMLElement_lang, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeCSSProperty), meth_DOM_HTMLElement_removeCSSProperty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setClassName), meth_DOM_HTMLElement_setClassName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setContentEditable), meth_DOM_HTMLElement_setContentEditable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDir), meth_DOM_HTMLElement_setDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setId), meth_DOM_HTMLElement_setId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setInnerHTML), meth_DOM_HTMLElement_setInnerHTML, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setInnerText), meth_DOM_HTMLElement_setInnerText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLang), meth_DOM_HTMLElement_setLang, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTitle), meth_DOM_HTMLElement_setTitle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_title), meth_DOM_HTMLElement_title, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_khtml_DOM_HTMLElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLElement,
        {0}
    },
    sipNameNr_HTMLElement,
    -1,
    -1,
    {0, 255, 0},
    supers_DOM_HTMLElement,
    0,
    22, methods_DOM_HTMLElement,
    0, 0,
    0, 0,
    init_DOM_HTMLElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLElement,
    release_DOM_HTMLElement,
    cast_DOM_HTMLElement,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_DOM_HTMLElement,
    0,
    0,
    0
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_base.sip"
#include <html_base.h>
#line 6142 "sipkhtmlpart3.cpp"

#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 6146 "sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 6149 "sipkhtmlpart3.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/html_misc.sip"
#include <html_misc.h>
#line 6152 "sipkhtmlpart3.cpp"
#line 230 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 6155 "sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/css_value.sip"
#include <css_value.h>
#line 6158 "sipkhtmlpart3.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_element.sip"
#include <dom_element.h>
#line 6161 "sipkhtmlpart3.cpp"
#line 141 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 6164 "sipkhtmlpart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 6167 "sipkhtmlpart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 6170 "sipkhtmlpart3.cpp"
#line 42 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 6173 "sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 6176 "sipkhtmlpart3.cpp"
#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 6179 "sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 6182 "sipkhtmlpart3.cpp"


class sipDOM_HTMLBodyElement : public DOM::HTMLBodyElement
{
public:
    sipDOM_HTMLBodyElement();
    sipDOM_HTMLBodyElement(const DOM::HTMLBodyElement&);
    sipDOM_HTMLBodyElement(const DOM::Node&);
    ~sipDOM_HTMLBodyElement();

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

public:
    sipSimpleWrapper *sipPySelf;

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

sipDOM_HTMLBodyElement::sipDOM_HTMLBodyElement(): DOM::HTMLBodyElement(), sipPySelf(0)
{
}

sipDOM_HTMLBodyElement::sipDOM_HTMLBodyElement(const DOM::HTMLBodyElement& a0): DOM::HTMLBodyElement(a0), sipPySelf(0)
{
}

sipDOM_HTMLBodyElement::sipDOM_HTMLBodyElement(const DOM::Node& a0): DOM::HTMLBodyElement(a0), sipPySelf(0)
{
}

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

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


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLBodyElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLBodyElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLBodyElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLBodyElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLBodyElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::HTMLBodyElement *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_DOM_HTMLBodyElement)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


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

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


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

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

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

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

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

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

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_DOM_HTMLBodyElement[] = {
    {SIP_MLNAME_CAST(sipName_aLink), meth_DOM_HTMLBodyElement_aLink, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_assignOther), meth_DOM_HTMLBodyElement_assignOther, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_background), meth_DOM_HTMLBodyElement_background, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_bgColor), meth_DOM_HTMLBodyElement_bgColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_link), meth_DOM_HTMLBodyElement_link, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setALink), meth_DOM_HTMLBodyElement_setALink, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setBackground), meth_DOM_HTMLBodyElement_setBackground, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setBgColor), meth_DOM_HTMLBodyElement_setBgColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLink), meth_DOM_HTMLBodyElement_setLink, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setText), meth_DOM_HTMLBodyElement_setText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setVLink), meth_DOM_HTMLBodyElement_setVLink, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_text), meth_DOM_HTMLBodyElement_text, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_vLink), meth_DOM_HTMLBodyElement_vLink, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_khtml_DOM_HTMLBodyElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__HTMLBodyElement,
        {0}
    },
    sipNameNr_HTMLBodyElement,
    -1,
    -1,
    {0, 255, 0},
    supers_DOM_HTMLBodyElement,
    0,
    13, methods_DOM_HTMLBodyElement,
    0, 0,
    0, 0,
    init_DOM_HTMLBodyElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_HTMLBodyElement,
    release_DOM_HTMLBodyElement,
    cast_DOM_HTMLBodyElement,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_DOM_HTMLBodyElement,
    0,
    0,
    0
};

#line 101 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_xml.sip"
#include <dom_xml.h>
#line 6747 "sipkhtmlpart3.cpp"

#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 6751 "sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/css_stylesheet.sip"
#include <css_stylesheet.h>
#line 6754 "sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 6757 "sipkhtmlpart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 6760 "sipkhtmlpart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 6763 "sipkhtmlpart3.cpp"
#line 42 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 6766 "sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 6769 "sipkhtmlpart3.cpp"
#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 6772 "sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 6775 "sipkhtmlpart3.cpp"
#line 141 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 6778 "sipkhtmlpart3.cpp"


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

    {
        DOM::ProcessingInstruction *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        DOM::ProcessingInstruction *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        DOM::ProcessingInstruction *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::StyleSheet(sipCpp->sheet());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    if (targetType == sipType_DOM_ProcessingInstruction)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_DOM_Node)->ctd_cast((DOM::Node *)(DOM::ProcessingInstruction *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


extern "C" {static void dealloc_DOM_ProcessingInstruction(sipSimpleWrapper *);}
static void dealloc_DOM_ProcessingInstruction(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_ProcessingInstruction(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_DOM_ProcessingInstruction(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_DOM_ProcessingInstruction(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    DOM::ProcessingInstruction *sipCpp = 0;

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

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

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_ProcessingInstruction,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::ProcessingInstruction(*a0);
            Py_END_ALLOW_THREADS
        }
    }

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

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

    return sipCpp;
}


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


static PyMethodDef methods_DOM_ProcessingInstruction[] = {
    {SIP_MLNAME_CAST(sipName_data), meth_DOM_ProcessingInstruction_data, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setData), meth_DOM_ProcessingInstruction_setData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sheet), meth_DOM_ProcessingInstruction_sheet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_target), meth_DOM_ProcessingInstruction_target, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_khtml_DOM_ProcessingInstruction = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__ProcessingInstruction,
        {0}
    },
    sipNameNr_ProcessingInstruction,
    -1,
    -1,
    {0, 255, 0},
    supers_DOM_ProcessingInstruction,
    0,
    4, methods_DOM_ProcessingInstruction,
    0, 0,
    0, 0,
    init_DOM_ProcessingInstruction,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_ProcessingInstruction,
    release_DOM_ProcessingInstruction,
    cast_DOM_ProcessingInstruction,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_DOM_ProcessingInstruction,
    0,
    0,
    0
};

#line 82 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_xml.sip"
#include <dom_xml.h>
#line 7036 "sipkhtmlpart3.cpp"

#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 7040 "sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_string.sip"
#include <dom_string.h>
#line 7043 "sipkhtmlpart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 7046 "sipkhtmlpart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7049 "sipkhtmlpart3.cpp"
#line 42 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 7052 "sipkhtmlpart3.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom2_events.sip"
#include <dom2_events.h>
#line 7055 "sipkhtmlpart3.cpp"
#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_doc.sip"
#include <dom_doc.h>
#line 7058 "sipkhtmlpart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 7061 "sipkhtmlpart3.cpp"
#line 141 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/khtml/dom_node.sip"
#include <dom_node.h>
#line 7064 "sipkhtmlpart3.cpp"


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

    {
        DOM::Notation *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        DOM::Notation *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_DOM_Notation,&sipCpp))
        {
            DOM::DOMString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new DOM::DOMString(sipCpp->systemId());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_DOM_DOMString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Notation,sipName_systemId);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_DOM_Notation(void *, const sipTypeDef *);}
static void *cast_DOM_Notation(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_DOM_Notation)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_DOM_Node)->ctd_cast((DOM::Node *)(DOM::Notation *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_DOM_Notation(void *, int);}
static void release_DOM_Notation(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<DOM::Notation *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_DOM_Notation(void *, const void*);}
static void assign_DOM_Notation(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<DOM::Notation *>(sipDst) = *reinterpret_cast<const DOM::Notation *>(sipSrc);
}


extern "C" {static void dealloc_DOM_Notation(sipSimpleWrapper *);}
static void dealloc_DOM_Notation(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_DOM_Notation(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_DOM_Notation(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_DOM_Notation(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    DOM::Notation *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::Notation();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const DOM::Notation * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_Notation,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::Notation(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const DOM::Node * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_DOM_Node,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new DOM::Notation(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_DOM_Notation[] = {{109, 255, 1}};


static PyMethodDef methods_DOM_Notation[] = {
    {SIP_MLNAME_CAST(sipName_publicId), meth_DOM_Notation_publicId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_systemId), meth_DOM_Notation_systemId, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_khtml_DOM_Notation = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_DOM__Notation,
        {0}
    },
    sipNameNr_Notation,
    -1,
    -1,
    {0, 255, 0},
    supers_DOM_Notation,
    0,
    2, methods_DOM_Notation,
    0, 0,
    0, 0,
    init_DOM_Notation,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_DOM_Notation,
    release_DOM_Notation,
    cast_DOM_Notation,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_DOM_Notation,
    0,
    0,
    0
};
