#ifndef PYTHONQTWRAPPER_QDOMDOCUMENT_H #define PYTHONQTWRAPPER_QDOMDOCUMENT_H #include #include #include #include #include #include #include #include #include class PythonQtWrapper_QDomDocument : public QObject { Q_OBJECT public: public slots: QDomDocument* new_QDomDocument(); QDomDocument* new_QDomDocument(const QDomDocument& x); QDomDocument* new_QDomDocument(const QDomDocumentType& doctype); QDomDocument* new_QDomDocument(const QString& name); void delete_QDomDocument(QDomDocument* obj) { delete obj; } bool setContent(QDomDocument* theWrappedObject, const QByteArray& text, QString* errorMsg = 0, int* errorLine = 0, int* errorColumn = 0); QDomElement createElement(QDomDocument* theWrappedObject, const QString& tagName); QDomAttr createAttribute(QDomDocument* theWrappedObject, const QString& name); QDomDocumentFragment createDocumentFragment(QDomDocument* theWrappedObject); QDomNodeList elementsByTagName(QDomDocument* theWrappedObject, const QString& tagname) const; bool setContent(QDomDocument* theWrappedObject, const QString& text, QString* errorMsg = 0, int* errorLine = 0, int* errorColumn = 0); QDomCDATASection createCDATASection(QDomDocument* theWrappedObject, const QString& data); QDomNode importNode(QDomDocument* theWrappedObject, const QDomNode& importedNode, bool deep); bool setContent(QDomDocument* theWrappedObject, QXmlInputSource* source, QXmlReader* reader, QString* errorMsg = 0, int* errorLine = 0, int* errorColumn = 0); QDomText createTextNode(QDomDocument* theWrappedObject, const QString& data); QDomComment createComment(QDomDocument* theWrappedObject, const QString& data); QDomAttr createAttributeNS(QDomDocument* theWrappedObject, const QString& nsURI, const QString& qName); QByteArray toByteArray(QDomDocument* theWrappedObject, int arg__1 = 1) const; QDomNodeList elementsByTagNameNS(QDomDocument* theWrappedObject, const QString& nsURI, const QString& localName); QDomElement documentElement(QDomDocument* theWrappedObject) const; QDomProcessingInstruction createProcessingInstruction(QDomDocument* theWrappedObject, const QString& target, const QString& data); QDomDocumentType doctype(QDomDocument* theWrappedObject) const; QDomEntityReference createEntityReference(QDomDocument* theWrappedObject, const QString& name); bool setContent(QDomDocument* theWrappedObject, const QByteArray& text, bool namespaceProcessing, QString* errorMsg = 0, int* errorLine = 0, int* errorColumn = 0); bool setContent(QDomDocument* theWrappedObject, const QString& text, bool namespaceProcessing, QString* errorMsg = 0, int* errorLine = 0, int* errorColumn = 0); QString toString(QDomDocument* theWrappedObject, int arg__1 = 1) const; bool setContent(QDomDocument* theWrappedObject, QIODevice* dev, bool namespaceProcessing, QString* errorMsg = 0, int* errorLine = 0, int* errorColumn = 0); QDomElement elementById(QDomDocument* theWrappedObject, const QString& elementId); bool setContent(QDomDocument* theWrappedObject, QIODevice* dev, QString* errorMsg = 0, int* errorLine = 0, int* errorColumn = 0); QDomImplementation implementation(QDomDocument* theWrappedObject) const; QDomElement createElementNS(QDomDocument* theWrappedObject, const QString& nsURI, const QString& qName); }; #endif // PYTHONQTWRAPPER_QDOMDOCUMENT_H