PythonQtWrapper_QDomElement.h
48 lines
| 2.9 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QDOMELEMENT_H | ||
#define PYTHONQTWRAPPER_QDOMELEMENT_H | ||||
#include <qdom.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #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; } | ||||
florianlink
|
r28 | void removeAttribute(QDomElement* theWrappedObject, const QString& name); | ||
QString tagName(QDomElement* theWrappedObject) const; | ||||
florianlink
|
r13 | void setAttribute(QDomElement* theWrappedObject, const QString& name, qlonglong value); | ||
void setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, const QString& value); | ||||
florianlink
|
r24 | QDomAttr attributeNodeNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName); | ||
florianlink
|
r28 | QString attributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& localName, const QString& defValue = QString()) const; | ||
florianlink
|
r24 | 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); | ||||
florianlink
|
r13 | QString text(QDomElement* theWrappedObject) const; | ||
florianlink
|
r28 | void removeAttributeNS(QDomElement* theWrappedObject, const QString& nsURI, const QString& localName); | ||
florianlink
|
r24 | 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); | ||||
florianlink
|
r28 | 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); | ||||
florianlink
|
r73 | void setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, double value); | ||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QDOMELEMENT_H | ||||