##// END OF EJS Templates
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes...
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@70 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r34:5daedfb035c8
Show More
PythonQtWrapper_QDomElement.h
48 lines | 2.9 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QDOMELEMENT_H
#define PYTHONQTWRAPPER_QDOMELEMENT_H
#include <qdom.h>
#include <QObject>
#include <PythonQt.h>
#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; }
void setAttributeNS(QDomElement* theWrappedObject, const QString nsURI, const QString& qName, double value);
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);
};
#endif // PYTHONQTWRAPPER_QDOMELEMENT_H