//Auto-generated by ../../kalyptus/kalyptus. DO NOT EDIT.
#include <smoke.h>
#include <qt_smoke.h>
#include <ntqvalidator.h>
#include <ntqvariant.h>
#include <ntqstring.h>
#include <ntqdragobject.h>
#include <ntqevent.h>
#include <ntqdom.h>
#include <ntqtextstream.h>
#include <ntqcstring.h>
#include <ntqpoint.h>
#include <ntqrect.h>

class x_TQDomComment : public TQDomComment {
public:
    static void x_0(Smoke::Stack x) {
	// TQDomComment()
	x_TQDomComment* xret = new x_TQDomComment();
	x[0].s_class = (void*)xret;
    }
    x_TQDomComment() : TQDomComment() {
    }
    static void x_1(Smoke::Stack x) {
	// TQDomComment(const TQDomComment&)
	x_TQDomComment* xret = new x_TQDomComment(*(const TQDomComment *)x[1].s_class);
	x[0].s_class = (void*)xret;
    }
    x_TQDomComment(const TQDomComment& x1) : TQDomComment(x1) {
    }
    void x_2(Smoke::Stack x) {
	// operator=(const TQDomComment&)
	TQDomComment& xret = this->TQDomComment::operator=(*(const TQDomComment *)x[1].s_class);
	x[0].s_class = (void*)&xret;
    }
    void x_3(Smoke::Stack x) const {
	// nodeType()
	TQDomNode::NodeType xret = this->TQDomComment::nodeType();
	x[0].s_enum = xret;
    }
    void x_4(Smoke::Stack x) const {
	// isComment()
	bool xret = this->TQDomComment::isComment();
	x[0].s_bool = xret;
    }
    virtual TQDomNode appendChild(const TQDomNode& x1) {
	Smoke::StackItem x[2];
	x[1].s_class = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2575, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::appendChild(x1);
    }
    virtual void appendData(const TQString& x1) {
	Smoke::StackItem x[2];
	x[1].s_voidp = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2376, (void*)this, x)) return;
	this->TQDomCharacterData::appendData(x1);
    }
    virtual TQDomNamedNodeMap attributes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2589, (void*)this, x)) {
	    TQDomNamedNodeMap *xptr = (TQDomNamedNodeMap *)x[0].s_class;
	    TQDomNamedNodeMap xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::attributes();
    }
    virtual TQDomNodeList childNodes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2584, (void*)this, x)) {
	    TQDomNodeList *xptr = (TQDomNodeList *)x[0].s_class;
	    TQDomNodeList xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::childNodes();
    }
    virtual TQDomNode cloneNode(bool x1) const {
	Smoke::StackItem x[2];
	x[1].s_bool = x1;
	if(qt_Smoke->binding->callMethod(2577, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::cloneNode(x1);
    }
    virtual TQString data() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2381, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomCharacterData::data();
    }
    virtual void deleteData(unsigned long x1, unsigned long x2) {
	Smoke::StackItem x[3];
	x[1].s_ulong = x1;
	x[2].s_ulong = x2;
	if(qt_Smoke->binding->callMethod(2378, (void*)this, x)) return;
	this->TQDomCharacterData::deleteData(x1, x2);
    }
    virtual TQDomNode firstChild() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2585, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::firstChild();
    }
    virtual bool hasAttributes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2593, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::hasAttributes();
    }
    virtual bool hasChildNodes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2576, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::hasChildNodes();
    }
    virtual TQDomNode insertAfter(const TQDomNode& x1, const TQDomNode& x2) {
	Smoke::StackItem x[3];
	x[1].s_class = (void*)&x1;
	x[2].s_class = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2572, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::insertAfter(x1, x2);
    }
    virtual TQDomNode insertBefore(const TQDomNode& x1, const TQDomNode& x2) {
	Smoke::StackItem x[3];
	x[1].s_class = (void*)&x1;
	x[2].s_class = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2571, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::insertBefore(x1, x2);
    }
    virtual void insertData(unsigned long x1, const TQString& x2) {
	Smoke::StackItem x[3];
	x[1].s_ulong = x1;
	x[2].s_voidp = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2377, (void*)this, x)) return;
	this->TQDomCharacterData::insertData(x1, x2);
    }
    virtual bool isAttr() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2598, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isAttr();
    }
    virtual bool isCDATASection() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2599, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isCDATASection();
    }
    virtual bool isCharacterData() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2384, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomCharacterData::isCharacterData();
    }
    virtual bool isComment() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2390, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomComment::isComment();
    }
    virtual bool isDocument() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2601, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isDocument();
    }
    virtual bool isDocumentFragment() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2600, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isDocumentFragment();
    }
    virtual bool isDocumentType() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2602, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isDocumentType();
    }
    virtual bool isElement() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2603, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isElement();
    }
    virtual bool isEntity() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2606, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isEntity();
    }
    virtual bool isEntityReference() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2604, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isEntityReference();
    }
    virtual bool isNotation() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2607, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isNotation();
    }
    virtual bool isProcessingInstruction() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2608, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isProcessingInstruction();
    }
    virtual bool isSupported(const TQString& x1, const TQString& x2) const {
	Smoke::StackItem x[3];
	x[1].s_voidp = (void*)&x1;
	x[2].s_voidp = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2580, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isSupported(x1, x2);
    }
    virtual bool isText() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2605, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isText();
    }
    virtual TQDomNode lastChild() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2586, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::lastChild();
    }
    virtual uint length() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2380, (void*)this, x)) return (uint)x[0].s_uint;
	return this->TQDomCharacterData::length();
    }
    virtual TQString localName() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2592, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::localName();
    }
    virtual TQString namespaceURI() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2591, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::namespaceURI();
    }
    virtual TQDomNode nextSibling() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2588, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::nextSibling();
    }
    virtual TQString nodeName() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2581, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::nodeName();
    }
    virtual TQDomNode::NodeType nodeType() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2389, (void*)this, x)) {
	    TQDomNode::NodeType *xptr = (TQDomNode::NodeType *)x[0].s_class;
	    TQDomNode::NodeType xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomComment::nodeType();
    }
    virtual TQString nodeValue() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2594, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::nodeValue();
    }
    virtual void normalize() {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2579, (void*)this, x)) return;
	this->TQDomNode::normalize();
    }
    virtual TQDomDocument ownerDocument() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2590, (void*)this, x)) {
	    TQDomDocument *xptr = (TQDomDocument *)x[0].s_class;
	    TQDomDocument xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::ownerDocument();
    }
    virtual TQDomNode parentNode() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2583, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::parentNode();
    }
    virtual TQString prefix() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2596, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::prefix();
    }
    virtual TQDomNode previousSibling() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2587, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::previousSibling();
    }
    virtual TQDomNode removeChild(const TQDomNode& x1) {
	Smoke::StackItem x[2];
	x[1].s_class = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2574, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::removeChild(x1);
    }
    virtual TQDomNode replaceChild(const TQDomNode& x1, const TQDomNode& x2) {
	Smoke::StackItem x[3];
	x[1].s_class = (void*)&x1;
	x[2].s_class = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2573, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::replaceChild(x1, x2);
    }
    virtual void replaceData(unsigned long x1, unsigned long x2, const TQString& x3) {
	Smoke::StackItem x[4];
	x[1].s_ulong = x1;
	x[2].s_ulong = x2;
	x[3].s_voidp = (void*)&x3;
	if(qt_Smoke->binding->callMethod(2379, (void*)this, x)) return;
	this->TQDomCharacterData::replaceData(x1, x2, x3);
    }
    virtual void setData(const TQString& x1) {
	Smoke::StackItem x[2];
	x[1].s_voidp = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2382, (void*)this, x)) return;
	this->TQDomCharacterData::setData(x1);
    }
    virtual void setNodeValue(const TQString& x1) {
	Smoke::StackItem x[2];
	x[1].s_voidp = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2595, (void*)this, x)) return;
	this->TQDomNode::setNodeValue(x1);
    }
    virtual void setPrefix(const TQString& x1) {
	Smoke::StackItem x[2];
	x[1].s_voidp = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2597, (void*)this, x)) return;
	this->TQDomNode::setPrefix(x1);
    }
    virtual TQString substringData(unsigned long x1, unsigned long x2) {
	Smoke::StackItem x[3];
	x[1].s_ulong = x1;
	x[2].s_ulong = x2;
	if(qt_Smoke->binding->callMethod(2375, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomCharacterData::substringData(x1, x2);
    }
    ~x_TQDomComment() { qt_Smoke->binding->deleted(77, (void*)this); }
};
void xcall_TQDomComment(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_TQDomComment *xself = (x_TQDomComment*)obj;
    switch(xi) {
	case 0: x_TQDomComment::x_0(args);	break;
	case 1: x_TQDomComment::x_1(args);	break;
	case 2: xself->x_2(args);	break;
	case 3: xself->x_3(args);	break;
	case 4: xself->x_4(args);	break;
	case 5: delete (TQDomComment*)xself;	break;
    }
}

class x_TQDomDocument : public TQDomDocument {
public:
    static void x_0(Smoke::Stack x) {
	// TQDomDocument()
	x_TQDomDocument* xret = new x_TQDomDocument();
	x[0].s_class = (void*)xret;
    }
    x_TQDomDocument() : TQDomDocument() {
    }
    static void x_1(Smoke::Stack x) {
	// TQDomDocument(const TQString&)
	x_TQDomDocument* xret = new x_TQDomDocument(*(const TQString *)x[1].s_voidp);
	x[0].s_class = (void*)xret;
    }
    explicit x_TQDomDocument(const TQString& x1) : TQDomDocument(x1) {
    }
    static void x_2(Smoke::Stack x) {
	// TQDomDocument(const TQDomDocumentType&)
	x_TQDomDocument* xret = new x_TQDomDocument(*(const TQDomDocumentType *)x[1].s_class);
	x[0].s_class = (void*)xret;
    }
    explicit x_TQDomDocument(const TQDomDocumentType& x1) : TQDomDocument(x1) {
    }
    static void x_3(Smoke::Stack x) {
	// TQDomDocument(const TQDomDocument&)
	x_TQDomDocument* xret = new x_TQDomDocument(*(const TQDomDocument *)x[1].s_class);
	x[0].s_class = (void*)xret;
    }
    x_TQDomDocument(const TQDomDocument& x1) : TQDomDocument(x1) {
    }
    void x_4(Smoke::Stack x) {
	// operator=(const TQDomDocument&)
	TQDomDocument& xret = this->TQDomDocument::operator=(*(const TQDomDocument *)x[1].s_class);
	x[0].s_class = (void*)&xret;
    }
    void x_5(Smoke::Stack x) {
	// createElement(const TQString&)
	TQDomElement xret = this->TQDomDocument::createElement(*(const TQString *)x[1].s_voidp);
	x[0].s_class = (void*)new TQDomElement(xret);
    }
    void x_6(Smoke::Stack x) {
	// createDocumentFragment()
	TQDomDocumentFragment xret = this->TQDomDocument::createDocumentFragment();
	x[0].s_class = (void*)new TQDomDocumentFragment(xret);
    }
    void x_7(Smoke::Stack x) {
	// createTextNode(const TQString&)
	TQDomText xret = this->TQDomDocument::createTextNode(*(const TQString *)x[1].s_voidp);
	x[0].s_class = (void*)new TQDomText(xret);
    }
    void x_8(Smoke::Stack x) {
	// createComment(const TQString&)
	TQDomComment xret = this->TQDomDocument::createComment(*(const TQString *)x[1].s_voidp);
	x[0].s_class = (void*)new TQDomComment(xret);
    }
    void x_9(Smoke::Stack x) {
	// createCDATASection(const TQString&)
	TQDomCDATASection xret = this->TQDomDocument::createCDATASection(*(const TQString *)x[1].s_voidp);
	x[0].s_class = (void*)new TQDomCDATASection(xret);
    }
    void x_10(Smoke::Stack x) {
	// createProcessingInstruction(const TQString&, const TQString&)
	TQDomProcessingInstruction xret = this->TQDomDocument::createProcessingInstruction(*(const TQString *)x[1].s_voidp,*(const TQString *)x[2].s_voidp);
	x[0].s_class = (void*)new TQDomProcessingInstruction(xret);
    }
    void x_11(Smoke::Stack x) {
	// createAttribute(const TQString&)
	TQDomAttr xret = this->TQDomDocument::createAttribute(*(const TQString *)x[1].s_voidp);
	x[0].s_class = (void*)new TQDomAttr(xret);
    }
    void x_12(Smoke::Stack x) {
	// createEntityReference(const TQString&)
	TQDomEntityReference xret = this->TQDomDocument::createEntityReference(*(const TQString *)x[1].s_voidp);
	x[0].s_class = (void*)new TQDomEntityReference(xret);
    }
    void x_13(Smoke::Stack x) const {
	// elementsByTagName(const TQString&)
	TQDomNodeList xret = this->TQDomDocument::elementsByTagName(*(const TQString *)x[1].s_voidp);
	x[0].s_class = (void*)new TQDomNodeList(xret);
    }
    void x_14(Smoke::Stack x) {
	// importNode(const TQDomNode&, bool)
	TQDomNode xret = this->TQDomDocument::importNode(*(const TQDomNode *)x[1].s_class,(bool)x[2].s_bool);
	x[0].s_class = (void*)new TQDomNode(xret);
    }
    void x_15(Smoke::Stack x) {
	// createElementNS(const TQString&, const TQString&)
	TQDomElement xret = this->TQDomDocument::createElementNS(*(const TQString *)x[1].s_voidp,*(const TQString *)x[2].s_voidp);
	x[0].s_class = (void*)new TQDomElement(xret);
    }
    void x_16(Smoke::Stack x) {
	// createAttributeNS(const TQString&, const TQString&)
	TQDomAttr xret = this->TQDomDocument::createAttributeNS(*(const TQString *)x[1].s_voidp,*(const TQString *)x[2].s_voidp);
	x[0].s_class = (void*)new TQDomAttr(xret);
    }
    void x_17(Smoke::Stack x) {
	// elementsByTagNameNS(const TQString&, const TQString&)
	TQDomNodeList xret = this->TQDomDocument::elementsByTagNameNS(*(const TQString *)x[1].s_voidp,*(const TQString *)x[2].s_voidp);
	x[0].s_class = (void*)new TQDomNodeList(xret);
    }
    void x_18(Smoke::Stack x) {
	// elementById(const TQString&)
	TQDomElement xret = this->TQDomDocument::elementById(*(const TQString *)x[1].s_voidp);
	x[0].s_class = (void*)new TQDomElement(xret);
    }
    void x_19(Smoke::Stack x) const {
	// doctype()
	TQDomDocumentType xret = this->TQDomDocument::doctype();
	x[0].s_class = (void*)new TQDomDocumentType(xret);
    }
    void x_20(Smoke::Stack x) const {
	// implementation()
	TQDomImplementation xret = this->TQDomDocument::implementation();
	x[0].s_class = (void*)new TQDomImplementation(xret);
    }
    void x_21(Smoke::Stack x) const {
	// documentElement()
	TQDomElement xret = this->TQDomDocument::documentElement();
	x[0].s_class = (void*)new TQDomElement(xret);
    }
    void x_22(Smoke::Stack x) {
	// setContent(const TQCString&, bool, TQString*, int*, int*)
	bool xret = this->TQDomDocument::setContent(*(const TQCString *)x[1].s_voidp,(bool)x[2].s_bool,(TQString*)x[3].s_voidp,(int*)x[4].s_voidp,(int*)x[5].s_voidp);
	x[0].s_bool = xret;
    }
    void x_23(Smoke::Stack x) {
	// setContent(const TQCString&, bool, TQString*, int*)
	bool xret = this->TQDomDocument::setContent(*(const TQCString *)x[1].s_voidp,(bool)x[2].s_bool,(TQString*)x[3].s_voidp,(int*)x[4].s_voidp);
	x[0].s_bool = xret;
    }
    void x_24(Smoke::Stack x) {
	// setContent(const TQCString&, bool, TQString*)
	bool xret = this->TQDomDocument::setContent(*(const TQCString *)x[1].s_voidp,(bool)x[2].s_bool,(TQString*)x[3].s_voidp);
	x[0].s_bool = xret;
    }
    void x_25(Smoke::Stack x) {
	// setContent(const TQCString&, bool)
	bool xret = this->TQDomDocument::setContent(*(const TQCString *)x[1].s_voidp,(bool)x[2].s_bool);
	x[0].s_bool = xret;
    }
    void x_26(Smoke::Stack x) {
	// setContent(const TQByteArray&, bool, TQString*, int*, int*)
	bool xret = this->TQDomDocument::setContent(*(const TQByteArray *)x[1].s_class,(bool)x[2].s_bool,(TQString*)x[3].s_voidp,(int*)x[4].s_voidp,(int*)x[5].s_voidp);
	x[0].s_bool = xret;
    }
    void x_27(Smoke::Stack x) {
	// setContent(const TQByteArray&, bool, TQString*, int*)
	bool xret = this->TQDomDocument::setContent(*(const TQByteArray *)x[1].s_class,(bool)x[2].s_bool,(TQString*)x[3].s_voidp,(int*)x[4].s_voidp);
	x[0].s_bool = xret;
    }
    void x_28(Smoke::Stack x) {
	// setContent(const TQByteArray&, bool, TQString*)
	bool xret = this->TQDomDocument::setContent(*(const TQByteArray *)x[1].s_class,(bool)x[2].s_bool,(TQString*)x[3].s_voidp);
	x[0].s_bool = xret;
    }
    void x_29(Smoke::Stack x) {
	// setContent(const TQByteArray&, bool)
	bool xret = this->TQDomDocument::setContent(*(const TQByteArray *)x[1].s_class,(bool)x[2].s_bool);
	x[0].s_bool = xret;
    }
    void x_30(Smoke::Stack x) {
	// setContent(const TQString&, bool, TQString*, int*, int*)
	bool xret = this->TQDomDocument::setContent(*(const TQString *)x[1].s_voidp,(bool)x[2].s_bool,(TQString*)x[3].s_voidp,(int*)x[4].s_voidp,(int*)x[5].s_voidp);
	x[0].s_bool = xret;
    }
    void x_31(Smoke::Stack x) {
	// setContent(const TQString&, bool, TQString*, int*)
	bool xret = this->TQDomDocument::setContent(*(const TQString *)x[1].s_voidp,(bool)x[2].s_bool,(TQString*)x[3].s_voidp,(int*)x[4].s_voidp);
	x[0].s_bool = xret;
    }
    void x_32(Smoke::Stack x) {
	// setContent(const TQString&, bool, TQString*)
	bool xret = this->TQDomDocument::setContent(*(const TQString *)x[1].s_voidp,(bool)x[2].s_bool,(TQString*)x[3].s_voidp);
	x[0].s_bool = xret;
    }
    void x_33(Smoke::Stack x) {
	// setContent(const TQString&, bool)
	bool xret = this->TQDomDocument::setContent(*(const TQString *)x[1].s_voidp,(bool)x[2].s_bool);
	x[0].s_bool = xret;
    }
    void x_34(Smoke::Stack x) {
	// setContent(TQIODevice*, bool, TQString*, int*, int*)
	bool xret = this->TQDomDocument::setContent((TQIODevice*)x[1].s_class,(bool)x[2].s_bool,(TQString*)x[3].s_voidp,(int*)x[4].s_voidp,(int*)x[5].s_voidp);
	x[0].s_bool = xret;
    }
    void x_35(Smoke::Stack x) {
	// setContent(TQIODevice*, bool, TQString*, int*)
	bool xret = this->TQDomDocument::setContent((TQIODevice*)x[1].s_class,(bool)x[2].s_bool,(TQString*)x[3].s_voidp,(int*)x[4].s_voidp);
	x[0].s_bool = xret;
    }
    void x_36(Smoke::Stack x) {
	// setContent(TQIODevice*, bool, TQString*)
	bool xret = this->TQDomDocument::setContent((TQIODevice*)x[1].s_class,(bool)x[2].s_bool,(TQString*)x[3].s_voidp);
	x[0].s_bool = xret;
    }
    void x_37(Smoke::Stack x) {
	// setContent(TQIODevice*, bool)
	bool xret = this->TQDomDocument::setContent((TQIODevice*)x[1].s_class,(bool)x[2].s_bool);
	x[0].s_bool = xret;
    }
    void x_38(Smoke::Stack x) {
	// setContent(const TQCString&, TQString*, int*, int*)
	bool xret = this->TQDomDocument::setContent(*(const TQCString *)x[1].s_voidp,(TQString*)x[2].s_voidp,(int*)x[3].s_voidp,(int*)x[4].s_voidp);
	x[0].s_bool = xret;
    }
    void x_39(Smoke::Stack x) {
	// setContent(const TQCString&, TQString*, int*)
	bool xret = this->TQDomDocument::setContent(*(const TQCString *)x[1].s_voidp,(TQString*)x[2].s_voidp,(int*)x[3].s_voidp);
	x[0].s_bool = xret;
    }
    void x_40(Smoke::Stack x) {
	// setContent(const TQCString&, TQString*)
	bool xret = this->TQDomDocument::setContent(*(const TQCString *)x[1].s_voidp,(TQString*)x[2].s_voidp);
	x[0].s_bool = xret;
    }
    void x_41(Smoke::Stack x) {
	// setContent(const TQCString&)
	bool xret = this->TQDomDocument::setContent(*(const TQCString *)x[1].s_voidp);
	x[0].s_bool = xret;
    }
    void x_42(Smoke::Stack x) {
	// setContent(const TQByteArray&, TQString*, int*, int*)
	bool xret = this->TQDomDocument::setContent(*(const TQByteArray *)x[1].s_class,(TQString*)x[2].s_voidp,(int*)x[3].s_voidp,(int*)x[4].s_voidp);
	x[0].s_bool = xret;
    }
    void x_43(Smoke::Stack x) {
	// setContent(const TQByteArray&, TQString*, int*)
	bool xret = this->TQDomDocument::setContent(*(const TQByteArray *)x[1].s_class,(TQString*)x[2].s_voidp,(int*)x[3].s_voidp);
	x[0].s_bool = xret;
    }
    void x_44(Smoke::Stack x) {
	// setContent(const TQByteArray&, TQString*)
	bool xret = this->TQDomDocument::setContent(*(const TQByteArray *)x[1].s_class,(TQString*)x[2].s_voidp);
	x[0].s_bool = xret;
    }
    void x_45(Smoke::Stack x) {
	// setContent(const TQByteArray&)
	bool xret = this->TQDomDocument::setContent(*(const TQByteArray *)x[1].s_class);
	x[0].s_bool = xret;
    }
    void x_46(Smoke::Stack x) {
	// setContent(const TQString&, TQString*, int*, int*)
	bool xret = this->TQDomDocument::setContent(*(const TQString *)x[1].s_voidp,(TQString*)x[2].s_voidp,(int*)x[3].s_voidp,(int*)x[4].s_voidp);
	x[0].s_bool = xret;
    }
    void x_47(Smoke::Stack x) {
	// setContent(const TQString&, TQString*, int*)
	bool xret = this->TQDomDocument::setContent(*(const TQString *)x[1].s_voidp,(TQString*)x[2].s_voidp,(int*)x[3].s_voidp);
	x[0].s_bool = xret;
    }
    void x_48(Smoke::Stack x) {
	// setContent(const TQString&, TQString*)
	bool xret = this->TQDomDocument::setContent(*(const TQString *)x[1].s_voidp,(TQString*)x[2].s_voidp);
	x[0].s_bool = xret;
    }
    void x_49(Smoke::Stack x) {
	// setContent(const TQString&)
	bool xret = this->TQDomDocument::setContent(*(const TQString *)x[1].s_voidp);
	x[0].s_bool = xret;
    }
    void x_50(Smoke::Stack x) {
	// setContent(TQIODevice*, TQString*, int*, int*)
	bool xret = this->TQDomDocument::setContent((TQIODevice*)x[1].s_class,(TQString*)x[2].s_voidp,(int*)x[3].s_voidp,(int*)x[4].s_voidp);
	x[0].s_bool = xret;
    }
    void x_51(Smoke::Stack x) {
	// setContent(TQIODevice*, TQString*, int*)
	bool xret = this->TQDomDocument::setContent((TQIODevice*)x[1].s_class,(TQString*)x[2].s_voidp,(int*)x[3].s_voidp);
	x[0].s_bool = xret;
    }
    void x_52(Smoke::Stack x) {
	// setContent(TQIODevice*, TQString*)
	bool xret = this->TQDomDocument::setContent((TQIODevice*)x[1].s_class,(TQString*)x[2].s_voidp);
	x[0].s_bool = xret;
    }
    void x_53(Smoke::Stack x) {
	// setContent(TQIODevice*)
	bool xret = this->TQDomDocument::setContent((TQIODevice*)x[1].s_class);
	x[0].s_bool = xret;
    }
    void x_54(Smoke::Stack x) {
	// setContent(TQXmlInputSource*, TQXmlReader*, TQString*, int*, int*)
	bool xret = this->TQDomDocument::setContent((TQXmlInputSource*)x[1].s_class,(TQXmlReader*)x[2].s_class,(TQString*)x[3].s_voidp,(int*)x[4].s_voidp,(int*)x[5].s_voidp);
	x[0].s_bool = xret;
    }
    void x_55(Smoke::Stack x) {
	// setContent(TQXmlInputSource*, TQXmlReader*, TQString*, int*)
	bool xret = this->TQDomDocument::setContent((TQXmlInputSource*)x[1].s_class,(TQXmlReader*)x[2].s_class,(TQString*)x[3].s_voidp,(int*)x[4].s_voidp);
	x[0].s_bool = xret;
    }
    void x_56(Smoke::Stack x) {
	// setContent(TQXmlInputSource*, TQXmlReader*, TQString*)
	bool xret = this->TQDomDocument::setContent((TQXmlInputSource*)x[1].s_class,(TQXmlReader*)x[2].s_class,(TQString*)x[3].s_voidp);
	x[0].s_bool = xret;
    }
    void x_57(Smoke::Stack x) {
	// setContent(TQXmlInputSource*, TQXmlReader*)
	bool xret = this->TQDomDocument::setContent((TQXmlInputSource*)x[1].s_class,(TQXmlReader*)x[2].s_class);
	x[0].s_bool = xret;
    }
    void x_58(Smoke::Stack x) const {
	// nodeType()
	TQDomNode::NodeType xret = this->TQDomDocument::nodeType();
	x[0].s_enum = xret;
    }
    void x_59(Smoke::Stack x) const {
	// isDocument()
	bool xret = this->TQDomDocument::isDocument();
	x[0].s_bool = xret;
    }
    void x_60(Smoke::Stack x) const {
	// toString()
	TQString xret = this->TQDomDocument::toString();
	x[0].s_voidp = (void*)new TQString(xret);
    }
    void x_61(Smoke::Stack x) const {
	// toString(int)
	TQString xret = this->TQDomDocument::toString((int)x[1].s_int);
	x[0].s_voidp = (void*)new TQString(xret);
    }
    void x_62(Smoke::Stack x) const {
	// toCString()
	TQCString xret = this->TQDomDocument::toCString();
	x[0].s_voidp = (void*)new TQCString(xret);
    }
    void x_63(Smoke::Stack x) const {
	// toCString(int)
	TQCString xret = this->TQDomDocument::toCString((int)x[1].s_int);
	x[0].s_voidp = (void*)new TQCString(xret);
    }
    virtual TQDomNode appendChild(const TQDomNode& x1) {
	Smoke::StackItem x[2];
	x[1].s_class = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2575, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::appendChild(x1);
    }
    virtual TQDomNamedNodeMap attributes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2589, (void*)this, x)) {
	    TQDomNamedNodeMap *xptr = (TQDomNamedNodeMap *)x[0].s_class;
	    TQDomNamedNodeMap xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::attributes();
    }
    virtual TQDomNodeList childNodes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2584, (void*)this, x)) {
	    TQDomNodeList *xptr = (TQDomNodeList *)x[0].s_class;
	    TQDomNodeList xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::childNodes();
    }
    virtual TQDomNode cloneNode(bool x1) const {
	Smoke::StackItem x[2];
	x[1].s_bool = x1;
	if(qt_Smoke->binding->callMethod(2577, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::cloneNode(x1);
    }
    virtual TQDomNode firstChild() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2585, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::firstChild();
    }
    virtual bool hasAttributes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2593, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::hasAttributes();
    }
    virtual bool hasChildNodes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2576, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::hasChildNodes();
    }
    virtual TQDomNode insertAfter(const TQDomNode& x1, const TQDomNode& x2) {
	Smoke::StackItem x[3];
	x[1].s_class = (void*)&x1;
	x[2].s_class = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2572, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::insertAfter(x1, x2);
    }
    virtual TQDomNode insertBefore(const TQDomNode& x1, const TQDomNode& x2) {
	Smoke::StackItem x[3];
	x[1].s_class = (void*)&x1;
	x[2].s_class = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2571, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::insertBefore(x1, x2);
    }
    virtual bool isAttr() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2598, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isAttr();
    }
    virtual bool isCDATASection() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2599, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isCDATASection();
    }
    virtual bool isCharacterData() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2609, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isCharacterData();
    }
    virtual bool isComment() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2610, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isComment();
    }
    virtual bool isDocument() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2451, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomDocument::isDocument();
    }
    virtual bool isDocumentFragment() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2600, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isDocumentFragment();
    }
    virtual bool isDocumentType() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2602, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isDocumentType();
    }
    virtual bool isElement() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2603, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isElement();
    }
    virtual bool isEntity() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2606, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isEntity();
    }
    virtual bool isEntityReference() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2604, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isEntityReference();
    }
    virtual bool isNotation() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2607, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isNotation();
    }
    virtual bool isProcessingInstruction() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2608, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isProcessingInstruction();
    }
    virtual bool isSupported(const TQString& x1, const TQString& x2) const {
	Smoke::StackItem x[3];
	x[1].s_voidp = (void*)&x1;
	x[2].s_voidp = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2580, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isSupported(x1, x2);
    }
    virtual bool isText() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2605, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isText();
    }
    virtual TQDomNode lastChild() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2586, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::lastChild();
    }
    virtual TQString localName() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2592, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::localName();
    }
    virtual TQString namespaceURI() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2591, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::namespaceURI();
    }
    virtual TQDomNode nextSibling() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2588, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::nextSibling();
    }
    virtual TQString nodeName() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2581, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::nodeName();
    }
    virtual TQDomNode::NodeType nodeType() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2450, (void*)this, x)) {
	    TQDomNode::NodeType *xptr = (TQDomNode::NodeType *)x[0].s_class;
	    TQDomNode::NodeType xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomDocument::nodeType();
    }
    virtual TQString nodeValue() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2594, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::nodeValue();
    }
    virtual void normalize() {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2579, (void*)this, x)) return;
	this->TQDomNode::normalize();
    }
    virtual TQDomDocument ownerDocument() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2590, (void*)this, x)) {
	    TQDomDocument *xptr = (TQDomDocument *)x[0].s_class;
	    TQDomDocument xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::ownerDocument();
    }
    virtual TQDomNode parentNode() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2583, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::parentNode();
    }
    virtual TQString prefix() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2596, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::prefix();
    }
    virtual TQDomNode previousSibling() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2587, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::previousSibling();
    }
    virtual TQDomNode removeChild(const TQDomNode& x1) {
	Smoke::StackItem x[2];
	x[1].s_class = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2574, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::removeChild(x1);
    }
    virtual TQDomNode replaceChild(const TQDomNode& x1, const TQDomNode& x2) {
	Smoke::StackItem x[3];
	x[1].s_class = (void*)&x1;
	x[2].s_class = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2573, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::replaceChild(x1, x2);
    }
    virtual void setNodeValue(const TQString& x1) {
	Smoke::StackItem x[2];
	x[1].s_voidp = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2595, (void*)this, x)) return;
	this->TQDomNode::setNodeValue(x1);
    }
    virtual void setPrefix(const TQString& x1) {
	Smoke::StackItem x[2];
	x[1].s_voidp = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2597, (void*)this, x)) return;
	this->TQDomNode::setPrefix(x1);
    }
    ~x_TQDomDocument() { qt_Smoke->binding->deleted(78, (void*)this); }
};
void xcall_TQDomDocument(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_TQDomDocument *xself = (x_TQDomDocument*)obj;
    switch(xi) {
	case 0: x_TQDomDocument::x_0(args);	break;
	case 1: x_TQDomDocument::x_1(args);	break;
	case 2: x_TQDomDocument::x_2(args);	break;
	case 3: x_TQDomDocument::x_3(args);	break;
	case 4: xself->x_4(args);	break;
	case 5: xself->x_5(args);	break;
	case 6: xself->x_6(args);	break;
	case 7: xself->x_7(args);	break;
	case 8: xself->x_8(args);	break;
	case 9: xself->x_9(args);	break;
	case 10: xself->x_10(args);	break;
	case 11: xself->x_11(args);	break;
	case 12: xself->x_12(args);	break;
	case 13: xself->x_13(args);	break;
	case 14: xself->x_14(args);	break;
	case 15: xself->x_15(args);	break;
	case 16: xself->x_16(args);	break;
	case 17: xself->x_17(args);	break;
	case 18: xself->x_18(args);	break;
	case 19: xself->x_19(args);	break;
	case 20: xself->x_20(args);	break;
	case 21: xself->x_21(args);	break;
	case 22: xself->x_22(args);	break;
	case 23: xself->x_23(args);	break;
	case 24: xself->x_24(args);	break;
	case 25: xself->x_25(args);	break;
	case 26: xself->x_26(args);	break;
	case 27: xself->x_27(args);	break;
	case 28: xself->x_28(args);	break;
	case 29: xself->x_29(args);	break;
	case 30: xself->x_30(args);	break;
	case 31: xself->x_31(args);	break;
	case 32: xself->x_32(args);	break;
	case 33: xself->x_33(args);	break;
	case 34: xself->x_34(args);	break;
	case 35: xself->x_35(args);	break;
	case 36: xself->x_36(args);	break;
	case 37: xself->x_37(args);	break;
	case 38: xself->x_38(args);	break;
	case 39: xself->x_39(args);	break;
	case 40: xself->x_40(args);	break;
	case 41: xself->x_41(args);	break;
	case 42: xself->x_42(args);	break;
	case 43: xself->x_43(args);	break;
	case 44: xself->x_44(args);	break;
	case 45: xself->x_45(args);	break;
	case 46: xself->x_46(args);	break;
	case 47: xself->x_47(args);	break;
	case 48: xself->x_48(args);	break;
	case 49: xself->x_49(args);	break;
	case 50: xself->x_50(args);	break;
	case 51: xself->x_51(args);	break;
	case 52: xself->x_52(args);	break;
	case 53: xself->x_53(args);	break;
	case 54: xself->x_54(args);	break;
	case 55: xself->x_55(args);	break;
	case 56: xself->x_56(args);	break;
	case 57: xself->x_57(args);	break;
	case 58: xself->x_58(args);	break;
	case 59: xself->x_59(args);	break;
	case 60: xself->x_60(args);	break;
	case 61: xself->x_61(args);	break;
	case 62: xself->x_62(args);	break;
	case 63: xself->x_63(args);	break;
	case 64: delete (TQDomDocument*)xself;	break;
    }
}

class x_TQDomDocumentFragment : public TQDomDocumentFragment {
public:
    static void x_0(Smoke::Stack x) {
	// TQDomDocumentFragment()
	x_TQDomDocumentFragment* xret = new x_TQDomDocumentFragment();
	x[0].s_class = (void*)xret;
    }
    x_TQDomDocumentFragment() : TQDomDocumentFragment() {
    }
    static void x_1(Smoke::Stack x) {
	// TQDomDocumentFragment(const TQDomDocumentFragment&)
	x_TQDomDocumentFragment* xret = new x_TQDomDocumentFragment(*(const TQDomDocumentFragment *)x[1].s_class);
	x[0].s_class = (void*)xret;
    }
    x_TQDomDocumentFragment(const TQDomDocumentFragment& x1) : TQDomDocumentFragment(x1) {
    }
    void x_2(Smoke::Stack x) {
	// operator=(const TQDomDocumentFragment&)
	TQDomDocumentFragment& xret = this->TQDomDocumentFragment::operator=(*(const TQDomDocumentFragment *)x[1].s_class);
	x[0].s_class = (void*)&xret;
    }
    void x_3(Smoke::Stack x) const {
	// nodeType()
	TQDomNode::NodeType xret = this->TQDomDocumentFragment::nodeType();
	x[0].s_enum = xret;
    }
    void x_4(Smoke::Stack x) const {
	// isDocumentFragment()
	bool xret = this->TQDomDocumentFragment::isDocumentFragment();
	x[0].s_bool = xret;
    }
    virtual TQDomNode appendChild(const TQDomNode& x1) {
	Smoke::StackItem x[2];
	x[1].s_class = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2575, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::appendChild(x1);
    }
    virtual TQDomNamedNodeMap attributes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2589, (void*)this, x)) {
	    TQDomNamedNodeMap *xptr = (TQDomNamedNodeMap *)x[0].s_class;
	    TQDomNamedNodeMap xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::attributes();
    }
    virtual TQDomNodeList childNodes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2584, (void*)this, x)) {
	    TQDomNodeList *xptr = (TQDomNodeList *)x[0].s_class;
	    TQDomNodeList xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::childNodes();
    }
    virtual TQDomNode cloneNode(bool x1) const {
	Smoke::StackItem x[2];
	x[1].s_bool = x1;
	if(qt_Smoke->binding->callMethod(2577, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::cloneNode(x1);
    }
    virtual TQDomNode firstChild() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2585, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::firstChild();
    }
    virtual bool hasAttributes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2593, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::hasAttributes();
    }
    virtual bool hasChildNodes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2576, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::hasChildNodes();
    }
    virtual TQDomNode insertAfter(const TQDomNode& x1, const TQDomNode& x2) {
	Smoke::StackItem x[3];
	x[1].s_class = (void*)&x1;
	x[2].s_class = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2572, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::insertAfter(x1, x2);
    }
    virtual TQDomNode insertBefore(const TQDomNode& x1, const TQDomNode& x2) {
	Smoke::StackItem x[3];
	x[1].s_class = (void*)&x1;
	x[2].s_class = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2571, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::insertBefore(x1, x2);
    }
    virtual bool isAttr() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2598, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isAttr();
    }
    virtual bool isCDATASection() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2599, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isCDATASection();
    }
    virtual bool isCharacterData() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2609, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isCharacterData();
    }
    virtual bool isComment() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2610, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isComment();
    }
    virtual bool isDocument() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2601, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isDocument();
    }
    virtual bool isDocumentFragment() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2461, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomDocumentFragment::isDocumentFragment();
    }
    virtual bool isDocumentType() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2602, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isDocumentType();
    }
    virtual bool isElement() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2603, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isElement();
    }
    virtual bool isEntity() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2606, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isEntity();
    }
    virtual bool isEntityReference() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2604, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isEntityReference();
    }
    virtual bool isNotation() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2607, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isNotation();
    }
    virtual bool isProcessingInstruction() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2608, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isProcessingInstruction();
    }
    virtual bool isSupported(const TQString& x1, const TQString& x2) const {
	Smoke::StackItem x[3];
	x[1].s_voidp = (void*)&x1;
	x[2].s_voidp = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2580, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isSupported(x1, x2);
    }
    virtual bool isText() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2605, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isText();
    }
    virtual TQDomNode lastChild() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2586, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::lastChild();
    }
    virtual TQString localName() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2592, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::localName();
    }
    virtual TQString namespaceURI() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2591, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::namespaceURI();
    }
    virtual TQDomNode nextSibling() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2588, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::nextSibling();
    }
    virtual TQString nodeName() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2581, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::nodeName();
    }
    virtual TQDomNode::NodeType nodeType() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2460, (void*)this, x)) {
	    TQDomNode::NodeType *xptr = (TQDomNode::NodeType *)x[0].s_class;
	    TQDomNode::NodeType xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomDocumentFragment::nodeType();
    }
    virtual TQString nodeValue() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2594, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::nodeValue();
    }
    virtual void normalize() {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2579, (void*)this, x)) return;
	this->TQDomNode::normalize();
    }
    virtual TQDomDocument ownerDocument() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2590, (void*)this, x)) {
	    TQDomDocument *xptr = (TQDomDocument *)x[0].s_class;
	    TQDomDocument xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::ownerDocument();
    }
    virtual TQDomNode parentNode() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2583, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::parentNode();
    }
    virtual TQString prefix() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2596, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::prefix();
    }
    virtual TQDomNode previousSibling() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2587, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::previousSibling();
    }
    virtual TQDomNode removeChild(const TQDomNode& x1) {
	Smoke::StackItem x[2];
	x[1].s_class = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2574, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::removeChild(x1);
    }
    virtual TQDomNode replaceChild(const TQDomNode& x1, const TQDomNode& x2) {
	Smoke::StackItem x[3];
	x[1].s_class = (void*)&x1;
	x[2].s_class = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2573, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::replaceChild(x1, x2);
    }
    virtual void setNodeValue(const TQString& x1) {
	Smoke::StackItem x[2];
	x[1].s_voidp = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2595, (void*)this, x)) return;
	this->TQDomNode::setNodeValue(x1);
    }
    virtual void setPrefix(const TQString& x1) {
	Smoke::StackItem x[2];
	x[1].s_voidp = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2597, (void*)this, x)) return;
	this->TQDomNode::setPrefix(x1);
    }
    ~x_TQDomDocumentFragment() { qt_Smoke->binding->deleted(79, (void*)this); }
};
void xcall_TQDomDocumentFragment(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_TQDomDocumentFragment *xself = (x_TQDomDocumentFragment*)obj;
    switch(xi) {
	case 0: x_TQDomDocumentFragment::x_0(args);	break;
	case 1: x_TQDomDocumentFragment::x_1(args);	break;
	case 2: xself->x_2(args);	break;
	case 3: xself->x_3(args);	break;
	case 4: xself->x_4(args);	break;
	case 5: delete (TQDomDocumentFragment*)xself;	break;
    }
}

class x_TQDomDocumentType : public TQDomDocumentType {
public:
    static void x_0(Smoke::Stack x) {
	// TQDomDocumentType()
	x_TQDomDocumentType* xret = new x_TQDomDocumentType();
	x[0].s_class = (void*)xret;
    }
    x_TQDomDocumentType() : TQDomDocumentType() {
    }
    static void x_1(Smoke::Stack x) {
	// TQDomDocumentType(const TQDomDocumentType&)
	x_TQDomDocumentType* xret = new x_TQDomDocumentType(*(const TQDomDocumentType *)x[1].s_class);
	x[0].s_class = (void*)xret;
    }
    x_TQDomDocumentType(const TQDomDocumentType& x1) : TQDomDocumentType(x1) {
    }
    void x_2(Smoke::Stack x) {
	// operator=(const TQDomDocumentType&)
	TQDomDocumentType& xret = this->TQDomDocumentType::operator=(*(const TQDomDocumentType *)x[1].s_class);
	x[0].s_class = (void*)&xret;
    }
    void x_3(Smoke::Stack x) const {
	// name()
	TQString xret = this->TQDomDocumentType::name();
	x[0].s_voidp = (void*)new TQString(xret);
    }
    void x_4(Smoke::Stack x) const {
	// entities()
	TQDomNamedNodeMap xret = this->TQDomDocumentType::entities();
	x[0].s_class = (void*)new TQDomNamedNodeMap(xret);
    }
    void x_5(Smoke::Stack x) const {
	// notations()
	TQDomNamedNodeMap xret = this->TQDomDocumentType::notations();
	x[0].s_class = (void*)new TQDomNamedNodeMap(xret);
    }
    void x_6(Smoke::Stack x) const {
	// publicId()
	TQString xret = this->TQDomDocumentType::publicId();
	x[0].s_voidp = (void*)new TQString(xret);
    }
    void x_7(Smoke::Stack x) const {
	// systemId()
	TQString xret = this->TQDomDocumentType::systemId();
	x[0].s_voidp = (void*)new TQString(xret);
    }
    void x_8(Smoke::Stack x) const {
	// internalSubset()
	TQString xret = this->TQDomDocumentType::internalSubset();
	x[0].s_voidp = (void*)new TQString(xret);
    }
    void x_9(Smoke::Stack x) const {
	// nodeType()
	TQDomNode::NodeType xret = this->TQDomDocumentType::nodeType();
	x[0].s_enum = xret;
    }
    void x_10(Smoke::Stack x) const {
	// isDocumentType()
	bool xret = this->TQDomDocumentType::isDocumentType();
	x[0].s_bool = xret;
    }
    virtual TQDomNode appendChild(const TQDomNode& x1) {
	Smoke::StackItem x[2];
	x[1].s_class = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2575, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::appendChild(x1);
    }
    virtual TQDomNamedNodeMap attributes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2589, (void*)this, x)) {
	    TQDomNamedNodeMap *xptr = (TQDomNamedNodeMap *)x[0].s_class;
	    TQDomNamedNodeMap xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::attributes();
    }
    virtual TQDomNodeList childNodes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2584, (void*)this, x)) {
	    TQDomNodeList *xptr = (TQDomNodeList *)x[0].s_class;
	    TQDomNodeList xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::childNodes();
    }
    virtual TQDomNode cloneNode(bool x1) const {
	Smoke::StackItem x[2];
	x[1].s_bool = x1;
	if(qt_Smoke->binding->callMethod(2577, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::cloneNode(x1);
    }
    virtual TQDomNamedNodeMap entities() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2467, (void*)this, x)) {
	    TQDomNamedNodeMap *xptr = (TQDomNamedNodeMap *)x[0].s_class;
	    TQDomNamedNodeMap xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomDocumentType::entities();
    }
    virtual TQDomNode firstChild() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2585, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::firstChild();
    }
    virtual bool hasAttributes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2593, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::hasAttributes();
    }
    virtual bool hasChildNodes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2576, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::hasChildNodes();
    }
    virtual TQDomNode insertAfter(const TQDomNode& x1, const TQDomNode& x2) {
	Smoke::StackItem x[3];
	x[1].s_class = (void*)&x1;
	x[2].s_class = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2572, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::insertAfter(x1, x2);
    }
    virtual TQDomNode insertBefore(const TQDomNode& x1, const TQDomNode& x2) {
	Smoke::StackItem x[3];
	x[1].s_class = (void*)&x1;
	x[2].s_class = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2571, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::insertBefore(x1, x2);
    }
    virtual TQString internalSubset() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2471, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomDocumentType::internalSubset();
    }
    virtual bool isAttr() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2598, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isAttr();
    }
    virtual bool isCDATASection() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2599, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isCDATASection();
    }
    virtual bool isCharacterData() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2609, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isCharacterData();
    }
    virtual bool isComment() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2610, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isComment();
    }
    virtual bool isDocument() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2601, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isDocument();
    }
    virtual bool isDocumentFragment() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2600, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isDocumentFragment();
    }
    virtual bool isDocumentType() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2473, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomDocumentType::isDocumentType();
    }
    virtual bool isElement() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2603, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isElement();
    }
    virtual bool isEntity() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2606, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isEntity();
    }
    virtual bool isEntityReference() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2604, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isEntityReference();
    }
    virtual bool isNotation() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2607, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isNotation();
    }
    virtual bool isProcessingInstruction() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2608, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isProcessingInstruction();
    }
    virtual bool isSupported(const TQString& x1, const TQString& x2) const {
	Smoke::StackItem x[3];
	x[1].s_voidp = (void*)&x1;
	x[2].s_voidp = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2580, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isSupported(x1, x2);
    }
    virtual bool isText() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2605, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isText();
    }
    virtual TQDomNode lastChild() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2586, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::lastChild();
    }
    virtual TQString localName() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2592, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::localName();
    }
    virtual TQString name() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2466, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomDocumentType::name();
    }
    virtual TQString namespaceURI() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2591, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::namespaceURI();
    }
    virtual TQDomNode nextSibling() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2588, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::nextSibling();
    }
    virtual TQString nodeName() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2581, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::nodeName();
    }
    virtual TQDomNode::NodeType nodeType() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2472, (void*)this, x)) {
	    TQDomNode::NodeType *xptr = (TQDomNode::NodeType *)x[0].s_class;
	    TQDomNode::NodeType xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomDocumentType::nodeType();
    }
    virtual TQString nodeValue() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2594, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::nodeValue();
    }
    virtual void normalize() {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2579, (void*)this, x)) return;
	this->TQDomNode::normalize();
    }
    virtual TQDomNamedNodeMap notations() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2468, (void*)this, x)) {
	    TQDomNamedNodeMap *xptr = (TQDomNamedNodeMap *)x[0].s_class;
	    TQDomNamedNodeMap xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomDocumentType::notations();
    }
    virtual TQDomDocument ownerDocument() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2590, (void*)this, x)) {
	    TQDomDocument *xptr = (TQDomDocument *)x[0].s_class;
	    TQDomDocument xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::ownerDocument();
    }
    virtual TQDomNode parentNode() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2583, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::parentNode();
    }
    virtual TQString prefix() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2596, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::prefix();
    }
    virtual TQDomNode previousSibling() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2587, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::previousSibling();
    }
    virtual TQString publicId() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2469, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomDocumentType::publicId();
    }
    virtual TQDomNode removeChild(const TQDomNode& x1) {
	Smoke::StackItem x[2];
	x[1].s_class = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2574, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::removeChild(x1);
    }
    virtual TQDomNode replaceChild(const TQDomNode& x1, const TQDomNode& x2) {
	Smoke::StackItem x[3];
	x[1].s_class = (void*)&x1;
	x[2].s_class = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2573, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::replaceChild(x1, x2);
    }
    virtual void setNodeValue(const TQString& x1) {
	Smoke::StackItem x[2];
	x[1].s_voidp = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2595, (void*)this, x)) return;
	this->TQDomNode::setNodeValue(x1);
    }
    virtual void setPrefix(const TQString& x1) {
	Smoke::StackItem x[2];
	x[1].s_voidp = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2597, (void*)this, x)) return;
	this->TQDomNode::setPrefix(x1);
    }
    virtual TQString systemId() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2470, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomDocumentType::systemId();
    }
    ~x_TQDomDocumentType() { qt_Smoke->binding->deleted(80, (void*)this); }
};
void xcall_TQDomDocumentType(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_TQDomDocumentType *xself = (x_TQDomDocumentType*)obj;
    switch(xi) {
	case 0: x_TQDomDocumentType::x_0(args);	break;
	case 1: x_TQDomDocumentType::x_1(args);	break;
	case 2: xself->x_2(args);	break;
	case 3: xself->x_3(args);	break;
	case 4: xself->x_4(args);	break;
	case 5: xself->x_5(args);	break;
	case 6: xself->x_6(args);	break;
	case 7: xself->x_7(args);	break;
	case 8: xself->x_8(args);	break;
	case 9: xself->x_9(args);	break;
	case 10: xself->x_10(args);	break;
	case 11: delete (TQDomDocumentType*)xself;	break;
    }
}

class x_TQDomElement : public TQDomElement {
public:
    static void x_0(Smoke::Stack x) {
	// TQDomElement()
	x_TQDomElement* xret = new x_TQDomElement();
	x[0].s_class = (void*)xret;
    }
    x_TQDomElement() : TQDomElement() {
    }
    static void x_1(Smoke::Stack x) {
	// TQDomElement(const TQDomElement&)
	x_TQDomElement* xret = new x_TQDomElement(*(const TQDomElement *)x[1].s_class);
	x[0].s_class = (void*)xret;
    }
    x_TQDomElement(const TQDomElement& x1) : TQDomElement(x1) {
    }
    void x_2(Smoke::Stack x) {
	// operator=(const TQDomElement&)
	TQDomElement& xret = this->TQDomElement::operator=(*(const TQDomElement *)x[1].s_class);
	x[0].s_class = (void*)&xret;
    }
    void x_3(Smoke::Stack x) const {
	// attribute(const TQString&, const TQString&)
	TQString xret = this->TQDomElement::attribute(*(const TQString *)x[1].s_voidp,*(const TQString *)x[2].s_voidp);
	x[0].s_voidp = (void*)new TQString(xret);
    }
    void x_4(Smoke::Stack x) const {
	// attribute(const TQString&)
	TQString xret = this->TQDomElement::attribute(*(const TQString *)x[1].s_voidp);
	x[0].s_voidp = (void*)new TQString(xret);
    }
    void x_5(Smoke::Stack x) {
	// setAttribute(const TQString&, const TQString&)
	this->TQDomElement::setAttribute(*(const TQString *)x[1].s_voidp,*(const TQString *)x[2].s_voidp);
	(void)x; // noop (for compiler warning)
    }
    void x_6(Smoke::Stack x) {
	// setAttribute(const TQString&, int)
	this->TQDomElement::setAttribute(*(const TQString *)x[1].s_voidp,(int)x[2].s_int);
	(void)x; // noop (for compiler warning)
    }
    void x_7(Smoke::Stack x) {
	// setAttribute(const TQString&, uint)
	this->TQDomElement::setAttribute(*(const TQString *)x[1].s_voidp,(uint)x[2].s_uint);
	(void)x; // noop (for compiler warning)
    }
    void x_8(Smoke::Stack x) {
	// setAttribute(const TQString&, long)
	this->TQDomElement::setAttribute(*(const TQString *)x[1].s_voidp,(long)x[2].s_long);
	(void)x; // noop (for compiler warning)
    }
    void x_9(Smoke::Stack x) {
	// setAttribute(const TQString&, ulong)
	this->TQDomElement::setAttribute(*(const TQString *)x[1].s_voidp,(ulong)x[2].s_ulong);
	(void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
	// setAttribute(const TQString&, double)
	this->TQDomElement::setAttribute(*(const TQString *)x[1].s_voidp,(double)x[2].s_double);
	(void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
	// removeAttribute(const TQString&)
	this->TQDomElement::removeAttribute(*(const TQString *)x[1].s_voidp);
	(void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
	// attributeNode(const TQString&)
	TQDomAttr xret = this->TQDomElement::attributeNode(*(const TQString *)x[1].s_voidp);
	x[0].s_class = (void*)new TQDomAttr(xret);
    }
    void x_13(Smoke::Stack x) {
	// setAttributeNode(const TQDomAttr&)
	TQDomAttr xret = this->TQDomElement::setAttributeNode(*(const TQDomAttr *)x[1].s_class);
	x[0].s_class = (void*)new TQDomAttr(xret);
    }
    void x_14(Smoke::Stack x) {
	// removeAttributeNode(const TQDomAttr&)
	TQDomAttr xret = this->TQDomElement::removeAttributeNode(*(const TQDomAttr *)x[1].s_class);
	x[0].s_class = (void*)new TQDomAttr(xret);
    }
    void x_15(Smoke::Stack x) const {
	// elementsByTagName(const TQString&)
	TQDomNodeList xret = this->TQDomElement::elementsByTagName(*(const TQString *)x[1].s_voidp);
	x[0].s_class = (void*)new TQDomNodeList(xret);
    }
    void x_16(Smoke::Stack x) const {
	// hasAttribute(const TQString&)
	bool xret = this->TQDomElement::hasAttribute(*(const TQString *)x[1].s_voidp);
	x[0].s_bool = xret;
    }
    void x_17(Smoke::Stack x) const {
	// attributeNS(const TQString, const TQString&, const TQString&)
	TQString xret = this->TQDomElement::attributeNS(*(const TQString *)x[1].s_voidp,*(const TQString *)x[2].s_voidp,*(const TQString *)x[3].s_voidp);
	x[0].s_voidp = (void*)new TQString(xret);
    }
    void x_18(Smoke::Stack x) {
	// setAttributeNS(const TQString, const TQString&, const TQString&)
	this->TQDomElement::setAttributeNS(*(const TQString *)x[1].s_voidp,*(const TQString *)x[2].s_voidp,*(const TQString *)x[3].s_voidp);
	(void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
	// setAttributeNS(const TQString, const TQString&, int)
	this->TQDomElement::setAttributeNS(*(const TQString *)x[1].s_voidp,*(const TQString *)x[2].s_voidp,(int)x[3].s_int);
	(void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
	// setAttributeNS(const TQString, const TQString&, uint)
	this->TQDomElement::setAttributeNS(*(const TQString *)x[1].s_voidp,*(const TQString *)x[2].s_voidp,(uint)x[3].s_uint);
	(void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
	// setAttributeNS(const TQString, const TQString&, long)
	this->TQDomElement::setAttributeNS(*(const TQString *)x[1].s_voidp,*(const TQString *)x[2].s_voidp,(long)x[3].s_long);
	(void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
	// setAttributeNS(const TQString, const TQString&, ulong)
	this->TQDomElement::setAttributeNS(*(const TQString *)x[1].s_voidp,*(const TQString *)x[2].s_voidp,(ulong)x[3].s_ulong);
	(void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
	// setAttributeNS(const TQString, const TQString&, double)
	this->TQDomElement::setAttributeNS(*(const TQString *)x[1].s_voidp,*(const TQString *)x[2].s_voidp,(double)x[3].s_double);
	(void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
	// removeAttributeNS(const TQString&, const TQString&)
	this->TQDomElement::removeAttributeNS(*(const TQString *)x[1].s_voidp,*(const TQString *)x[2].s_voidp);
	(void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
	// attributeNodeNS(const TQString&, const TQString&)
	TQDomAttr xret = this->TQDomElement::attributeNodeNS(*(const TQString *)x[1].s_voidp,*(const TQString *)x[2].s_voidp);
	x[0].s_class = (void*)new TQDomAttr(xret);
    }
    void x_26(Smoke::Stack x) {
	// setAttributeNodeNS(const TQDomAttr&)
	TQDomAttr xret = this->TQDomElement::setAttributeNodeNS(*(const TQDomAttr *)x[1].s_class);
	x[0].s_class = (void*)new TQDomAttr(xret);
    }
    void x_27(Smoke::Stack x) const {
	// elementsByTagNameNS(const TQString&, const TQString&)
	TQDomNodeList xret = this->TQDomElement::elementsByTagNameNS(*(const TQString *)x[1].s_voidp,*(const TQString *)x[2].s_voidp);
	x[0].s_class = (void*)new TQDomNodeList(xret);
    }
    void x_28(Smoke::Stack x) const {
	// hasAttributeNS(const TQString&, const TQString&)
	bool xret = this->TQDomElement::hasAttributeNS(*(const TQString *)x[1].s_voidp,*(const TQString *)x[2].s_voidp);
	x[0].s_bool = xret;
    }
    void x_29(Smoke::Stack x) const {
	// tagName()
	TQString xret = this->TQDomElement::tagName();
	x[0].s_voidp = (void*)new TQString(xret);
    }
    void x_30(Smoke::Stack x) {
	// setTagName(const TQString&)
	this->TQDomElement::setTagName(*(const TQString *)x[1].s_voidp);
	(void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) const {
	// attributes()
	TQDomNamedNodeMap xret = this->TQDomElement::attributes();
	x[0].s_class = (void*)new TQDomNamedNodeMap(xret);
    }
    void x_32(Smoke::Stack x) const {
	// nodeType()
	TQDomNode::NodeType xret = this->TQDomElement::nodeType();
	x[0].s_enum = xret;
    }
    void x_33(Smoke::Stack x) const {
	// isElement()
	bool xret = this->TQDomElement::isElement();
	x[0].s_bool = xret;
    }
    void x_34(Smoke::Stack x) const {
	// text()
	TQString xret = this->TQDomElement::text();
	x[0].s_voidp = (void*)new TQString(xret);
    }
    virtual TQDomNode appendChild(const TQDomNode& x1) {
	Smoke::StackItem x[2];
	x[1].s_class = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2575, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::appendChild(x1);
    }
    virtual TQDomNamedNodeMap attributes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2506, (void*)this, x)) {
	    TQDomNamedNodeMap *xptr = (TQDomNamedNodeMap *)x[0].s_class;
	    TQDomNamedNodeMap xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomElement::attributes();
    }
    virtual TQDomNodeList childNodes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2584, (void*)this, x)) {
	    TQDomNodeList *xptr = (TQDomNodeList *)x[0].s_class;
	    TQDomNodeList xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::childNodes();
    }
    virtual TQDomNode cloneNode(bool x1) const {
	Smoke::StackItem x[2];
	x[1].s_bool = x1;
	if(qt_Smoke->binding->callMethod(2577, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::cloneNode(x1);
    }
    virtual TQDomNodeList elementsByTagName(const TQString& x1) const {
	Smoke::StackItem x[2];
	x[1].s_voidp = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2490, (void*)this, x)) {
	    TQDomNodeList *xptr = (TQDomNodeList *)x[0].s_class;
	    TQDomNodeList xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomElement::elementsByTagName(x1);
    }
    virtual TQDomNodeList elementsByTagNameNS(const TQString& x1, const TQString& x2) const {
	Smoke::StackItem x[3];
	x[1].s_voidp = (void*)&x1;
	x[2].s_voidp = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2502, (void*)this, x)) {
	    TQDomNodeList *xptr = (TQDomNodeList *)x[0].s_class;
	    TQDomNodeList xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomElement::elementsByTagNameNS(x1, x2);
    }
    virtual TQDomNode firstChild() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2585, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::firstChild();
    }
    virtual bool hasAttributes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2593, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::hasAttributes();
    }
    virtual bool hasChildNodes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2576, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::hasChildNodes();
    }
    virtual TQDomNode insertAfter(const TQDomNode& x1, const TQDomNode& x2) {
	Smoke::StackItem x[3];
	x[1].s_class = (void*)&x1;
	x[2].s_class = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2572, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::insertAfter(x1, x2);
    }
    virtual TQDomNode insertBefore(const TQDomNode& x1, const TQDomNode& x2) {
	Smoke::StackItem x[3];
	x[1].s_class = (void*)&x1;
	x[2].s_class = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2571, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::insertBefore(x1, x2);
    }
    virtual bool isAttr() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2598, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isAttr();
    }
    virtual bool isCDATASection() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2599, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isCDATASection();
    }
    virtual bool isCharacterData() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2609, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isCharacterData();
    }
    virtual bool isComment() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2610, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isComment();
    }
    virtual bool isDocument() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2601, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isDocument();
    }
    virtual bool isDocumentFragment() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2600, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isDocumentFragment();
    }
    virtual bool isDocumentType() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2602, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isDocumentType();
    }
    virtual bool isElement() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2508, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomElement::isElement();
    }
    virtual bool isEntity() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2606, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isEntity();
    }
    virtual bool isEntityReference() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2604, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isEntityReference();
    }
    virtual bool isNotation() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2607, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isNotation();
    }
    virtual bool isProcessingInstruction() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2608, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isProcessingInstruction();
    }
    virtual bool isSupported(const TQString& x1, const TQString& x2) const {
	Smoke::StackItem x[3];
	x[1].s_voidp = (void*)&x1;
	x[2].s_voidp = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2580, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isSupported(x1, x2);
    }
    virtual bool isText() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2605, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isText();
    }
    virtual TQDomNode lastChild() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2586, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::lastChild();
    }
    virtual TQString localName() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2592, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::localName();
    }
    virtual TQString namespaceURI() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2591, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::namespaceURI();
    }
    virtual TQDomNode nextSibling() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2588, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::nextSibling();
    }
    virtual TQString nodeName() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2581, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::nodeName();
    }
    virtual TQDomNode::NodeType nodeType() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2507, (void*)this, x)) {
	    TQDomNode::NodeType *xptr = (TQDomNode::NodeType *)x[0].s_class;
	    TQDomNode::NodeType xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomElement::nodeType();
    }
    virtual TQString nodeValue() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2594, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::nodeValue();
    }
    virtual void normalize() {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2579, (void*)this, x)) return;
	this->TQDomNode::normalize();
    }
    virtual TQDomDocument ownerDocument() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2590, (void*)this, x)) {
	    TQDomDocument *xptr = (TQDomDocument *)x[0].s_class;
	    TQDomDocument xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::ownerDocument();
    }
    virtual TQDomNode parentNode() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2583, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::parentNode();
    }
    virtual TQString prefix() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2596, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::prefix();
    }
    virtual TQDomNode previousSibling() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2587, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::previousSibling();
    }
    virtual TQDomNode removeChild(const TQDomNode& x1) {
	Smoke::StackItem x[2];
	x[1].s_class = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2574, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::removeChild(x1);
    }
    virtual TQDomNode replaceChild(const TQDomNode& x1, const TQDomNode& x2) {
	Smoke::StackItem x[3];
	x[1].s_class = (void*)&x1;
	x[2].s_class = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2573, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::replaceChild(x1, x2);
    }
    virtual void setNodeValue(const TQString& x1) {
	Smoke::StackItem x[2];
	x[1].s_voidp = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2595, (void*)this, x)) return;
	this->TQDomNode::setNodeValue(x1);
    }
    virtual void setPrefix(const TQString& x1) {
	Smoke::StackItem x[2];
	x[1].s_voidp = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2597, (void*)this, x)) return;
	this->TQDomNode::setPrefix(x1);
    }
    ~x_TQDomElement() { qt_Smoke->binding->deleted(81, (void*)this); }
};
void xcall_TQDomElement(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_TQDomElement *xself = (x_TQDomElement*)obj;
    switch(xi) {
	case 0: x_TQDomElement::x_0(args);	break;
	case 1: x_TQDomElement::x_1(args);	break;
	case 2: xself->x_2(args);	break;
	case 3: xself->x_3(args);	break;
	case 4: xself->x_4(args);	break;
	case 5: xself->x_5(args);	break;
	case 6: xself->x_6(args);	break;
	case 7: xself->x_7(args);	break;
	case 8: xself->x_8(args);	break;
	case 9: xself->x_9(args);	break;
	case 10: xself->x_10(args);	break;
	case 11: xself->x_11(args);	break;
	case 12: xself->x_12(args);	break;
	case 13: xself->x_13(args);	break;
	case 14: xself->x_14(args);	break;
	case 15: xself->x_15(args);	break;
	case 16: xself->x_16(args);	break;
	case 17: xself->x_17(args);	break;
	case 18: xself->x_18(args);	break;
	case 19: xself->x_19(args);	break;
	case 20: xself->x_20(args);	break;
	case 21: xself->x_21(args);	break;
	case 22: xself->x_22(args);	break;
	case 23: xself->x_23(args);	break;
	case 24: xself->x_24(args);	break;
	case 25: xself->x_25(args);	break;
	case 26: xself->x_26(args);	break;
	case 27: xself->x_27(args);	break;
	case 28: xself->x_28(args);	break;
	case 29: xself->x_29(args);	break;
	case 30: xself->x_30(args);	break;
	case 31: xself->x_31(args);	break;
	case 32: xself->x_32(args);	break;
	case 33: xself->x_33(args);	break;
	case 34: xself->x_34(args);	break;
	case 35: delete (TQDomElement*)xself;	break;
    }
}

class x_TQDomEntity : public TQDomEntity {
public:
    static void x_0(Smoke::Stack x) {
	// TQDomEntity()
	x_TQDomEntity* xret = new x_TQDomEntity();
	x[0].s_class = (void*)xret;
    }
    x_TQDomEntity() : TQDomEntity() {
    }
    static void x_1(Smoke::Stack x) {
	// TQDomEntity(const TQDomEntity&)
	x_TQDomEntity* xret = new x_TQDomEntity(*(const TQDomEntity *)x[1].s_class);
	x[0].s_class = (void*)xret;
    }
    x_TQDomEntity(const TQDomEntity& x1) : TQDomEntity(x1) {
    }
    void x_2(Smoke::Stack x) {
	// operator=(const TQDomEntity&)
	TQDomEntity& xret = this->TQDomEntity::operator=(*(const TQDomEntity *)x[1].s_class);
	x[0].s_class = (void*)&xret;
    }
    void x_3(Smoke::Stack x) const {
	// publicId()
	TQString xret = this->TQDomEntity::publicId();
	x[0].s_voidp = (void*)new TQString(xret);
    }
    void x_4(Smoke::Stack x) const {
	// systemId()
	TQString xret = this->TQDomEntity::systemId();
	x[0].s_voidp = (void*)new TQString(xret);
    }
    void x_5(Smoke::Stack x) const {
	// notationName()
	TQString xret = this->TQDomEntity::notationName();
	x[0].s_voidp = (void*)new TQString(xret);
    }
    void x_6(Smoke::Stack x) const {
	// nodeType()
	TQDomNode::NodeType xret = this->TQDomEntity::nodeType();
	x[0].s_enum = xret;
    }
    void x_7(Smoke::Stack x) const {
	// isEntity()
	bool xret = this->TQDomEntity::isEntity();
	x[0].s_bool = xret;
    }
    virtual TQDomNode appendChild(const TQDomNode& x1) {
	Smoke::StackItem x[2];
	x[1].s_class = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2575, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::appendChild(x1);
    }
    virtual TQDomNamedNodeMap attributes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2589, (void*)this, x)) {
	    TQDomNamedNodeMap *xptr = (TQDomNamedNodeMap *)x[0].s_class;
	    TQDomNamedNodeMap xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::attributes();
    }
    virtual TQDomNodeList childNodes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2584, (void*)this, x)) {
	    TQDomNodeList *xptr = (TQDomNodeList *)x[0].s_class;
	    TQDomNodeList xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::childNodes();
    }
    virtual TQDomNode cloneNode(bool x1) const {
	Smoke::StackItem x[2];
	x[1].s_bool = x1;
	if(qt_Smoke->binding->callMethod(2577, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::cloneNode(x1);
    }
    virtual TQDomNode firstChild() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2585, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::firstChild();
    }
    virtual bool hasAttributes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2593, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::hasAttributes();
    }
    virtual bool hasChildNodes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2576, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::hasChildNodes();
    }
    virtual TQDomNode insertAfter(const TQDomNode& x1, const TQDomNode& x2) {
	Smoke::StackItem x[3];
	x[1].s_class = (void*)&x1;
	x[2].s_class = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2572, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::insertAfter(x1, x2);
    }
    virtual TQDomNode insertBefore(const TQDomNode& x1, const TQDomNode& x2) {
	Smoke::StackItem x[3];
	x[1].s_class = (void*)&x1;
	x[2].s_class = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2571, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::insertBefore(x1, x2);
    }
    virtual bool isAttr() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2598, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isAttr();
    }
    virtual bool isCDATASection() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2599, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isCDATASection();
    }
    virtual bool isCharacterData() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2609, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isCharacterData();
    }
    virtual bool isComment() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2610, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isComment();
    }
    virtual bool isDocument() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2601, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isDocument();
    }
    virtual bool isDocumentFragment() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2600, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isDocumentFragment();
    }
    virtual bool isDocumentType() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2602, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isDocumentType();
    }
    virtual bool isElement() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2603, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isElement();
    }
    virtual bool isEntity() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2518, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomEntity::isEntity();
    }
    virtual bool isEntityReference() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2604, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isEntityReference();
    }
    virtual bool isNotation() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2607, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isNotation();
    }
    virtual bool isProcessingInstruction() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2608, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isProcessingInstruction();
    }
    virtual bool isSupported(const TQString& x1, const TQString& x2) const {
	Smoke::StackItem x[3];
	x[1].s_voidp = (void*)&x1;
	x[2].s_voidp = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2580, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isSupported(x1, x2);
    }
    virtual bool isText() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2605, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isText();
    }
    virtual TQDomNode lastChild() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2586, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::lastChild();
    }
    virtual TQString localName() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2592, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::localName();
    }
    virtual TQString namespaceURI() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2591, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::namespaceURI();
    }
    virtual TQDomNode nextSibling() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2588, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::nextSibling();
    }
    virtual TQString nodeName() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2581, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::nodeName();
    }
    virtual TQDomNode::NodeType nodeType() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2517, (void*)this, x)) {
	    TQDomNode::NodeType *xptr = (TQDomNode::NodeType *)x[0].s_class;
	    TQDomNode::NodeType xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomEntity::nodeType();
    }
    virtual TQString nodeValue() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2594, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::nodeValue();
    }
    virtual void normalize() {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2579, (void*)this, x)) return;
	this->TQDomNode::normalize();
    }
    virtual TQString notationName() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2516, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomEntity::notationName();
    }
    virtual TQDomDocument ownerDocument() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2590, (void*)this, x)) {
	    TQDomDocument *xptr = (TQDomDocument *)x[0].s_class;
	    TQDomDocument xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::ownerDocument();
    }
    virtual TQDomNode parentNode() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2583, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::parentNode();
    }
    virtual TQString prefix() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2596, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::prefix();
    }
    virtual TQDomNode previousSibling() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2587, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::previousSibling();
    }
    virtual TQString publicId() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2514, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomEntity::publicId();
    }
    virtual TQDomNode removeChild(const TQDomNode& x1) {
	Smoke::StackItem x[2];
	x[1].s_class = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2574, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::removeChild(x1);
    }
    virtual TQDomNode replaceChild(const TQDomNode& x1, const TQDomNode& x2) {
	Smoke::StackItem x[3];
	x[1].s_class = (void*)&x1;
	x[2].s_class = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2573, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::replaceChild(x1, x2);
    }
    virtual void setNodeValue(const TQString& x1) {
	Smoke::StackItem x[2];
	x[1].s_voidp = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2595, (void*)this, x)) return;
	this->TQDomNode::setNodeValue(x1);
    }
    virtual void setPrefix(const TQString& x1) {
	Smoke::StackItem x[2];
	x[1].s_voidp = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2597, (void*)this, x)) return;
	this->TQDomNode::setPrefix(x1);
    }
    virtual TQString systemId() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2515, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomEntity::systemId();
    }
    ~x_TQDomEntity() { qt_Smoke->binding->deleted(82, (void*)this); }
};
void xcall_TQDomEntity(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_TQDomEntity *xself = (x_TQDomEntity*)obj;
    switch(xi) {
	case 0: x_TQDomEntity::x_0(args);	break;
	case 1: x_TQDomEntity::x_1(args);	break;
	case 2: xself->x_2(args);	break;
	case 3: xself->x_3(args);	break;
	case 4: xself->x_4(args);	break;
	case 5: xself->x_5(args);	break;
	case 6: xself->x_6(args);	break;
	case 7: xself->x_7(args);	break;
	case 8: delete (TQDomEntity*)xself;	break;
    }
}

class x_TQDomEntityReference : public TQDomEntityReference {
public:
    static void x_0(Smoke::Stack x) {
	// TQDomEntityReference()
	x_TQDomEntityReference* xret = new x_TQDomEntityReference();
	x[0].s_class = (void*)xret;
    }
    x_TQDomEntityReference() : TQDomEntityReference() {
    }
    static void x_1(Smoke::Stack x) {
	// TQDomEntityReference(const TQDomEntityReference&)
	x_TQDomEntityReference* xret = new x_TQDomEntityReference(*(const TQDomEntityReference *)x[1].s_class);
	x[0].s_class = (void*)xret;
    }
    x_TQDomEntityReference(const TQDomEntityReference& x1) : TQDomEntityReference(x1) {
    }
    void x_2(Smoke::Stack x) {
	// operator=(const TQDomEntityReference&)
	TQDomEntityReference& xret = this->TQDomEntityReference::operator=(*(const TQDomEntityReference *)x[1].s_class);
	x[0].s_class = (void*)&xret;
    }
    void x_3(Smoke::Stack x) const {
	// nodeType()
	TQDomNode::NodeType xret = this->TQDomEntityReference::nodeType();
	x[0].s_enum = xret;
    }
    void x_4(Smoke::Stack x) const {
	// isEntityReference()
	bool xret = this->TQDomEntityReference::isEntityReference();
	x[0].s_bool = xret;
    }
    virtual TQDomNode appendChild(const TQDomNode& x1) {
	Smoke::StackItem x[2];
	x[1].s_class = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2575, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::appendChild(x1);
    }
    virtual TQDomNamedNodeMap attributes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2589, (void*)this, x)) {
	    TQDomNamedNodeMap *xptr = (TQDomNamedNodeMap *)x[0].s_class;
	    TQDomNamedNodeMap xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::attributes();
    }
    virtual TQDomNodeList childNodes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2584, (void*)this, x)) {
	    TQDomNodeList *xptr = (TQDomNodeList *)x[0].s_class;
	    TQDomNodeList xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::childNodes();
    }
    virtual TQDomNode cloneNode(bool x1) const {
	Smoke::StackItem x[2];
	x[1].s_bool = x1;
	if(qt_Smoke->binding->callMethod(2577, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::cloneNode(x1);
    }
    virtual TQDomNode firstChild() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2585, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::firstChild();
    }
    virtual bool hasAttributes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2593, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::hasAttributes();
    }
    virtual bool hasChildNodes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2576, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::hasChildNodes();
    }
    virtual TQDomNode insertAfter(const TQDomNode& x1, const TQDomNode& x2) {
	Smoke::StackItem x[3];
	x[1].s_class = (void*)&x1;
	x[2].s_class = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2572, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::insertAfter(x1, x2);
    }
    virtual TQDomNode insertBefore(const TQDomNode& x1, const TQDomNode& x2) {
	Smoke::StackItem x[3];
	x[1].s_class = (void*)&x1;
	x[2].s_class = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2571, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::insertBefore(x1, x2);
    }
    virtual bool isAttr() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2598, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isAttr();
    }
    virtual bool isCDATASection() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2599, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isCDATASection();
    }
    virtual bool isCharacterData() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2609, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isCharacterData();
    }
    virtual bool isComment() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2610, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isComment();
    }
    virtual bool isDocument() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2601, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isDocument();
    }
    virtual bool isDocumentFragment() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2600, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isDocumentFragment();
    }
    virtual bool isDocumentType() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2602, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isDocumentType();
    }
    virtual bool isElement() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2603, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isElement();
    }
    virtual bool isEntity() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2606, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isEntity();
    }
    virtual bool isEntityReference() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2524, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomEntityReference::isEntityReference();
    }
    virtual bool isNotation() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2607, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isNotation();
    }
    virtual bool isProcessingInstruction() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2608, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isProcessingInstruction();
    }
    virtual bool isSupported(const TQString& x1, const TQString& x2) const {
	Smoke::StackItem x[3];
	x[1].s_voidp = (void*)&x1;
	x[2].s_voidp = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2580, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isSupported(x1, x2);
    }
    virtual bool isText() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2605, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isText();
    }
    virtual TQDomNode lastChild() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2586, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::lastChild();
    }
    virtual TQString localName() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2592, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::localName();
    }
    virtual TQString namespaceURI() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2591, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::namespaceURI();
    }
    virtual TQDomNode nextSibling() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2588, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::nextSibling();
    }
    virtual TQString nodeName() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2581, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::nodeName();
    }
    virtual TQDomNode::NodeType nodeType() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2523, (void*)this, x)) {
	    TQDomNode::NodeType *xptr = (TQDomNode::NodeType *)x[0].s_class;
	    TQDomNode::NodeType xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomEntityReference::nodeType();
    }
    virtual TQString nodeValue() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2594, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::nodeValue();
    }
    virtual void normalize() {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2579, (void*)this, x)) return;
	this->TQDomNode::normalize();
    }
    virtual TQDomDocument ownerDocument() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2590, (void*)this, x)) {
	    TQDomDocument *xptr = (TQDomDocument *)x[0].s_class;
	    TQDomDocument xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::ownerDocument();
    }
    virtual TQDomNode parentNode() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2583, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::parentNode();
    }
    virtual TQString prefix() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2596, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::prefix();
    }
    virtual TQDomNode previousSibling() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2587, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::previousSibling();
    }
    virtual TQDomNode removeChild(const TQDomNode& x1) {
	Smoke::StackItem x[2];
	x[1].s_class = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2574, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::removeChild(x1);
    }
    virtual TQDomNode replaceChild(const TQDomNode& x1, const TQDomNode& x2) {
	Smoke::StackItem x[3];
	x[1].s_class = (void*)&x1;
	x[2].s_class = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2573, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::replaceChild(x1, x2);
    }
    virtual void setNodeValue(const TQString& x1) {
	Smoke::StackItem x[2];
	x[1].s_voidp = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2595, (void*)this, x)) return;
	this->TQDomNode::setNodeValue(x1);
    }
    virtual void setPrefix(const TQString& x1) {
	Smoke::StackItem x[2];
	x[1].s_voidp = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2597, (void*)this, x)) return;
	this->TQDomNode::setPrefix(x1);
    }
    ~x_TQDomEntityReference() { qt_Smoke->binding->deleted(83, (void*)this); }
};
void xcall_TQDomEntityReference(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_TQDomEntityReference *xself = (x_TQDomEntityReference*)obj;
    switch(xi) {
	case 0: x_TQDomEntityReference::x_0(args);	break;
	case 1: x_TQDomEntityReference::x_1(args);	break;
	case 2: xself->x_2(args);	break;
	case 3: xself->x_3(args);	break;
	case 4: xself->x_4(args);	break;
	case 5: delete (TQDomEntityReference*)xself;	break;
    }
}

class x_TQDomImplementation : public TQDomImplementation {
public:
    static void x_0(Smoke::Stack x) {
	// TQDomImplementation()
	x_TQDomImplementation* xret = new x_TQDomImplementation();
	x[0].s_class = (void*)xret;
    }
    x_TQDomImplementation() : TQDomImplementation() {
    }
    static void x_1(Smoke::Stack x) {
	// TQDomImplementation(const TQDomImplementation&)
	x_TQDomImplementation* xret = new x_TQDomImplementation(*(const TQDomImplementation *)x[1].s_class);
	x[0].s_class = (void*)xret;
    }
    x_TQDomImplementation(const TQDomImplementation& x1) : TQDomImplementation(x1) {
    }
    void x_2(Smoke::Stack x) {
	// operator=(const TQDomImplementation&)
	TQDomImplementation& xret = this->TQDomImplementation::operator=(*(const TQDomImplementation *)x[1].s_class);
	x[0].s_class = (void*)&xret;
    }
    void x_3(Smoke::Stack x) const {
	// operator==(const TQDomImplementation&)
	bool xret = this->TQDomImplementation::operator==(*(const TQDomImplementation *)x[1].s_class);
	x[0].s_bool = xret;
    }
    void x_4(Smoke::Stack x) const {
	// operator!=(const TQDomImplementation&)
	bool xret = this->TQDomImplementation::operator!=(*(const TQDomImplementation *)x[1].s_class);
	x[0].s_bool = xret;
    }
    void x_5(Smoke::Stack x) {
	// hasFeature(const TQString&, const TQString&)
	bool xret = this->TQDomImplementation::hasFeature(*(const TQString *)x[1].s_voidp,*(const TQString *)x[2].s_voidp);
	x[0].s_bool = xret;
    }
    void x_6(Smoke::Stack x) {
	// createDocumentType(const TQString&, const TQString&, const TQString&)
	TQDomDocumentType xret = this->TQDomImplementation::createDocumentType(*(const TQString *)x[1].s_voidp,*(const TQString *)x[2].s_voidp,*(const TQString *)x[3].s_voidp);
	x[0].s_class = (void*)new TQDomDocumentType(xret);
    }
    void x_7(Smoke::Stack x) {
	// createDocument(const TQString&, const TQString&, const TQDomDocumentType&)
	TQDomDocument xret = this->TQDomImplementation::createDocument(*(const TQString *)x[1].s_voidp,*(const TQString *)x[2].s_voidp,*(const TQDomDocumentType *)x[3].s_class);
	x[0].s_class = (void*)new TQDomDocument(xret);
    }
    void x_8(Smoke::Stack x) {
	// isNull()
	bool xret = this->TQDomImplementation::isNull();
	x[0].s_bool = xret;
    }
    virtual TQDomDocument createDocument(const TQString& x1, const TQString& x2, const TQDomDocumentType& x3) {
	Smoke::StackItem x[4];
	x[1].s_voidp = (void*)&x1;
	x[2].s_voidp = (void*)&x2;
	x[3].s_class = (void*)&x3;
	if(qt_Smoke->binding->callMethod(2533, (void*)this, x)) {
	    TQDomDocument *xptr = (TQDomDocument *)x[0].s_class;
	    TQDomDocument xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomImplementation::createDocument(x1, x2, x3);
    }
    virtual TQDomDocumentType createDocumentType(const TQString& x1, const TQString& x2, const TQString& x3) {
	Smoke::StackItem x[4];
	x[1].s_voidp = (void*)&x1;
	x[2].s_voidp = (void*)&x2;
	x[3].s_voidp = (void*)&x3;
	if(qt_Smoke->binding->callMethod(2532, (void*)this, x)) {
	    TQDomDocumentType *xptr = (TQDomDocumentType *)x[0].s_class;
	    TQDomDocumentType xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomImplementation::createDocumentType(x1, x2, x3);
    }
    virtual bool hasFeature(const TQString& x1, const TQString& x2) {
	Smoke::StackItem x[3];
	x[1].s_voidp = (void*)&x1;
	x[2].s_voidp = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2531, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomImplementation::hasFeature(x1, x2);
    }
    ~x_TQDomImplementation() { qt_Smoke->binding->deleted(84, (void*)this); }
};
void xcall_TQDomImplementation(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_TQDomImplementation *xself = (x_TQDomImplementation*)obj;
    switch(xi) {
	case 0: x_TQDomImplementation::x_0(args);	break;
	case 1: x_TQDomImplementation::x_1(args);	break;
	case 2: xself->x_2(args);	break;
	case 3: xself->x_3(args);	break;
	case 4: xself->x_4(args);	break;
	case 5: xself->x_5(args);	break;
	case 6: xself->x_6(args);	break;
	case 7: xself->x_7(args);	break;
	case 8: xself->x_8(args);	break;
	case 9: delete (TQDomImplementation*)xself;	break;
    }
}

class x_TQDomNamedNodeMap : public TQDomNamedNodeMap {
public:
    static void x_0(Smoke::Stack x) {
	// TQDomNamedNodeMap()
	x_TQDomNamedNodeMap* xret = new x_TQDomNamedNodeMap();
	x[0].s_class = (void*)xret;
    }
    x_TQDomNamedNodeMap() : TQDomNamedNodeMap() {
    }
    static void x_1(Smoke::Stack x) {
	// TQDomNamedNodeMap(const TQDomNamedNodeMap&)
	x_TQDomNamedNodeMap* xret = new x_TQDomNamedNodeMap(*(const TQDomNamedNodeMap *)x[1].s_class);
	x[0].s_class = (void*)xret;
    }
    x_TQDomNamedNodeMap(const TQDomNamedNodeMap& x1) : TQDomNamedNodeMap(x1) {
    }
    void x_2(Smoke::Stack x) {
	// operator=(const TQDomNamedNodeMap&)
	TQDomNamedNodeMap& xret = this->TQDomNamedNodeMap::operator=(*(const TQDomNamedNodeMap *)x[1].s_class);
	x[0].s_class = (void*)&xret;
    }
    void x_3(Smoke::Stack x) const {
	// operator==(const TQDomNamedNodeMap&)
	bool xret = this->TQDomNamedNodeMap::operator==(*(const TQDomNamedNodeMap *)x[1].s_class);
	x[0].s_bool = xret;
    }
    void x_4(Smoke::Stack x) const {
	// operator!=(const TQDomNamedNodeMap&)
	bool xret = this->TQDomNamedNodeMap::operator!=(*(const TQDomNamedNodeMap *)x[1].s_class);
	x[0].s_bool = xret;
    }
    void x_5(Smoke::Stack x) const {
	// namedItem(const TQString&)
	TQDomNode xret = this->TQDomNamedNodeMap::namedItem(*(const TQString *)x[1].s_voidp);
	x[0].s_class = (void*)new TQDomNode(xret);
    }
    void x_6(Smoke::Stack x) {
	// setNamedItem(const TQDomNode&)
	TQDomNode xret = this->TQDomNamedNodeMap::setNamedItem(*(const TQDomNode *)x[1].s_class);
	x[0].s_class = (void*)new TQDomNode(xret);
    }
    void x_7(Smoke::Stack x) {
	// removeNamedItem(const TQString&)
	TQDomNode xret = this->TQDomNamedNodeMap::removeNamedItem(*(const TQString *)x[1].s_voidp);
	x[0].s_class = (void*)new TQDomNode(xret);
    }
    void x_8(Smoke::Stack x) const {
	// item(int)
	TQDomNode xret = this->TQDomNamedNodeMap::item((int)x[1].s_int);
	x[0].s_class = (void*)new TQDomNode(xret);
    }
    void x_9(Smoke::Stack x) const {
	// namedItemNS(const TQString&, const TQString&)
	TQDomNode xret = this->TQDomNamedNodeMap::namedItemNS(*(const TQString *)x[1].s_voidp,*(const TQString *)x[2].s_voidp);
	x[0].s_class = (void*)new TQDomNode(xret);
    }
    void x_10(Smoke::Stack x) {
	// setNamedItemNS(const TQDomNode&)
	TQDomNode xret = this->TQDomNamedNodeMap::setNamedItemNS(*(const TQDomNode *)x[1].s_class);
	x[0].s_class = (void*)new TQDomNode(xret);
    }
    void x_11(Smoke::Stack x) {
	// removeNamedItemNS(const TQString&, const TQString&)
	TQDomNode xret = this->TQDomNamedNodeMap::removeNamedItemNS(*(const TQString *)x[1].s_voidp,*(const TQString *)x[2].s_voidp);
	x[0].s_class = (void*)new TQDomNode(xret);
    }
    void x_12(Smoke::Stack x) const {
	// length()
	uint xret = this->TQDomNamedNodeMap::length();
	x[0].s_uint = xret;
    }
    void x_13(Smoke::Stack x) const {
	// count()
	uint xret = this->TQDomNamedNodeMap::count();
	x[0].s_uint = xret;
    }
    void x_14(Smoke::Stack x) const {
	// contains(const TQString&)
	bool xret = this->TQDomNamedNodeMap::contains(*(const TQString *)x[1].s_voidp);
	x[0].s_bool = xret;
    }
    ~x_TQDomNamedNodeMap() { qt_Smoke->binding->deleted(85, (void*)this); }
};
void xcall_TQDomNamedNodeMap(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_TQDomNamedNodeMap *xself = (x_TQDomNamedNodeMap*)obj;
    switch(xi) {
	case 0: x_TQDomNamedNodeMap::x_0(args);	break;
	case 1: x_TQDomNamedNodeMap::x_1(args);	break;
	case 2: xself->x_2(args);	break;
	case 3: xself->x_3(args);	break;
	case 4: xself->x_4(args);	break;
	case 5: xself->x_5(args);	break;
	case 6: xself->x_6(args);	break;
	case 7: xself->x_7(args);	break;
	case 8: xself->x_8(args);	break;
	case 9: xself->x_9(args);	break;
	case 10: xself->x_10(args);	break;
	case 11: xself->x_11(args);	break;
	case 12: xself->x_12(args);	break;
	case 13: xself->x_13(args);	break;
	case 14: xself->x_14(args);	break;
	case 15: delete (TQDomNamedNodeMap*)xself;	break;
    }
}

class x_TQDomNode : public TQDomNode {
public:
    static void x_0(Smoke::Stack x) {
	x[0].s_enum = (long)TQDomNode::ElementNode;
    }
    static void x_1(Smoke::Stack x) {
	x[0].s_enum = (long)TQDomNode::AttributeNode;
    }
    static void x_2(Smoke::Stack x) {
	x[0].s_enum = (long)TQDomNode::TextNode;
    }
    static void x_3(Smoke::Stack x) {
	x[0].s_enum = (long)TQDomNode::CDATASectionNode;
    }
    static void x_4(Smoke::Stack x) {
	x[0].s_enum = (long)TQDomNode::EntityReferenceNode;
    }
    static void x_5(Smoke::Stack x) {
	x[0].s_enum = (long)TQDomNode::EntityNode;
    }
    static void x_6(Smoke::Stack x) {
	x[0].s_enum = (long)TQDomNode::ProcessingInstructionNode;
    }
    static void x_7(Smoke::Stack x) {
	x[0].s_enum = (long)TQDomNode::CommentNode;
    }
    static void x_8(Smoke::Stack x) {
	x[0].s_enum = (long)TQDomNode::DocumentNode;
    }
    static void x_9(Smoke::Stack x) {
	x[0].s_enum = (long)TQDomNode::DocumentTypeNode;
    }
    static void x_10(Smoke::Stack x) {
	x[0].s_enum = (long)TQDomNode::DocumentFragmentNode;
    }
    static void x_11(Smoke::Stack x) {
	x[0].s_enum = (long)TQDomNode::NotationNode;
    }
    static void x_12(Smoke::Stack x) {
	x[0].s_enum = (long)TQDomNode::BaseNode;
    }
    static void x_13(Smoke::Stack x) {
	x[0].s_enum = (long)TQDomNode::CharacterDataNode;
    }
    static void x_14(Smoke::Stack x) {
	// TQDomNode()
	x_TQDomNode* xret = new x_TQDomNode();
	x[0].s_class = (void*)xret;
    }
    x_TQDomNode() : TQDomNode() {
    }
    static void x_15(Smoke::Stack x) {
	// TQDomNode(const TQDomNode&)
	x_TQDomNode* xret = new x_TQDomNode(*(const TQDomNode *)x[1].s_class);
	x[0].s_class = (void*)xret;
    }
    x_TQDomNode(const TQDomNode& x1) : TQDomNode(x1) {
    }
    void x_16(Smoke::Stack x) {
	// operator=(const TQDomNode&)
	TQDomNode& xret = this->TQDomNode::operator=(*(const TQDomNode *)x[1].s_class);
	x[0].s_class = (void*)&xret;
    }
    void x_17(Smoke::Stack x) const {
	// operator==(const TQDomNode&)
	bool xret = this->TQDomNode::operator==(*(const TQDomNode *)x[1].s_class);
	x[0].s_bool = xret;
    }
    void x_18(Smoke::Stack x) const {
	// operator!=(const TQDomNode&)
	bool xret = this->TQDomNode::operator!=(*(const TQDomNode *)x[1].s_class);
	x[0].s_bool = xret;
    }
    void x_19(Smoke::Stack x) {
	// insertBefore(const TQDomNode&, const TQDomNode&)
	TQDomNode xret = this->TQDomNode::insertBefore(*(const TQDomNode *)x[1].s_class,*(const TQDomNode *)x[2].s_class);
	x[0].s_class = (void*)new TQDomNode(xret);
    }
    void x_20(Smoke::Stack x) {
	// insertAfter(const TQDomNode&, const TQDomNode&)
	TQDomNode xret = this->TQDomNode::insertAfter(*(const TQDomNode *)x[1].s_class,*(const TQDomNode *)x[2].s_class);
	x[0].s_class = (void*)new TQDomNode(xret);
    }
    void x_21(Smoke::Stack x) {
	// replaceChild(const TQDomNode&, const TQDomNode&)
	TQDomNode xret = this->TQDomNode::replaceChild(*(const TQDomNode *)x[1].s_class,*(const TQDomNode *)x[2].s_class);
	x[0].s_class = (void*)new TQDomNode(xret);
    }
    void x_22(Smoke::Stack x) {
	// removeChild(const TQDomNode&)
	TQDomNode xret = this->TQDomNode::removeChild(*(const TQDomNode *)x[1].s_class);
	x[0].s_class = (void*)new TQDomNode(xret);
    }
    void x_23(Smoke::Stack x) {
	// appendChild(const TQDomNode&)
	TQDomNode xret = this->TQDomNode::appendChild(*(const TQDomNode *)x[1].s_class);
	x[0].s_class = (void*)new TQDomNode(xret);
    }
    void x_24(Smoke::Stack x) const {
	// hasChildNodes()
	bool xret = this->TQDomNode::hasChildNodes();
	x[0].s_bool = xret;
    }
    void x_25(Smoke::Stack x) const {
	// cloneNode(bool)
	TQDomNode xret = this->TQDomNode::cloneNode((bool)x[1].s_bool);
	x[0].s_class = (void*)new TQDomNode(xret);
    }
    void x_26(Smoke::Stack x) const {
	// cloneNode()
	TQDomNode xret = this->TQDomNode::cloneNode();
	x[0].s_class = (void*)new TQDomNode(xret);
    }
    void x_27(Smoke::Stack x) {
	// normalize()
	this->TQDomNode::normalize();
	(void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) const {
	// isSupported(const TQString&, const TQString&)
	bool xret = this->TQDomNode::isSupported(*(const TQString *)x[1].s_voidp,*(const TQString *)x[2].s_voidp);
	x[0].s_bool = xret;
    }
    void x_29(Smoke::Stack x) const {
	// nodeName()
	TQString xret = this->TQDomNode::nodeName();
	x[0].s_voidp = (void*)new TQString(xret);
    }
    void x_30(Smoke::Stack x) const {
	// nodeType()
	TQDomNode::NodeType xret = this->TQDomNode::nodeType();
	x[0].s_enum = xret;
    }
    void x_31(Smoke::Stack x) const {
	// parentNode()
	TQDomNode xret = this->TQDomNode::parentNode();
	x[0].s_class = (void*)new TQDomNode(xret);
    }
    void x_32(Smoke::Stack x) const {
	// childNodes()
	TQDomNodeList xret = this->TQDomNode::childNodes();
	x[0].s_class = (void*)new TQDomNodeList(xret);
    }
    void x_33(Smoke::Stack x) const {
	// firstChild()
	TQDomNode xret = this->TQDomNode::firstChild();
	x[0].s_class = (void*)new TQDomNode(xret);
    }
    void x_34(Smoke::Stack x) const {
	// lastChild()
	TQDomNode xret = this->TQDomNode::lastChild();
	x[0].s_class = (void*)new TQDomNode(xret);
    }
    void x_35(Smoke::Stack x) const {
	// previousSibling()
	TQDomNode xret = this->TQDomNode::previousSibling();
	x[0].s_class = (void*)new TQDomNode(xret);
    }
    void x_36(Smoke::Stack x) const {
	// nextSibling()
	TQDomNode xret = this->TQDomNode::nextSibling();
	x[0].s_class = (void*)new TQDomNode(xret);
    }
    void x_37(Smoke::Stack x) const {
	// attributes()
	TQDomNamedNodeMap xret = this->TQDomNode::attributes();
	x[0].s_class = (void*)new TQDomNamedNodeMap(xret);
    }
    void x_38(Smoke::Stack x) const {
	// ownerDocument()
	TQDomDocument xret = this->TQDomNode::ownerDocument();
	x[0].s_class = (void*)new TQDomDocument(xret);
    }
    void x_39(Smoke::Stack x) const {
	// namespaceURI()
	TQString xret = this->TQDomNode::namespaceURI();
	x[0].s_voidp = (void*)new TQString(xret);
    }
    void x_40(Smoke::Stack x) const {
	// localName()
	TQString xret = this->TQDomNode::localName();
	x[0].s_voidp = (void*)new TQString(xret);
    }
    void x_41(Smoke::Stack x) const {
	// hasAttributes()
	bool xret = this->TQDomNode::hasAttributes();
	x[0].s_bool = xret;
    }
    void x_42(Smoke::Stack x) const {
	// nodeValue()
	TQString xret = this->TQDomNode::nodeValue();
	x[0].s_voidp = (void*)new TQString(xret);
    }
    void x_43(Smoke::Stack x) {
	// setNodeValue(const TQString&)
	this->TQDomNode::setNodeValue(*(const TQString *)x[1].s_voidp);
	(void)x; // noop (for compiler warning)
    }
    void x_44(Smoke::Stack x) const {
	// prefix()
	TQString xret = this->TQDomNode::prefix();
	x[0].s_voidp = (void*)new TQString(xret);
    }
    void x_45(Smoke::Stack x) {
	// setPrefix(const TQString&)
	this->TQDomNode::setPrefix(*(const TQString *)x[1].s_voidp);
	(void)x; // noop (for compiler warning)
    }
    void x_46(Smoke::Stack x) const {
	// isAttr()
	bool xret = this->TQDomNode::isAttr();
	x[0].s_bool = xret;
    }
    void x_47(Smoke::Stack x) const {
	// isCDATASection()
	bool xret = this->TQDomNode::isCDATASection();
	x[0].s_bool = xret;
    }
    void x_48(Smoke::Stack x) const {
	// isDocumentFragment()
	bool xret = this->TQDomNode::isDocumentFragment();
	x[0].s_bool = xret;
    }
    void x_49(Smoke::Stack x) const {
	// isDocument()
	bool xret = this->TQDomNode::isDocument();
	x[0].s_bool = xret;
    }
    void x_50(Smoke::Stack x) const {
	// isDocumentType()
	bool xret = this->TQDomNode::isDocumentType();
	x[0].s_bool = xret;
    }
    void x_51(Smoke::Stack x) const {
	// isElement()
	bool xret = this->TQDomNode::isElement();
	x[0].s_bool = xret;
    }
    void x_52(Smoke::Stack x) const {
	// isEntityReference()
	bool xret = this->TQDomNode::isEntityReference();
	x[0].s_bool = xret;
    }
    void x_53(Smoke::Stack x) const {
	// isText()
	bool xret = this->TQDomNode::isText();
	x[0].s_bool = xret;
    }
    void x_54(Smoke::Stack x) const {
	// isEntity()
	bool xret = this->TQDomNode::isEntity();
	x[0].s_bool = xret;
    }
    void x_55(Smoke::Stack x) const {
	// isNotation()
	bool xret = this->TQDomNode::isNotation();
	x[0].s_bool = xret;
    }
    void x_56(Smoke::Stack x) const {
	// isProcessingInstruction()
	bool xret = this->TQDomNode::isProcessingInstruction();
	x[0].s_bool = xret;
    }
    void x_57(Smoke::Stack x) const {
	// isCharacterData()
	bool xret = this->TQDomNode::isCharacterData();
	x[0].s_bool = xret;
    }
    void x_58(Smoke::Stack x) const {
	// isComment()
	bool xret = this->TQDomNode::isComment();
	x[0].s_bool = xret;
    }
    void x_59(Smoke::Stack x) const {
	// namedItem(const TQString&)
	TQDomNode xret = this->TQDomNode::namedItem(*(const TQString *)x[1].s_voidp);
	x[0].s_class = (void*)new TQDomNode(xret);
    }
    void x_60(Smoke::Stack x) const {
	// isNull()
	bool xret = this->TQDomNode::isNull();
	x[0].s_bool = xret;
    }
    void x_61(Smoke::Stack x) {
	// clear()
	this->TQDomNode::clear();
	(void)x; // noop (for compiler warning)
    }
    void x_62(Smoke::Stack x) {
	// toAttr()
	TQDomAttr xret = this->TQDomNode::toAttr();
	x[0].s_class = (void*)new TQDomAttr(xret);
    }
    void x_63(Smoke::Stack x) {
	// toCDATASection()
	TQDomCDATASection xret = this->TQDomNode::toCDATASection();
	x[0].s_class = (void*)new TQDomCDATASection(xret);
    }
    void x_64(Smoke::Stack x) {
	// toDocumentFragment()
	TQDomDocumentFragment xret = this->TQDomNode::toDocumentFragment();
	x[0].s_class = (void*)new TQDomDocumentFragment(xret);
    }
    void x_65(Smoke::Stack x) {
	// toDocument()
	TQDomDocument xret = this->TQDomNode::toDocument();
	x[0].s_class = (void*)new TQDomDocument(xret);
    }
    void x_66(Smoke::Stack x) {
	// toDocumentType()
	TQDomDocumentType xret = this->TQDomNode::toDocumentType();
	x[0].s_class = (void*)new TQDomDocumentType(xret);
    }
    void x_67(Smoke::Stack x) {
	// toElement()
	TQDomElement xret = this->TQDomNode::toElement();
	x[0].s_class = (void*)new TQDomElement(xret);
    }
    void x_68(Smoke::Stack x) {
	// toEntityReference()
	TQDomEntityReference xret = this->TQDomNode::toEntityReference();
	x[0].s_class = (void*)new TQDomEntityReference(xret);
    }
    void x_69(Smoke::Stack x) {
	// toText()
	TQDomText xret = this->TQDomNode::toText();
	x[0].s_class = (void*)new TQDomText(xret);
    }
    void x_70(Smoke::Stack x) {
	// toEntity()
	TQDomEntity xret = this->TQDomNode::toEntity();
	x[0].s_class = (void*)new TQDomEntity(xret);
    }
    void x_71(Smoke::Stack x) {
	// toNotation()
	TQDomNotation xret = this->TQDomNode::toNotation();
	x[0].s_class = (void*)new TQDomNotation(xret);
    }
    void x_72(Smoke::Stack x) {
	// toProcessingInstruction()
	TQDomProcessingInstruction xret = this->TQDomNode::toProcessingInstruction();
	x[0].s_class = (void*)new TQDomProcessingInstruction(xret);
    }
    void x_73(Smoke::Stack x) {
	// toCharacterData()
	TQDomCharacterData xret = this->TQDomNode::toCharacterData();
	x[0].s_class = (void*)new TQDomCharacterData(xret);
    }
    void x_74(Smoke::Stack x) {
	// toComment()
	TQDomComment xret = this->TQDomNode::toComment();
	x[0].s_class = (void*)new TQDomComment(xret);
    }
    void x_75(Smoke::Stack x) const {
	// save(TQTextStream&, int)
	this->TQDomNode::save(*(TQTextStream *)x[1].s_class,(int)x[2].s_int);
	(void)x; // noop (for compiler warning)
    }
    static void x_76(Smoke::Stack x) {
	// TQDomNode(TQDomNodePrivate*)
	x_TQDomNode* xret = new x_TQDomNode((TQDomNodePrivate*)x[1].s_voidp);
	x[0].s_class = (void*)xret;
    }
    x_TQDomNode(TQDomNodePrivate* x1) : TQDomNode(x1) {
    }
    virtual TQDomNode appendChild(const TQDomNode& x1) {
	Smoke::StackItem x[2];
	x[1].s_class = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2575, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::appendChild(x1);
    }
    virtual TQDomNamedNodeMap attributes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2589, (void*)this, x)) {
	    TQDomNamedNodeMap *xptr = (TQDomNamedNodeMap *)x[0].s_class;
	    TQDomNamedNodeMap xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::attributes();
    }
    virtual TQDomNodeList childNodes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2584, (void*)this, x)) {
	    TQDomNodeList *xptr = (TQDomNodeList *)x[0].s_class;
	    TQDomNodeList xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::childNodes();
    }
    virtual TQDomNode cloneNode(bool x1) const {
	Smoke::StackItem x[2];
	x[1].s_bool = x1;
	if(qt_Smoke->binding->callMethod(2577, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::cloneNode(x1);
    }
    virtual TQDomNode firstChild() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2585, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::firstChild();
    }
    virtual bool hasAttributes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2593, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::hasAttributes();
    }
    virtual bool hasChildNodes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2576, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::hasChildNodes();
    }
    virtual TQDomNode insertAfter(const TQDomNode& x1, const TQDomNode& x2) {
	Smoke::StackItem x[3];
	x[1].s_class = (void*)&x1;
	x[2].s_class = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2572, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::insertAfter(x1, x2);
    }
    virtual TQDomNode insertBefore(const TQDomNode& x1, const TQDomNode& x2) {
	Smoke::StackItem x[3];
	x[1].s_class = (void*)&x1;
	x[2].s_class = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2571, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::insertBefore(x1, x2);
    }
    virtual bool isAttr() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2598, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isAttr();
    }
    virtual bool isCDATASection() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2599, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isCDATASection();
    }
    virtual bool isCharacterData() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2609, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isCharacterData();
    }
    virtual bool isComment() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2610, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isComment();
    }
    virtual bool isDocument() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2601, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isDocument();
    }
    virtual bool isDocumentFragment() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2600, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isDocumentFragment();
    }
    virtual bool isDocumentType() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2602, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isDocumentType();
    }
    virtual bool isElement() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2603, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isElement();
    }
    virtual bool isEntity() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2606, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isEntity();
    }
    virtual bool isEntityReference() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2604, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isEntityReference();
    }
    virtual bool isNotation() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2607, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isNotation();
    }
    virtual bool isProcessingInstruction() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2608, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isProcessingInstruction();
    }
    virtual bool isSupported(const TQString& x1, const TQString& x2) const {
	Smoke::StackItem x[3];
	x[1].s_voidp = (void*)&x1;
	x[2].s_voidp = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2580, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isSupported(x1, x2);
    }
    virtual bool isText() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2605, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isText();
    }
    virtual TQDomNode lastChild() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2586, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::lastChild();
    }
    virtual TQString localName() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2592, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::localName();
    }
    virtual TQString namespaceURI() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2591, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::namespaceURI();
    }
    virtual TQDomNode nextSibling() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2588, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::nextSibling();
    }
    virtual TQString nodeName() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2581, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::nodeName();
    }
    virtual TQDomNode::NodeType nodeType() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2582, (void*)this, x)) {
	    TQDomNode::NodeType *xptr = (TQDomNode::NodeType *)x[0].s_class;
	    TQDomNode::NodeType xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::nodeType();
    }
    virtual TQString nodeValue() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2594, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::nodeValue();
    }
    virtual void normalize() {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2579, (void*)this, x)) return;
	this->TQDomNode::normalize();
    }
    virtual TQDomDocument ownerDocument() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2590, (void*)this, x)) {
	    TQDomDocument *xptr = (TQDomDocument *)x[0].s_class;
	    TQDomDocument xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::ownerDocument();
    }
    virtual TQDomNode parentNode() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2583, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::parentNode();
    }
    virtual TQString prefix() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2596, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::prefix();
    }
    virtual TQDomNode previousSibling() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2587, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::previousSibling();
    }
    virtual TQDomNode removeChild(const TQDomNode& x1) {
	Smoke::StackItem x[2];
	x[1].s_class = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2574, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::removeChild(x1);
    }
    virtual TQDomNode replaceChild(const TQDomNode& x1, const TQDomNode& x2) {
	Smoke::StackItem x[3];
	x[1].s_class = (void*)&x1;
	x[2].s_class = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2573, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::replaceChild(x1, x2);
    }
    virtual void setNodeValue(const TQString& x1) {
	Smoke::StackItem x[2];
	x[1].s_voidp = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2595, (void*)this, x)) return;
	this->TQDomNode::setNodeValue(x1);
    }
    virtual void setPrefix(const TQString& x1) {
	Smoke::StackItem x[2];
	x[1].s_voidp = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2597, (void*)this, x)) return;
	this->TQDomNode::setPrefix(x1);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
	switch(xtype) {
	  case 186: //TQDomNode::NodeType
	    switch(xop) {
	      case Smoke::EnumNew:
		xdata = (void*)new TQDomNode::NodeType;
		break;
	      case Smoke::EnumDelete:
		delete (TQDomNode::NodeType*)xdata;
		break;
	      case Smoke::EnumFromLong:
		*(TQDomNode::NodeType*)xdata = (TQDomNode::NodeType)xvalue;
		break;
	      case Smoke::EnumToLong:
		xvalue = (long)*(TQDomNode::NodeType*)xdata;
		break;
	    }
	    break;
	}
    }
    ~x_TQDomNode() { qt_Smoke->binding->deleted(86, (void*)this); }
};
void xenum_TQDomNode(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_TQDomNode::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_TQDomNode(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_TQDomNode *xself = (x_TQDomNode*)obj;
    switch(xi) {
	case 0: x_TQDomNode::x_0(args);	break;
	case 1: x_TQDomNode::x_1(args);	break;
	case 2: x_TQDomNode::x_2(args);	break;
	case 3: x_TQDomNode::x_3(args);	break;
	case 4: x_TQDomNode::x_4(args);	break;
	case 5: x_TQDomNode::x_5(args);	break;
	case 6: x_TQDomNode::x_6(args);	break;
	case 7: x_TQDomNode::x_7(args);	break;
	case 8: x_TQDomNode::x_8(args);	break;
	case 9: x_TQDomNode::x_9(args);	break;
	case 10: x_TQDomNode::x_10(args);	break;
	case 11: x_TQDomNode::x_11(args);	break;
	case 12: x_TQDomNode::x_12(args);	break;
	case 13: x_TQDomNode::x_13(args);	break;
	case 14: x_TQDomNode::x_14(args);	break;
	case 15: x_TQDomNode::x_15(args);	break;
	case 16: xself->x_16(args);	break;
	case 17: xself->x_17(args);	break;
	case 18: xself->x_18(args);	break;
	case 19: xself->x_19(args);	break;
	case 20: xself->x_20(args);	break;
	case 21: xself->x_21(args);	break;
	case 22: xself->x_22(args);	break;
	case 23: xself->x_23(args);	break;
	case 24: xself->x_24(args);	break;
	case 25: xself->x_25(args);	break;
	case 26: xself->x_26(args);	break;
	case 27: xself->x_27(args);	break;
	case 28: xself->x_28(args);	break;
	case 29: xself->x_29(args);	break;
	case 30: xself->x_30(args);	break;
	case 31: xself->x_31(args);	break;
	case 32: xself->x_32(args);	break;
	case 33: xself->x_33(args);	break;
	case 34: xself->x_34(args);	break;
	case 35: xself->x_35(args);	break;
	case 36: xself->x_36(args);	break;
	case 37: xself->x_37(args);	break;
	case 38: xself->x_38(args);	break;
	case 39: xself->x_39(args);	break;
	case 40: xself->x_40(args);	break;
	case 41: xself->x_41(args);	break;
	case 42: xself->x_42(args);	break;
	case 43: xself->x_43(args);	break;
	case 44: xself->x_44(args);	break;
	case 45: xself->x_45(args);	break;
	case 46: xself->x_46(args);	break;
	case 47: xself->x_47(args);	break;
	case 48: xself->x_48(args);	break;
	case 49: xself->x_49(args);	break;
	case 50: xself->x_50(args);	break;
	case 51: xself->x_51(args);	break;
	case 52: xself->x_52(args);	break;
	case 53: xself->x_53(args);	break;
	case 54: xself->x_54(args);	break;
	case 55: xself->x_55(args);	break;
	case 56: xself->x_56(args);	break;
	case 57: xself->x_57(args);	break;
	case 58: xself->x_58(args);	break;
	case 59: xself->x_59(args);	break;
	case 60: xself->x_60(args);	break;
	case 61: xself->x_61(args);	break;
	case 62: xself->x_62(args);	break;
	case 63: xself->x_63(args);	break;
	case 64: xself->x_64(args);	break;
	case 65: xself->x_65(args);	break;
	case 66: xself->x_66(args);	break;
	case 67: xself->x_67(args);	break;
	case 68: xself->x_68(args);	break;
	case 69: xself->x_69(args);	break;
	case 70: xself->x_70(args);	break;
	case 71: xself->x_71(args);	break;
	case 72: xself->x_72(args);	break;
	case 73: xself->x_73(args);	break;
	case 74: xself->x_74(args);	break;
	case 75: xself->x_75(args);	break;
	case 76: x_TQDomNode::x_76(args);	break;
	case 77: delete (TQDomNode*)xself;	break;
    }
}

class x_TQDomNodeList : public TQDomNodeList {
public:
    static void x_0(Smoke::Stack x) {
	// TQDomNodeList()
	x_TQDomNodeList* xret = new x_TQDomNodeList();
	x[0].s_class = (void*)xret;
    }
    x_TQDomNodeList() : TQDomNodeList() {
    }
    static void x_1(Smoke::Stack x) {
	// TQDomNodeList(const TQDomNodeList&)
	x_TQDomNodeList* xret = new x_TQDomNodeList(*(const TQDomNodeList *)x[1].s_class);
	x[0].s_class = (void*)xret;
    }
    x_TQDomNodeList(const TQDomNodeList& x1) : TQDomNodeList(x1) {
    }
    void x_2(Smoke::Stack x) {
	// operator=(const TQDomNodeList&)
	TQDomNodeList& xret = this->TQDomNodeList::operator=(*(const TQDomNodeList *)x[1].s_class);
	x[0].s_class = (void*)&xret;
    }
    void x_3(Smoke::Stack x) const {
	// operator==(const TQDomNodeList&)
	bool xret = this->TQDomNodeList::operator==(*(const TQDomNodeList *)x[1].s_class);
	x[0].s_bool = xret;
    }
    void x_4(Smoke::Stack x) const {
	// operator!=(const TQDomNodeList&)
	bool xret = this->TQDomNodeList::operator!=(*(const TQDomNodeList *)x[1].s_class);
	x[0].s_bool = xret;
    }
    void x_5(Smoke::Stack x) const {
	// item(int)
	TQDomNode xret = this->TQDomNodeList::item((int)x[1].s_int);
	x[0].s_class = (void*)new TQDomNode(xret);
    }
    void x_6(Smoke::Stack x) const {
	// length()
	uint xret = this->TQDomNodeList::length();
	x[0].s_uint = xret;
    }
    void x_7(Smoke::Stack x) const {
	// count()
	uint xret = this->TQDomNodeList::count();
	x[0].s_uint = xret;
    }
    virtual TQDomNode item(int x1) const {
	Smoke::StackItem x[2];
	x[1].s_int = x1;
	if(qt_Smoke->binding->callMethod(2635, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNodeList::item(x1);
    }
    virtual uint length() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2636, (void*)this, x)) return (uint)x[0].s_uint;
	return this->TQDomNodeList::length();
    }
    ~x_TQDomNodeList() { qt_Smoke->binding->deleted(87, (void*)this); }
};
void xcall_TQDomNodeList(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_TQDomNodeList *xself = (x_TQDomNodeList*)obj;
    switch(xi) {
	case 0: x_TQDomNodeList::x_0(args);	break;
	case 1: x_TQDomNodeList::x_1(args);	break;
	case 2: xself->x_2(args);	break;
	case 3: xself->x_3(args);	break;
	case 4: xself->x_4(args);	break;
	case 5: xself->x_5(args);	break;
	case 6: xself->x_6(args);	break;
	case 7: xself->x_7(args);	break;
	case 8: delete (TQDomNodeList*)xself;	break;
    }
}

class x_TQDomNotation : public TQDomNotation {
public:
    static void x_0(Smoke::Stack x) {
	// TQDomNotation()
	x_TQDomNotation* xret = new x_TQDomNotation();
	x[0].s_class = (void*)xret;
    }
    x_TQDomNotation() : TQDomNotation() {
    }
    static void x_1(Smoke::Stack x) {
	// TQDomNotation(const TQDomNotation&)
	x_TQDomNotation* xret = new x_TQDomNotation(*(const TQDomNotation *)x[1].s_class);
	x[0].s_class = (void*)xret;
    }
    x_TQDomNotation(const TQDomNotation& x1) : TQDomNotation(x1) {
    }
    void x_2(Smoke::Stack x) {
	// operator=(const TQDomNotation&)
	TQDomNotation& xret = this->TQDomNotation::operator=(*(const TQDomNotation *)x[1].s_class);
	x[0].s_class = (void*)&xret;
    }
    void x_3(Smoke::Stack x) const {
	// publicId()
	TQString xret = this->TQDomNotation::publicId();
	x[0].s_voidp = (void*)new TQString(xret);
    }
    void x_4(Smoke::Stack x) const {
	// systemId()
	TQString xret = this->TQDomNotation::systemId();
	x[0].s_voidp = (void*)new TQString(xret);
    }
    void x_5(Smoke::Stack x) const {
	// nodeType()
	TQDomNode::NodeType xret = this->TQDomNotation::nodeType();
	x[0].s_enum = xret;
    }
    void x_6(Smoke::Stack x) const {
	// isNotation()
	bool xret = this->TQDomNotation::isNotation();
	x[0].s_bool = xret;
    }
    virtual TQDomNode appendChild(const TQDomNode& x1) {
	Smoke::StackItem x[2];
	x[1].s_class = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2575, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::appendChild(x1);
    }
    virtual TQDomNamedNodeMap attributes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2589, (void*)this, x)) {
	    TQDomNamedNodeMap *xptr = (TQDomNamedNodeMap *)x[0].s_class;
	    TQDomNamedNodeMap xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::attributes();
    }
    virtual TQDomNodeList childNodes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2584, (void*)this, x)) {
	    TQDomNodeList *xptr = (TQDomNodeList *)x[0].s_class;
	    TQDomNodeList xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::childNodes();
    }
    virtual TQDomNode cloneNode(bool x1) const {
	Smoke::StackItem x[2];
	x[1].s_bool = x1;
	if(qt_Smoke->binding->callMethod(2577, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::cloneNode(x1);
    }
    virtual TQDomNode firstChild() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2585, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::firstChild();
    }
    virtual bool hasAttributes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2593, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::hasAttributes();
    }
    virtual bool hasChildNodes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2576, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::hasChildNodes();
    }
    virtual TQDomNode insertAfter(const TQDomNode& x1, const TQDomNode& x2) {
	Smoke::StackItem x[3];
	x[1].s_class = (void*)&x1;
	x[2].s_class = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2572, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::insertAfter(x1, x2);
    }
    virtual TQDomNode insertBefore(const TQDomNode& x1, const TQDomNode& x2) {
	Smoke::StackItem x[3];
	x[1].s_class = (void*)&x1;
	x[2].s_class = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2571, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::insertBefore(x1, x2);
    }
    virtual bool isAttr() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2598, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isAttr();
    }
    virtual bool isCDATASection() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2599, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isCDATASection();
    }
    virtual bool isCharacterData() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2609, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isCharacterData();
    }
    virtual bool isComment() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2610, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isComment();
    }
    virtual bool isDocument() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2601, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isDocument();
    }
    virtual bool isDocumentFragment() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2600, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isDocumentFragment();
    }
    virtual bool isDocumentType() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2602, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isDocumentType();
    }
    virtual bool isElement() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2603, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isElement();
    }
    virtual bool isEntity() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2606, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isEntity();
    }
    virtual bool isEntityReference() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2604, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isEntityReference();
    }
    virtual bool isNotation() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2645, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNotation::isNotation();
    }
    virtual bool isProcessingInstruction() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2608, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isProcessingInstruction();
    }
    virtual bool isSupported(const TQString& x1, const TQString& x2) const {
	Smoke::StackItem x[3];
	x[1].s_voidp = (void*)&x1;
	x[2].s_voidp = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2580, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isSupported(x1, x2);
    }
    virtual bool isText() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2605, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isText();
    }
    virtual TQDomNode lastChild() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2586, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::lastChild();
    }
    virtual TQString localName() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2592, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::localName();
    }
    virtual TQString namespaceURI() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2591, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::namespaceURI();
    }
    virtual TQDomNode nextSibling() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2588, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::nextSibling();
    }
    virtual TQString nodeName() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2581, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::nodeName();
    }
    virtual TQDomNode::NodeType nodeType() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2644, (void*)this, x)) {
	    TQDomNode::NodeType *xptr = (TQDomNode::NodeType *)x[0].s_class;
	    TQDomNode::NodeType xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNotation::nodeType();
    }
    virtual TQString nodeValue() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2594, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::nodeValue();
    }
    virtual void normalize() {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2579, (void*)this, x)) return;
	this->TQDomNode::normalize();
    }
    virtual TQDomDocument ownerDocument() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2590, (void*)this, x)) {
	    TQDomDocument *xptr = (TQDomDocument *)x[0].s_class;
	    TQDomDocument xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::ownerDocument();
    }
    virtual TQDomNode parentNode() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2583, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::parentNode();
    }
    virtual TQString prefix() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2596, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::prefix();
    }
    virtual TQDomNode previousSibling() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2587, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::previousSibling();
    }
    virtual TQDomNode removeChild(const TQDomNode& x1) {
	Smoke::StackItem x[2];
	x[1].s_class = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2574, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::removeChild(x1);
    }
    virtual TQDomNode replaceChild(const TQDomNode& x1, const TQDomNode& x2) {
	Smoke::StackItem x[3];
	x[1].s_class = (void*)&x1;
	x[2].s_class = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2573, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::replaceChild(x1, x2);
    }
    virtual void setNodeValue(const TQString& x1) {
	Smoke::StackItem x[2];
	x[1].s_voidp = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2595, (void*)this, x)) return;
	this->TQDomNode::setNodeValue(x1);
    }
    virtual void setPrefix(const TQString& x1) {
	Smoke::StackItem x[2];
	x[1].s_voidp = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2597, (void*)this, x)) return;
	this->TQDomNode::setPrefix(x1);
    }
    ~x_TQDomNotation() { qt_Smoke->binding->deleted(88, (void*)this); }
};
void xcall_TQDomNotation(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_TQDomNotation *xself = (x_TQDomNotation*)obj;
    switch(xi) {
	case 0: x_TQDomNotation::x_0(args);	break;
	case 1: x_TQDomNotation::x_1(args);	break;
	case 2: xself->x_2(args);	break;
	case 3: xself->x_3(args);	break;
	case 4: xself->x_4(args);	break;
	case 5: xself->x_5(args);	break;
	case 6: xself->x_6(args);	break;
	case 7: delete (TQDomNotation*)xself;	break;
    }
}

class x_TQDomProcessingInstruction : public TQDomProcessingInstruction {
public:
    static void x_0(Smoke::Stack x) {
	// TQDomProcessingInstruction()
	x_TQDomProcessingInstruction* xret = new x_TQDomProcessingInstruction();
	x[0].s_class = (void*)xret;
    }
    x_TQDomProcessingInstruction() : TQDomProcessingInstruction() {
    }
    static void x_1(Smoke::Stack x) {
	// TQDomProcessingInstruction(const TQDomProcessingInstruction&)
	x_TQDomProcessingInstruction* xret = new x_TQDomProcessingInstruction(*(const TQDomProcessingInstruction *)x[1].s_class);
	x[0].s_class = (void*)xret;
    }
    x_TQDomProcessingInstruction(const TQDomProcessingInstruction& x1) : TQDomProcessingInstruction(x1) {
    }
    void x_2(Smoke::Stack x) {
	// operator=(const TQDomProcessingInstruction&)
	TQDomProcessingInstruction& xret = this->TQDomProcessingInstruction::operator=(*(const TQDomProcessingInstruction *)x[1].s_class);
	x[0].s_class = (void*)&xret;
    }
    void x_3(Smoke::Stack x) const {
	// target()
	TQString xret = this->TQDomProcessingInstruction::target();
	x[0].s_voidp = (void*)new TQString(xret);
    }
    void x_4(Smoke::Stack x) const {
	// data()
	TQString xret = this->TQDomProcessingInstruction::data();
	x[0].s_voidp = (void*)new TQString(xret);
    }
    void x_5(Smoke::Stack x) {
	// setData(const TQString&)
	this->TQDomProcessingInstruction::setData(*(const TQString *)x[1].s_voidp);
	(void)x; // noop (for compiler warning)
    }
    void x_6(Smoke::Stack x) const {
	// nodeType()
	TQDomNode::NodeType xret = this->TQDomProcessingInstruction::nodeType();
	x[0].s_enum = xret;
    }
    void x_7(Smoke::Stack x) const {
	// isProcessingInstruction()
	bool xret = this->TQDomProcessingInstruction::isProcessingInstruction();
	x[0].s_bool = xret;
    }
    virtual TQDomNode appendChild(const TQDomNode& x1) {
	Smoke::StackItem x[2];
	x[1].s_class = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2575, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::appendChild(x1);
    }
    virtual TQDomNamedNodeMap attributes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2589, (void*)this, x)) {
	    TQDomNamedNodeMap *xptr = (TQDomNamedNodeMap *)x[0].s_class;
	    TQDomNamedNodeMap xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::attributes();
    }
    virtual TQDomNodeList childNodes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2584, (void*)this, x)) {
	    TQDomNodeList *xptr = (TQDomNodeList *)x[0].s_class;
	    TQDomNodeList xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::childNodes();
    }
    virtual TQDomNode cloneNode(bool x1) const {
	Smoke::StackItem x[2];
	x[1].s_bool = x1;
	if(qt_Smoke->binding->callMethod(2577, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::cloneNode(x1);
    }
    virtual TQString data() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2651, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomProcessingInstruction::data();
    }
    virtual TQDomNode firstChild() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2585, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::firstChild();
    }
    virtual bool hasAttributes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2593, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::hasAttributes();
    }
    virtual bool hasChildNodes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2576, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::hasChildNodes();
    }
    virtual TQDomNode insertAfter(const TQDomNode& x1, const TQDomNode& x2) {
	Smoke::StackItem x[3];
	x[1].s_class = (void*)&x1;
	x[2].s_class = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2572, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::insertAfter(x1, x2);
    }
    virtual TQDomNode insertBefore(const TQDomNode& x1, const TQDomNode& x2) {
	Smoke::StackItem x[3];
	x[1].s_class = (void*)&x1;
	x[2].s_class = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2571, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::insertBefore(x1, x2);
    }
    virtual bool isAttr() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2598, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isAttr();
    }
    virtual bool isCDATASection() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2599, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isCDATASection();
    }
    virtual bool isCharacterData() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2609, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isCharacterData();
    }
    virtual bool isComment() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2610, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isComment();
    }
    virtual bool isDocument() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2601, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isDocument();
    }
    virtual bool isDocumentFragment() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2600, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isDocumentFragment();
    }
    virtual bool isDocumentType() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2602, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isDocumentType();
    }
    virtual bool isElement() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2603, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isElement();
    }
    virtual bool isEntity() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2606, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isEntity();
    }
    virtual bool isEntityReference() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2604, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isEntityReference();
    }
    virtual bool isNotation() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2607, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isNotation();
    }
    virtual bool isProcessingInstruction() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2654, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomProcessingInstruction::isProcessingInstruction();
    }
    virtual bool isSupported(const TQString& x1, const TQString& x2) const {
	Smoke::StackItem x[3];
	x[1].s_voidp = (void*)&x1;
	x[2].s_voidp = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2580, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isSupported(x1, x2);
    }
    virtual bool isText() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2605, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isText();
    }
    virtual TQDomNode lastChild() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2586, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::lastChild();
    }
    virtual TQString localName() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2592, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::localName();
    }
    virtual TQString namespaceURI() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2591, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::namespaceURI();
    }
    virtual TQDomNode nextSibling() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2588, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::nextSibling();
    }
    virtual TQString nodeName() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2581, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::nodeName();
    }
    virtual TQDomNode::NodeType nodeType() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2653, (void*)this, x)) {
	    TQDomNode::NodeType *xptr = (TQDomNode::NodeType *)x[0].s_class;
	    TQDomNode::NodeType xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomProcessingInstruction::nodeType();
    }
    virtual TQString nodeValue() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2594, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::nodeValue();
    }
    virtual void normalize() {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2579, (void*)this, x)) return;
	this->TQDomNode::normalize();
    }
    virtual TQDomDocument ownerDocument() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2590, (void*)this, x)) {
	    TQDomDocument *xptr = (TQDomDocument *)x[0].s_class;
	    TQDomDocument xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::ownerDocument();
    }
    virtual TQDomNode parentNode() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2583, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::parentNode();
    }
    virtual TQString prefix() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2596, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::prefix();
    }
    virtual TQDomNode previousSibling() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2587, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::previousSibling();
    }
    virtual TQDomNode removeChild(const TQDomNode& x1) {
	Smoke::StackItem x[2];
	x[1].s_class = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2574, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::removeChild(x1);
    }
    virtual TQDomNode replaceChild(const TQDomNode& x1, const TQDomNode& x2) {
	Smoke::StackItem x[3];
	x[1].s_class = (void*)&x1;
	x[2].s_class = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2573, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::replaceChild(x1, x2);
    }
    virtual void setData(const TQString& x1) {
	Smoke::StackItem x[2];
	x[1].s_voidp = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2652, (void*)this, x)) return;
	this->TQDomProcessingInstruction::setData(x1);
    }
    virtual void setNodeValue(const TQString& x1) {
	Smoke::StackItem x[2];
	x[1].s_voidp = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2595, (void*)this, x)) return;
	this->TQDomNode::setNodeValue(x1);
    }
    virtual void setPrefix(const TQString& x1) {
	Smoke::StackItem x[2];
	x[1].s_voidp = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2597, (void*)this, x)) return;
	this->TQDomNode::setPrefix(x1);
    }
    virtual TQString target() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2650, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomProcessingInstruction::target();
    }
    ~x_TQDomProcessingInstruction() { qt_Smoke->binding->deleted(89, (void*)this); }
};
void xcall_TQDomProcessingInstruction(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_TQDomProcessingInstruction *xself = (x_TQDomProcessingInstruction*)obj;
    switch(xi) {
	case 0: x_TQDomProcessingInstruction::x_0(args);	break;
	case 1: x_TQDomProcessingInstruction::x_1(args);	break;
	case 2: xself->x_2(args);	break;
	case 3: xself->x_3(args);	break;
	case 4: xself->x_4(args);	break;
	case 5: xself->x_5(args);	break;
	case 6: xself->x_6(args);	break;
	case 7: xself->x_7(args);	break;
	case 8: delete (TQDomProcessingInstruction*)xself;	break;
    }
}

class x_TQDomText : public TQDomText {
public:
    static void x_0(Smoke::Stack x) {
	// TQDomText()
	x_TQDomText* xret = new x_TQDomText();
	x[0].s_class = (void*)xret;
    }
    x_TQDomText() : TQDomText() {
    }
    static void x_1(Smoke::Stack x) {
	// TQDomText(const TQDomText&)
	x_TQDomText* xret = new x_TQDomText(*(const TQDomText *)x[1].s_class);
	x[0].s_class = (void*)xret;
    }
    x_TQDomText(const TQDomText& x1) : TQDomText(x1) {
    }
    void x_2(Smoke::Stack x) {
	// operator=(const TQDomText&)
	TQDomText& xret = this->TQDomText::operator=(*(const TQDomText *)x[1].s_class);
	x[0].s_class = (void*)&xret;
    }
    void x_3(Smoke::Stack x) {
	// splitText(int)
	TQDomText xret = this->TQDomText::splitText((int)x[1].s_int);
	x[0].s_class = (void*)new TQDomText(xret);
    }
    void x_4(Smoke::Stack x) const {
	// nodeType()
	TQDomNode::NodeType xret = this->TQDomText::nodeType();
	x[0].s_enum = xret;
    }
    void x_5(Smoke::Stack x) const {
	// isText()
	bool xret = this->TQDomText::isText();
	x[0].s_bool = xret;
    }
    virtual TQDomNode appendChild(const TQDomNode& x1) {
	Smoke::StackItem x[2];
	x[1].s_class = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2575, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::appendChild(x1);
    }
    virtual void appendData(const TQString& x1) {
	Smoke::StackItem x[2];
	x[1].s_voidp = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2376, (void*)this, x)) return;
	this->TQDomCharacterData::appendData(x1);
    }
    virtual TQDomNamedNodeMap attributes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2589, (void*)this, x)) {
	    TQDomNamedNodeMap *xptr = (TQDomNamedNodeMap *)x[0].s_class;
	    TQDomNamedNodeMap xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::attributes();
    }
    virtual TQDomNodeList childNodes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2584, (void*)this, x)) {
	    TQDomNodeList *xptr = (TQDomNodeList *)x[0].s_class;
	    TQDomNodeList xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::childNodes();
    }
    virtual TQDomNode cloneNode(bool x1) const {
	Smoke::StackItem x[2];
	x[1].s_bool = x1;
	if(qt_Smoke->binding->callMethod(2577, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::cloneNode(x1);
    }
    virtual TQString data() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2381, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomCharacterData::data();
    }
    virtual void deleteData(unsigned long x1, unsigned long x2) {
	Smoke::StackItem x[3];
	x[1].s_ulong = x1;
	x[2].s_ulong = x2;
	if(qt_Smoke->binding->callMethod(2378, (void*)this, x)) return;
	this->TQDomCharacterData::deleteData(x1, x2);
    }
    virtual TQDomNode firstChild() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2585, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::firstChild();
    }
    virtual bool hasAttributes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2593, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::hasAttributes();
    }
    virtual bool hasChildNodes() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2576, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::hasChildNodes();
    }
    virtual TQDomNode insertAfter(const TQDomNode& x1, const TQDomNode& x2) {
	Smoke::StackItem x[3];
	x[1].s_class = (void*)&x1;
	x[2].s_class = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2572, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::insertAfter(x1, x2);
    }
    virtual TQDomNode insertBefore(const TQDomNode& x1, const TQDomNode& x2) {
	Smoke::StackItem x[3];
	x[1].s_class = (void*)&x1;
	x[2].s_class = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2571, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::insertBefore(x1, x2);
    }
    virtual void insertData(unsigned long x1, const TQString& x2) {
	Smoke::StackItem x[3];
	x[1].s_ulong = x1;
	x[2].s_voidp = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2377, (void*)this, x)) return;
	this->TQDomCharacterData::insertData(x1, x2);
    }
    virtual bool isAttr() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2598, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isAttr();
    }
    virtual bool isCDATASection() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2599, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isCDATASection();
    }
    virtual bool isCharacterData() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2384, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomCharacterData::isCharacterData();
    }
    virtual bool isComment() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2610, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isComment();
    }
    virtual bool isDocument() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2601, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isDocument();
    }
    virtual bool isDocumentFragment() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2600, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isDocumentFragment();
    }
    virtual bool isDocumentType() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2602, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isDocumentType();
    }
    virtual bool isElement() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2603, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isElement();
    }
    virtual bool isEntity() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2606, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isEntity();
    }
    virtual bool isEntityReference() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2604, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isEntityReference();
    }
    virtual bool isNotation() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2607, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isNotation();
    }
    virtual bool isProcessingInstruction() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2608, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isProcessingInstruction();
    }
    virtual bool isSupported(const TQString& x1, const TQString& x2) const {
	Smoke::StackItem x[3];
	x[1].s_voidp = (void*)&x1;
	x[2].s_voidp = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2580, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomNode::isSupported(x1, x2);
    }
    virtual bool isText() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2661, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDomText::isText();
    }
    virtual TQDomNode lastChild() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2586, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::lastChild();
    }
    virtual uint length() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2380, (void*)this, x)) return (uint)x[0].s_uint;
	return this->TQDomCharacterData::length();
    }
    virtual TQString localName() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2592, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::localName();
    }
    virtual TQString namespaceURI() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2591, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::namespaceURI();
    }
    virtual TQDomNode nextSibling() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2588, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::nextSibling();
    }
    virtual TQString nodeName() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2581, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::nodeName();
    }
    virtual TQDomNode::NodeType nodeType() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2660, (void*)this, x)) {
	    TQDomNode::NodeType *xptr = (TQDomNode::NodeType *)x[0].s_class;
	    TQDomNode::NodeType xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomText::nodeType();
    }
    virtual TQString nodeValue() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2594, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::nodeValue();
    }
    virtual void normalize() {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2579, (void*)this, x)) return;
	this->TQDomNode::normalize();
    }
    virtual TQDomDocument ownerDocument() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2590, (void*)this, x)) {
	    TQDomDocument *xptr = (TQDomDocument *)x[0].s_class;
	    TQDomDocument xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::ownerDocument();
    }
    virtual TQDomNode parentNode() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2583, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::parentNode();
    }
    virtual TQString prefix() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2596, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::prefix();
    }
    virtual TQDomNode previousSibling() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2587, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::previousSibling();
    }
    virtual TQDomNode removeChild(const TQDomNode& x1) {
	Smoke::StackItem x[2];
	x[1].s_class = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2574, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::removeChild(x1);
    }
    virtual TQDomNode replaceChild(const TQDomNode& x1, const TQDomNode& x2) {
	Smoke::StackItem x[3];
	x[1].s_class = (void*)&x1;
	x[2].s_class = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2573, (void*)this, x)) {
	    TQDomNode *xptr = (TQDomNode *)x[0].s_class;
	    TQDomNode xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomNode::replaceChild(x1, x2);
    }
    virtual void replaceData(unsigned long x1, unsigned long x2, const TQString& x3) {
	Smoke::StackItem x[4];
	x[1].s_ulong = x1;
	x[2].s_ulong = x2;
	x[3].s_voidp = (void*)&x3;
	if(qt_Smoke->binding->callMethod(2379, (void*)this, x)) return;
	this->TQDomCharacterData::replaceData(x1, x2, x3);
    }
    virtual void setData(const TQString& x1) {
	Smoke::StackItem x[2];
	x[1].s_voidp = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2382, (void*)this, x)) return;
	this->TQDomCharacterData::setData(x1);
    }
    virtual void setNodeValue(const TQString& x1) {
	Smoke::StackItem x[2];
	x[1].s_voidp = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2595, (void*)this, x)) return;
	this->TQDomNode::setNodeValue(x1);
    }
    virtual void setPrefix(const TQString& x1) {
	Smoke::StackItem x[2];
	x[1].s_voidp = (void*)&x1;
	if(qt_Smoke->binding->callMethod(2597, (void*)this, x)) return;
	this->TQDomNode::setPrefix(x1);
    }
    virtual TQString substringData(unsigned long x1, unsigned long x2) {
	Smoke::StackItem x[3];
	x[1].s_ulong = x1;
	x[2].s_ulong = x2;
	if(qt_Smoke->binding->callMethod(2375, (void*)this, x)) {
	    TQString *xptr = (TQString *)x[0].s_class;
	    TQString xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDomCharacterData::substringData(x1, x2);
    }
    ~x_TQDomText() { qt_Smoke->binding->deleted(90, (void*)this); }
};
void xcall_TQDomText(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_TQDomText *xself = (x_TQDomText*)obj;
    switch(xi) {
	case 0: x_TQDomText::x_0(args);	break;
	case 1: x_TQDomText::x_1(args);	break;
	case 2: xself->x_2(args);	break;
	case 3: xself->x_3(args);	break;
	case 4: xself->x_4(args);	break;
	case 5: xself->x_5(args);	break;
	case 6: delete (TQDomText*)xself;	break;
    }
}

class x_TQDoubleValidator : public TQDoubleValidator {
public:
    void x_0(Smoke::Stack x) const {
	// metaObject()
	TQMetaObject* xret = this->TQDoubleValidator::metaObject();
	x[0].s_class = (void*)xret;
    }
    void x_1(Smoke::Stack x) const {
	// className()
	const char* xret = this->TQDoubleValidator::className();
	x[0].s_voidp = (void*)xret;
    }
    void x_2(Smoke::Stack x) {
	// tqt_cast(const char*)
	void* xret = this->TQDoubleValidator::tqt_cast((const char*)x[1].s_voidp);
	x[0].s_voidp = (void*)xret;
    }
    void x_3(Smoke::Stack x) {
	// tqt_invoke(int, TQUObject*)
	bool xret = this->TQDoubleValidator::tqt_invoke((int)x[1].s_int,(TQUObject*)x[2].s_voidp);
	x[0].s_bool = xret;
    }
    void x_4(Smoke::Stack x) {
	// tqt_emit(int, TQUObject*)
	bool xret = this->TQDoubleValidator::tqt_emit((int)x[1].s_int,(TQUObject*)x[2].s_voidp);
	x[0].s_bool = xret;
    }
    void x_5(Smoke::Stack x) {
	// tqt_property(int, int, TQVariant*)
	bool xret = this->TQDoubleValidator::tqt_property((int)x[1].s_int,(int)x[2].s_int,(TQVariant*)x[3].s_class);
	x[0].s_bool = xret;
    }
    void x_6(Smoke::Stack x) {
	// qObject()
	TQObject* xret = this->TQDoubleValidator::qObject();
	x[0].s_class = (void*)xret;
    }
    static void x_7(Smoke::Stack x) {
	// TQDoubleValidator(TQObject*, const char*)
	x_TQDoubleValidator* xret = new x_TQDoubleValidator((TQObject*)x[1].s_class,(const char*)x[2].s_voidp);
	x[0].s_class = (void*)xret;
    }
    x_TQDoubleValidator(TQObject* x1, const char* x2) : TQDoubleValidator(x1, x2) {
    }
    static void x_8(Smoke::Stack x) {
	// TQDoubleValidator(TQObject*)
	x_TQDoubleValidator* xret = new x_TQDoubleValidator((TQObject*)x[1].s_class);
	x[0].s_class = (void*)xret;
    }
    x_TQDoubleValidator(TQObject* x1) : TQDoubleValidator(x1) {
    }
    static void x_9(Smoke::Stack x) {
	// TQDoubleValidator(double, double, int, TQObject*, const char*)
	x_TQDoubleValidator* xret = new x_TQDoubleValidator((double)x[1].s_double,(double)x[2].s_double,(int)x[3].s_int,(TQObject*)x[4].s_class,(const char*)x[5].s_voidp);
	x[0].s_class = (void*)xret;
    }
    x_TQDoubleValidator(double x1, double x2, int x3, TQObject* x4, const char* x5) : TQDoubleValidator(x1, x2, x3, x4, x5) {
    }
    static void x_10(Smoke::Stack x) {
	// TQDoubleValidator(double, double, int, TQObject*)
	x_TQDoubleValidator* xret = new x_TQDoubleValidator((double)x[1].s_double,(double)x[2].s_double,(int)x[3].s_int,(TQObject*)x[4].s_class);
	x[0].s_class = (void*)xret;
    }
    x_TQDoubleValidator(double x1, double x2, int x3, TQObject* x4) : TQDoubleValidator(x1, x2, x3, x4) {
    }
    void x_11(Smoke::Stack x) const {
	// validate(TQString&, int&)
	TQValidator::State xret = this->TQDoubleValidator::validate(*(TQString *)x[1].s_voidp,*(int *)x[2].s_voidp);
	x[0].s_enum = xret;
    }
    void x_12(Smoke::Stack x) {
	// setRange(double, double, int)
	this->TQDoubleValidator::setRange((double)x[1].s_double,(double)x[2].s_double,(int)x[3].s_int);
	(void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
	// setRange(double, double)
	this->TQDoubleValidator::setRange((double)x[1].s_double,(double)x[2].s_double);
	(void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
	// setBottom(double)
	this->TQDoubleValidator::setBottom((double)x[1].s_double);
	(void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
	// setTop(double)
	this->TQDoubleValidator::setTop((double)x[1].s_double);
	(void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
	// setDecimals(int)
	this->TQDoubleValidator::setDecimals((int)x[1].s_int);
	(void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) const {
	// bottom()
	double xret = this->TQDoubleValidator::bottom();
	x[0].s_double = xret;
    }
    void x_18(Smoke::Stack x) const {
	// top()
	double xret = this->TQDoubleValidator::top();
	x[0].s_double = xret;
    }
    void x_19(Smoke::Stack x) const {
	// decimals()
	int xret = this->TQDoubleValidator::decimals();
	x[0].s_int = xret;
    }
    static void x_20(Smoke::Stack x) {
	// staticMetaObject()
	TQMetaObject* xret = TQDoubleValidator::staticMetaObject();
	x[0].s_class = (void*)xret;
    }
    virtual bool checkConnectArgs(const char* x1, const TQObject* x2, const char* x3) {
	Smoke::StackItem x[4];
	x[1].s_voidp = (void*)x1;
	x[2].s_class = (void*)x2;
	x[3].s_voidp = (void*)x3;
	if(qt_Smoke->binding->callMethod(7311, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQObject::checkConnectArgs(x1, x2, x3);
    }
    virtual void childEvent(TQChildEvent* x1) {
	Smoke::StackItem x[2];
	x[1].s_class = (void*)x1;
	if(qt_Smoke->binding->callMethod(7307, (void*)this, x)) return;
	this->TQObject::childEvent(x1);
    }
    virtual const char* className() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2663, (void*)this, x)) return (const char*)x[0].s_class;
	return this->TQDoubleValidator::className();
    }
    virtual void connectNotify(const char* x1) {
	Smoke::StackItem x[2];
	x[1].s_voidp = (void*)x1;
	if(qt_Smoke->binding->callMethod(7309, (void*)this, x)) return;
	this->TQObject::connectNotify(x1);
    }
    virtual void customEvent(TQCustomEvent* x1) {
	Smoke::StackItem x[2];
	x[1].s_class = (void*)x1;
	if(qt_Smoke->binding->callMethod(7308, (void*)this, x)) return;
	this->TQObject::customEvent(x1);
    }
    virtual void disconnectNotify(const char* x1) {
	Smoke::StackItem x[2];
	x[1].s_voidp = (void*)x1;
	if(qt_Smoke->binding->callMethod(7310, (void*)this, x)) return;
	this->TQObject::disconnectNotify(x1);
    }
    virtual bool event(TQEvent* x1) {
	Smoke::StackItem x[2];
	x[1].s_class = (void*)x1;
	if(qt_Smoke->binding->callMethod(7238, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQObject::event(x1);
    }
    virtual bool eventFilter(TQObject* x1, TQEvent* x2) {
	Smoke::StackItem x[3];
	x[1].s_class = (void*)x1;
	x[2].s_class = (void*)x2;
	if(qt_Smoke->binding->callMethod(7239, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQObject::eventFilter(x1, x2);
    }
    virtual void fixup(TQString& x1) const {
	Smoke::StackItem x[2];
	x[1].s_voidp = (void*)&x1;
	if(qt_Smoke->binding->callMethod(12516, (void*)this, x)) return;
	this->TQValidator::fixup(x1);
    }
    virtual void insertChild(TQObject* x1) {
	Smoke::StackItem x[2];
	x[1].s_class = (void*)x1;
	if(qt_Smoke->binding->callMethod(7262, (void*)this, x)) return;
	this->TQObject::insertChild(x1);
    }
    virtual TQMetaObject* metaObject() const {
	Smoke::StackItem x[1];
	if(qt_Smoke->binding->callMethod(2662, (void*)this, x)) return (TQMetaObject*)x[0].s_class;
	return this->TQDoubleValidator::metaObject();
    }
    virtual TQVariant property(const char* x1) const {
	Smoke::StackItem x[2];
	x[1].s_voidp = (void*)x1;
	if(qt_Smoke->binding->callMethod(7278, (void*)this, x)) {
	    TQVariant *xptr = (TQVariant *)x[0].s_class;
	    TQVariant xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQObject::property(x1);
    }
    virtual void removeChild(TQObject* x1) {
	Smoke::StackItem x[2];
	x[1].s_class = (void*)x1;
	if(qt_Smoke->binding->callMethod(7263, (void*)this, x)) return;
	this->TQObject::removeChild(x1);
    }
    virtual void setName(const char* x1) {
	Smoke::StackItem x[2];
	x[1].s_voidp = (void*)x1;
	if(qt_Smoke->binding->callMethod(7244, (void*)this, x)) return;
	this->TQObject::setName(x1);
    }
    virtual bool setProperty(const char* x1, const TQVariant& x2) {
	Smoke::StackItem x[3];
	x[1].s_voidp = (void*)x1;
	x[2].s_class = (void*)&x2;
	if(qt_Smoke->binding->callMethod(7277, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQObject::setProperty(x1, x2);
    }
    virtual void setRange(double x1, double x2, int x3) {
	Smoke::StackItem x[4];
	x[1].s_double = x1;
	x[2].s_double = x2;
	x[3].s_int = x3;
	if(qt_Smoke->binding->callMethod(2675, (void*)this, x)) return;
	this->TQDoubleValidator::setRange(x1, x2, x3);
    }
    virtual void timerEvent(TQTimerEvent* x1) {
	Smoke::StackItem x[2];
	x[1].s_class = (void*)x1;
	if(qt_Smoke->binding->callMethod(7306, (void*)this, x)) return;
	this->TQObject::timerEvent(x1);
    }
    virtual void* tqt_cast(const char* x1) {
	Smoke::StackItem x[2];
	x[1].s_voidp = (void*)x1;
	if(qt_Smoke->binding->callMethod(2664, (void*)this, x)) return (void*)x[0].s_voidp;
	return this->TQDoubleValidator::tqt_cast(x1);
    }
    virtual bool tqt_emit(int x1, TQUObject* x2) {
	Smoke::StackItem x[3];
	x[1].s_int = x1;
	x[2].s_voidp = (void*)x2;
	if(qt_Smoke->binding->callMethod(2666, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDoubleValidator::tqt_emit(x1, x2);
    }
    virtual bool tqt_invoke(int x1, TQUObject* x2) {
	Smoke::StackItem x[3];
	x[1].s_int = x1;
	x[2].s_voidp = (void*)x2;
	if(qt_Smoke->binding->callMethod(2665, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDoubleValidator::tqt_invoke(x1, x2);
    }
    virtual bool tqt_property(int x1, int x2, TQVariant* x3) {
	Smoke::StackItem x[4];
	x[1].s_int = x1;
	x[2].s_int = x2;
	x[3].s_class = (void*)x3;
	if(qt_Smoke->binding->callMethod(2667, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDoubleValidator::tqt_property(x1, x2, x3);
    }
    virtual TQValidator::State validate(TQString& x1, int& x2) const {
	Smoke::StackItem x[3];
	x[1].s_voidp = (void*)&x1;
	x[2].s_voidp = (void*)&x2;
	if(qt_Smoke->binding->callMethod(2674, (void*)this, x)) return (TQValidator::State)x[0].s_int;
	return this->TQDoubleValidator::validate(x1, x2);
    }
    ~x_TQDoubleValidator() { qt_Smoke->binding->deleted(91, (void*)this); }
};
void xcall_TQDoubleValidator(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_TQDoubleValidator *xself = (x_TQDoubleValidator*)obj;
    switch(xi) {
	case 0: xself->x_0(args);	break;
	case 1: xself->x_1(args);	break;
	case 2: xself->x_2(args);	break;
	case 3: xself->x_3(args);	break;
	case 4: xself->x_4(args);	break;
	case 5: xself->x_5(args);	break;
	case 6: xself->x_6(args);	break;
	case 7: x_TQDoubleValidator::x_7(args);	break;
	case 8: x_TQDoubleValidator::x_8(args);	break;
	case 9: x_TQDoubleValidator::x_9(args);	break;
	case 10: x_TQDoubleValidator::x_10(args);	break;
	case 11: xself->x_11(args);	break;
	case 12: xself->x_12(args);	break;
	case 13: xself->x_13(args);	break;
	case 14: xself->x_14(args);	break;
	case 15: xself->x_15(args);	break;
	case 16: xself->x_16(args);	break;
	case 17: xself->x_17(args);	break;
	case 18: xself->x_18(args);	break;
	case 19: xself->x_19(args);	break;
	case 20: x_TQDoubleValidator::x_20(args);	break;
	case 21: delete (TQDoubleValidator*)xself;	break;
    }
}

class x_TQDragEnterEvent : public TQDragEnterEvent {
public:
    static void x_0(Smoke::Stack x) {
	// TQDragEnterEvent(const TQPoint&)
	x_TQDragEnterEvent* xret = new x_TQDragEnterEvent(*(const TQPoint *)x[1].s_class);
	x[0].s_class = (void*)xret;
    }
    x_TQDragEnterEvent(const TQPoint& x1) : TQDragEnterEvent(x1) {
    }
    static void x_1(Smoke::Stack x) {
	// TQDragEnterEvent(const TQDragEnterEvent&)
	x_TQDragEnterEvent* xret = new x_TQDragEnterEvent(*(const TQDragEnterEvent *)x[1].s_class);
	x[0].s_class = (void*)xret;
    }
    x_TQDragEnterEvent(const TQDragEnterEvent& x1) : TQDragEnterEvent(x1) {
    }
    virtual TQByteArray encodedData(const char* x1) const {
	Smoke::StackItem x[2];
	x[1].s_voidp = (void*)x1;
	if(qt_Smoke->binding->callMethod(2761, (void*)this, x)) {
	    TQByteArray *xptr = (TQByteArray *)x[0].s_class;
	    TQByteArray xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDropEvent::encodedData(x1);
    }
    virtual const char* format(int x1) const {
	Smoke::StackItem x[2];
	x[1].s_int = x1;
	if(qt_Smoke->binding->callMethod(2759, (void*)this, x)) return (const char*)x[0].s_class;
	return this->TQDropEvent::format(x1);
    }
    virtual bool provides(const char* x1) const {
	Smoke::StackItem x[2];
	x[1].s_voidp = (void*)x1;
	if(qt_Smoke->binding->callMethod(2762, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDropEvent::provides(x1);
    }
    ~x_TQDragEnterEvent() { qt_Smoke->binding->deleted(92, (void*)this); }
};
void xcall_TQDragEnterEvent(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_TQDragEnterEvent *xself = (x_TQDragEnterEvent*)obj;
    switch(xi) {
	case 0: x_TQDragEnterEvent::x_0(args);	break;
	case 1: x_TQDragEnterEvent::x_1(args);	break;
	case 2: delete (TQDragEnterEvent*)xself;	break;
    }
}

class x_TQDragLeaveEvent : public TQDragLeaveEvent {
public:
    static void x_0(Smoke::Stack x) {
	// TQDragLeaveEvent()
	x_TQDragLeaveEvent* xret = new x_TQDragLeaveEvent();
	x[0].s_class = (void*)xret;
    }
    x_TQDragLeaveEvent() : TQDragLeaveEvent() {
    }
    static void x_1(Smoke::Stack x) {
	// TQDragLeaveEvent(const TQDragLeaveEvent&)
	x_TQDragLeaveEvent* xret = new x_TQDragLeaveEvent(*(const TQDragLeaveEvent *)x[1].s_class);
	x[0].s_class = (void*)xret;
    }
    x_TQDragLeaveEvent(const TQDragLeaveEvent& x1) : TQDragLeaveEvent(x1) {
    }
    ~x_TQDragLeaveEvent() { qt_Smoke->binding->deleted(93, (void*)this); }
};
void xcall_TQDragLeaveEvent(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_TQDragLeaveEvent *xself = (x_TQDragLeaveEvent*)obj;
    switch(xi) {
	case 0: x_TQDragLeaveEvent::x_0(args);	break;
	case 1: x_TQDragLeaveEvent::x_1(args);	break;
	case 2: delete (TQDragLeaveEvent*)xself;	break;
    }
}

class x_TQDragManager {
private:
    TQDragManager *xthis;
public:
    x_TQDragManager(void *x) : xthis((TQDragManager*)x) {}
    void x_0(Smoke::Stack x) const {
	// metaObject()
	TQMetaObject* xret = xthis->TQDragManager::metaObject();
	x[0].s_class = (void*)xret;
    }
    void x_1(Smoke::Stack x) const {
	// className()
	const char* xret = xthis->TQDragManager::className();
	x[0].s_voidp = (void*)xret;
    }
    void x_2(Smoke::Stack x) {
	// tqt_cast(const char*)
	void* xret = xthis->TQDragManager::tqt_cast((const char*)x[1].s_voidp);
	x[0].s_voidp = (void*)xret;
    }
    void x_3(Smoke::Stack x) {
	// tqt_invoke(int, TQUObject*)
	bool xret = xthis->TQDragManager::tqt_invoke((int)x[1].s_int,(TQUObject*)x[2].s_voidp);
	x[0].s_bool = xret;
    }
    void x_4(Smoke::Stack x) {
	// tqt_emit(int, TQUObject*)
	bool xret = xthis->TQDragManager::tqt_emit((int)x[1].s_int,(TQUObject*)x[2].s_voidp);
	x[0].s_bool = xret;
    }
    void x_5(Smoke::Stack x) {
	// tqt_property(int, int, TQVariant*)
	bool xret = xthis->TQDragManager::tqt_property((int)x[1].s_int,(int)x[2].s_int,(TQVariant*)x[3].s_class);
	x[0].s_bool = xret;
    }
    void x_6(Smoke::Stack x) {
	// qObject()
	TQObject* xret = xthis->TQDragManager::qObject();
	x[0].s_class = (void*)xret;
    }
    static void x_7(Smoke::Stack x) {
	// staticMetaObject()
	TQMetaObject* xret = TQDragManager::staticMetaObject();
	x[0].s_class = (void*)xret;
    }
    ~x_TQDragManager() { qt_Smoke->binding->deleted(94, (void*)this); }
};
void xcall_TQDragManager(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_TQDragManager xtmp(obj), *xself = &xtmp;
    switch(xi) {
	case 0: xself->x_0(args);	break;
	case 1: xself->x_1(args);	break;
	case 2: xself->x_2(args);	break;
	case 3: xself->x_3(args);	break;
	case 4: xself->x_4(args);	break;
	case 5: xself->x_5(args);	break;
	case 6: xself->x_6(args);	break;
	case 7: x_TQDragManager::x_7(args);	break;
    }
}

class x_TQDragMoveEvent : public TQDragMoveEvent {
public:
    static void x_0(Smoke::Stack x) {
	// TQDragMoveEvent(const TQPoint&, TQEvent::Type)
	x_TQDragMoveEvent* xret = new x_TQDragMoveEvent(*(const TQPoint *)x[1].s_class,(TQEvent::Type)x[2].s_enum);
	x[0].s_class = (void*)xret;
    }
    x_TQDragMoveEvent(const TQPoint& x1, TQEvent::Type x2) : TQDragMoveEvent(x1, x2) {
    }
    static void x_1(Smoke::Stack x) {
	// TQDragMoveEvent(const TQPoint&)
	x_TQDragMoveEvent* xret = new x_TQDragMoveEvent(*(const TQPoint *)x[1].s_class);
	x[0].s_class = (void*)xret;
    }
    x_TQDragMoveEvent(const TQPoint& x1) : TQDragMoveEvent(x1) {
    }
    void x_2(Smoke::Stack x) const {
	// answerRect()
	TQRect xret = this->TQDragMoveEvent::answerRect();
	x[0].s_class = (void*)new TQRect(xret);
    }
    void x_3(Smoke::Stack x) {
	// accept(bool)
	this->TQDragMoveEvent::accept((bool)x[1].s_bool);
	(void)x; // noop (for compiler warning)
    }
    void x_4(Smoke::Stack x) {
	// accept()
	this->TQDragMoveEvent::accept();
	(void)x; // noop (for compiler warning)
    }
    void x_5(Smoke::Stack x) {
	// accept(const TQRect&)
	this->TQDragMoveEvent::accept(*(const TQRect *)x[1].s_class);
	(void)x; // noop (for compiler warning)
    }
    void x_6(Smoke::Stack x) {
	// ignore(const TQRect&)
	this->TQDragMoveEvent::ignore(*(const TQRect *)x[1].s_class);
	(void)x; // noop (for compiler warning)
    }
    void x_7(Smoke::Stack x) {
	// ignore()
	this->TQDragMoveEvent::ignore();
	(void)x; // noop (for compiler warning)
    }
    static void x_8(Smoke::Stack x) {
	// TQDragMoveEvent(const TQDragMoveEvent&)
	x_TQDragMoveEvent* xret = new x_TQDragMoveEvent(*(const TQDragMoveEvent *)x[1].s_class);
	x[0].s_class = (void*)xret;
    }
    x_TQDragMoveEvent(const TQDragMoveEvent& x1) : TQDragMoveEvent(x1) {
    }
    virtual TQByteArray encodedData(const char* x1) const {
	Smoke::StackItem x[2];
	x[1].s_voidp = (void*)x1;
	if(qt_Smoke->binding->callMethod(2761, (void*)this, x)) {
	    TQByteArray *xptr = (TQByteArray *)x[0].s_class;
	    TQByteArray xret(*xptr);
	    delete xptr;
	    return xret;
	}
	return this->TQDropEvent::encodedData(x1);
    }
    virtual const char* format(int x1) const {
	Smoke::StackItem x[2];
	x[1].s_int = x1;
	if(qt_Smoke->binding->callMethod(2759, (void*)this, x)) return (const char*)x[0].s_class;
	return this->TQDropEvent::format(x1);
    }
    virtual bool provides(const char* x1) const {
	Smoke::StackItem x[2];
	x[1].s_voidp = (void*)x1;
	if(qt_Smoke->binding->callMethod(2762, (void*)this, x)) return (bool)x[0].s_bool;
	return this->TQDropEvent::provides(x1);
    }
    ~x_TQDragMoveEvent() { qt_Smoke->binding->deleted(95, (void*)this); }
};
void xcall_TQDragMoveEvent(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_TQDragMoveEvent *xself = (x_TQDragMoveEvent*)obj;
    switch(xi) {
	case 0: x_TQDragMoveEvent::x_0(args);	break;
	case 1: x_TQDragMoveEvent::x_1(args);	break;
	case 2: xself->x_2(args);	break;
	case 3: xself->x_3(args);	break;
	case 4: xself->x_4(args);	break;
	case 5: xself->x_5(args);	break;
	case 6: xself->x_6(args);	break;
	case 7: xself->x_7(args);	break;
	case 8: x_TQDragMoveEvent::x_8(args);	break;
	case 9: delete (TQDragMoveEvent*)xself;	break;
    }
}

