#include #include "PythonQtWrapper_QDomNamedNodeMap.h" #include "PythonQtWrapper_QXmlInputSource.h" #include "PythonQtWrapper_QDomNodeList.h" #include "PythonQtWrapper_QXmlLexicalHandler.h" #include "PythonQtWrapper_QXmlDTDHandler.h" #include "PythonQtWrapper_QXmlEntityResolver.h" #include "PythonQtWrapper_QDomImplementation.h" #include "PythonQtWrapper_QXmlReader.h" #include "PythonQtWrapper_QXmlContentHandler.h" #include "PythonQtWrapper_QXmlParseException.h" #include "PythonQtWrapper_QXmlAttributes.h" #include "PythonQtWrapper_QXmlErrorHandler.h" #include "PythonQtWrapper_QXmlDeclHandler.h" #include "PythonQtWrapper_QDomNode.h" #include "PythonQtWrapper_QXmlLocator.h" #include "PythonQtWrapper_QXmlDefaultHandler.h" #include "PythonQtWrapper_QDomDocumentType.h" #include "PythonQtWrapper_QDomAttr.h" #include "PythonQtWrapper_QDomDocument.h" #include "PythonQtWrapper_QDomCharacterData.h" #include "PythonQtWrapper_QXmlSimpleReader.h" #include "PythonQtWrapper_QDomDocumentFragment.h" #include "PythonQtWrapper_QDomElement.h" #include "PythonQtWrapper_QDomEntity.h" #include "PythonQtWrapper_QDomEntityReference.h" #include "PythonQtWrapper_QDomNotation.h" #include "PythonQtWrapper_QDomProcessingInstruction.h" #include "PythonQtWrapper_QDomText.h" #include "PythonQtWrapper_QDomComment.h" #include "PythonQtWrapper_QDomCDATASection.h" void PythonQt_init_QtXml() { PythonQt::self()->registerCPPClass("QDomNamedNodeMap", "", "QtXml", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QXmlInputSource", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QDomNodeList", "", "QtXml", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QXmlLexicalHandler", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QXmlDTDHandler", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QXmlEntityResolver", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QDomImplementation", "", "QtXml", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QXmlReader", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QXmlContentHandler", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QXmlParseException", "", "QtXml", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QXmlAttributes", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QXmlErrorHandler", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QXmlDeclHandler", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QDomNode", "", "QtXml", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QXmlLocator", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QXmlDefaultHandler", "", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); 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::self()->registerCPPClass("QDomDocumentType", "QDomNode", "QtXml", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QDomAttr", "QDomNode", "QtXml", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QDomDocument", "QDomNode", "QtXml", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QDomCharacterData", "QDomNode", "QtXml", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QXmlSimpleReader", "QXmlReader", "QtXml", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QDomDocumentFragment", "QDomNode", "QtXml", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QDomElement", "QDomNode", "QtXml", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QDomEntity", "QDomNode", "QtXml", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QDomEntityReference", "QDomNode", "QtXml", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QDomNotation", "QDomNode", "QtXml", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QDomProcessingInstruction", "QDomNode", "QtXml", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QDomText", "QDomCharacterData", "QtXml", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QDomComment", "QDomCharacterData", "QtXml", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QDomCDATASection", "QDomText", "QtXml", PythonQtCreateObject); }