#ifndef PYTHONQTWRAPPER_QDOMELEMENT_H #define PYTHONQTWRAPPER_QDOMELEMENT_H #include #include #include #include #include #include class PythonQtWrapper_QDomElement : public QObject { Q_OBJECT public: public slots: QDomElement* new_QDomElement(); QDomElement* new_QDomElement(const QDomElement& x); void delete_QDomElement(QDomElement* obj) { delete obj; } void removeAttribute(QDomElement* theWrappedObject, const QString& name); QString tagName(QDomElement* theWrappedObject) const; void setAttribute(QDomElement* theWrappedObject, const QString& name, qlonglong value); void setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, const QString& value); QDomAttr attributeNodeNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName); QString attributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& localName, const QString& defValue = QString()) const; void setAttribute(QDomElement* theWrappedObject, const QString& name, const QString& value); void setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, int value); QDomAttr attributeNode(QDomElement* theWrappedObject, const QString& name); bool hasAttributeNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName) const; void setAttribute(QDomElement* theWrappedObject, const QString& name, float value); QString text(QDomElement* theWrappedObject) const; void removeAttributeNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName); QDomAttr removeAttributeNode(QDomElement* theWrappedObject, const QDomAttr& oldAttr); void setAttribute(QDomElement* theWrappedObject, const QString& name, double value); QDomNamedNodeMap attributes(QDomElement* theWrappedObject) const; void setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, qlonglong value); void setTagName(QDomElement* theWrappedObject, const QString& name); QDomNodeList elementsByTagName(QDomElement* theWrappedObject, const QString& tagname) const; void setAttribute(QDomElement* theWrappedObject, const QString& name, int value); bool hasAttribute(QDomElement* theWrappedObject, const QString& name) const; QString attribute(QDomElement* theWrappedObject, const QString& name, const QString& defValue = QString()) const; QDomNodeList elementsByTagNameNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName) const; QDomAttr setAttributeNode(QDomElement* theWrappedObject, const QDomAttr& newAttr); QDomAttr setAttributeNodeNS(QDomElement* theWrappedObject, const QDomAttr& newAttr); void setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, double value); }; #endif // PYTHONQTWRAPPER_QDOMELEMENT_H