#include #include "com_trolltech_qt_xml0.h" #include "com_trolltech_qt_xml1.h" void PythonQt_init_QtXml(PyObject* module) { PythonQt::priv()->registerCPPClass("QDomAttr", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QDomCDATASection", "QDomText", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QDomCharacterData", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QDomComment", "QDomCharacterData", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QDomDocument", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QDomDocumentFragment", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QDomDocumentType", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QDomElement", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QDomEntity", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QDomEntityReference", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QDomImplementation", "", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QDomNamedNodeMap", "", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QDomNode", "", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QDomNodeList", "", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QDomNotation", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QDomProcessingInstruction", "QDomNode", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QDomText", "QDomCharacterData", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QXmlAttributes", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QXmlContentHandler", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QXmlDTDHandler", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QXmlDeclHandler", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QXmlDefaultHandler", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::self()->addParentClass("QXmlDefaultHandler", "QXmlContentHandler",PythonQtUpcastingOffset()); PythonQt::self()->addParentClass("QXmlDefaultHandler", "QXmlErrorHandler",PythonQtUpcastingOffset()); PythonQt::self()->addParentClass("QXmlDefaultHandler", "QXmlDTDHandler",PythonQtUpcastingOffset()); PythonQt::self()->addParentClass("QXmlDefaultHandler", "QXmlEntityResolver",PythonQtUpcastingOffset()); PythonQt::self()->addParentClass("QXmlDefaultHandler", "QXmlLexicalHandler",PythonQtUpcastingOffset()); PythonQt::self()->addParentClass("QXmlDefaultHandler", "QXmlDeclHandler",PythonQtUpcastingOffset()); PythonQt::priv()->registerCPPClass("QXmlEntityResolver", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QXmlErrorHandler", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QXmlInputSource", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QXmlLexicalHandler", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QXmlLocator", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QXmlParseException", "", "QtXml", PythonQtCreateObject, NULL, module, 0); PythonQt::priv()->registerCPPClass("QXmlReader", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QXmlSimpleReader", "QXmlReader", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QXmlStreamAttribute", "", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QXmlStreamAttributes", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_RichCompare|PythonQt::Type_Add); PythonQt::priv()->registerCPPClass("QXmlStreamEntityDeclaration", "", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QXmlStreamNamespaceDeclaration", "", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QXmlStreamNotationDeclaration", "", "QtXml", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QXmlStreamReader", "", "QtXml", PythonQtCreateObject, NULL, module, 0); PythonQt::priv()->registerCPPClass("QXmlStreamWriter", "", "QtXml", PythonQtCreateObject, NULL, module, 0); }