PythonQtWrapper_QDomElement.h
46 lines
| 2.9 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QDOMELEMENT_H | ||
#define PYTHONQTWRAPPER_QDOMELEMENT_H | ||||
#include <qdom.h> | ||||
#include <QObject> | ||||
#include <QVariant> | ||||
#include <qdom.h> | ||||
#include <qtextstream.h> | ||||
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; } | ||||
QString attribute(QDomElement* theWrappedObject, const QString& name, const QString& defValue = QString()) const; | ||||
QString attributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& localName, const QString& defValue = QString()) const; | ||||
QDomAttr attributeNode(QDomElement* theWrappedObject, const QString& name); | ||||
QDomAttr attributeNodeNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName); | ||||
QDomNamedNodeMap attributes(QDomElement* theWrappedObject) const; | ||||
QDomNodeList elementsByTagName(QDomElement* theWrappedObject, const QString& tagname) const; | ||||
QDomNodeList elementsByTagNameNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName) const; | ||||
bool hasAttribute(QDomElement* theWrappedObject, const QString& name) const; | ||||
bool hasAttributeNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName) const; | ||||
void removeAttribute(QDomElement* theWrappedObject, const QString& name); | ||||
void removeAttributeNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName); | ||||
QDomAttr removeAttributeNode(QDomElement* theWrappedObject, const QDomAttr& oldAttr); | ||||
void setAttribute(QDomElement* theWrappedObject, const QString& name, const QString& value); | ||||
void setAttribute(QDomElement* theWrappedObject, const QString& name, double value); | ||||
void setAttribute(QDomElement* theWrappedObject, const QString& name, float value); | ||||
void setAttribute(QDomElement* theWrappedObject, const QString& name, int value); | ||||
void setAttribute(QDomElement* theWrappedObject, const QString& name, qlonglong value); | ||||
void setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, const QString& value); | ||||
void setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, double value); | ||||
void setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, int value); | ||||
void setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, qlonglong value); | ||||
QDomAttr setAttributeNode(QDomElement* theWrappedObject, const QDomAttr& newAttr); | ||||
QDomAttr setAttributeNodeNS(QDomElement* theWrappedObject, const QDomAttr& newAttr); | ||||
void setTagName(QDomElement* theWrappedObject, const QString& name); | ||||
QString tagName(QDomElement* theWrappedObject) const; | ||||
QString text(QDomElement* theWrappedObject) const; | ||||
}; | ||||
#endif // PYTHONQTWRAPPER_QDOMELEMENT_H | ||||