##// 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_QDomNode.h
91 lines | 5.6 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QDOMNODE_H
#define PYTHONQTWRAPPER_QDOMNODE_H
#include <qdom.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
#include <qdom.h>
#include <qtextstream.h>
class PythonQtWrapper_QDomNode : public QObject
{ Q_OBJECT
public:
Q_ENUMS(NodeType EncodingPolicy )
enum NodeType{
ElementNode = QDomNode::ElementNode, AttributeNode = QDomNode::AttributeNode, TextNode = QDomNode::TextNode, CDATASectionNode = QDomNode::CDATASectionNode, EntityReferenceNode = QDomNode::EntityReferenceNode, EntityNode = QDomNode::EntityNode, ProcessingInstructionNode = QDomNode::ProcessingInstructionNode, CommentNode = QDomNode::CommentNode, DocumentNode = QDomNode::DocumentNode, DocumentTypeNode = QDomNode::DocumentTypeNode, DocumentFragmentNode = QDomNode::DocumentFragmentNode, NotationNode = QDomNode::NotationNode, BaseNode = QDomNode::BaseNode, CharacterDataNode = QDomNode::CharacterDataNode};
enum EncodingPolicy{
EncodingFromDocument = QDomNode::EncodingFromDocument, EncodingFromTextStream = QDomNode::EncodingFromTextStream};
public slots:
QDomNode* new_QDomNode();
QDomNode* new_QDomNode(const QDomNode& arg__1);
void delete_QDomNode(QDomNode* obj) { delete obj; }
QDomDocumentFragment toDocumentFragment(QDomNode* theWrappedObject) const;
QDomCDATASection toCDATASection(QDomNode* theWrappedObject) const;
bool hasChildNodes(QDomNode* theWrappedObject) const;
bool isDocumentFragment(QDomNode* theWrappedObject) const;
bool isText(QDomNode* theWrappedObject) const;
bool isCharacterData(QDomNode* theWrappedObject) const;
QDomNode appendChild(QDomNode* theWrappedObject, const QDomNode& newChild);
bool isElement(QDomNode* theWrappedObject) const;
QDomElement lastChildElement(QDomNode* theWrappedObject, const QString& tagName = QString()) const;
QDomNode::NodeType nodeType(QDomNode* theWrappedObject) const;
QDomEntityReference toEntityReference(QDomNode* theWrappedObject) const;
QDomElement nextSiblingElement(QDomNode* theWrappedObject, const QString& taName = QString()) const;
bool isNotation(QDomNode* theWrappedObject) const;
QDomAttr toAttr(QDomNode* theWrappedObject) const;
bool isCDATASection(QDomNode* theWrappedObject) const;
QDomNode replaceChild(QDomNode* theWrappedObject, const QDomNode& newChild, const QDomNode& oldChild);
bool operator_equal(QDomNode* theWrappedObject, const QDomNode& arg__1) const;
QDomElement previousSiblingElement(QDomNode* theWrappedObject, const QString& tagName = QString()) const;
QDomNodeList childNodes(QDomNode* theWrappedObject) const;
bool hasAttributes(QDomNode* theWrappedObject) const;
QDomElement firstChildElement(QDomNode* theWrappedObject, const QString& tagName = QString()) const;
QDomNode namedItem(QDomNode* theWrappedObject, const QString& name) const;
QDomNode removeChild(QDomNode* theWrappedObject, const QDomNode& oldChild);
void setNodeValue(QDomNode* theWrappedObject, const QString& arg__1);
bool isSupported(QDomNode* theWrappedObject, const QString& feature, const QString& version) const;
void save(QDomNode* theWrappedObject, QTextStream& arg__1, int arg__2) const;
bool isAttr(QDomNode* theWrappedObject) const;
bool isProcessingInstruction(QDomNode* theWrappedObject) const;
QDomNode cloneNode(QDomNode* theWrappedObject, bool deep = true) const;
bool isDocumentType(QDomNode* theWrappedObject) const;
QDomNode parentNode(QDomNode* theWrappedObject) const;
QDomNode insertAfter(QDomNode* theWrappedObject, const QDomNode& newChild, const QDomNode& refChild);
void setPrefix(QDomNode* theWrappedObject, const QString& pre);
QDomComment toComment(QDomNode* theWrappedObject) const;
bool isNull(QDomNode* theWrappedObject) const;
QString localName(QDomNode* theWrappedObject) const;
bool isComment(QDomNode* theWrappedObject) const;
int lineNumber(QDomNode* theWrappedObject) const;
QDomNode previousSibling(QDomNode* theWrappedObject) const;
void normalize(QDomNode* theWrappedObject);
QDomProcessingInstruction toProcessingInstruction(QDomNode* theWrappedObject) const;
QDomNode lastChild(QDomNode* theWrappedObject) const;
QDomCharacterData toCharacterData(QDomNode* theWrappedObject) const;
QDomNode firstChild(QDomNode* theWrappedObject) const;
QDomDocument ownerDocument(QDomNode* theWrappedObject) const;
QString prefix(QDomNode* theWrappedObject) const;
QDomElement toElement(QDomNode* theWrappedObject) const;
QDomNotation toNotation(QDomNode* theWrappedObject) const;
void clear(QDomNode* theWrappedObject);
void save(QDomNode* theWrappedObject, QTextStream& arg__1, int arg__2, QDomNode::EncodingPolicy arg__3) const;
QDomNode nextSibling(QDomNode* theWrappedObject) const;
bool isDocument(QDomNode* theWrappedObject) const;
bool isEntity(QDomNode* theWrappedObject) const;
QDomEntity toEntity(QDomNode* theWrappedObject) const;
bool isEntityReference(QDomNode* theWrappedObject) const;
QDomNode insertBefore(QDomNode* theWrappedObject, const QDomNode& newChild, const QDomNode& refChild);
QString namespaceURI(QDomNode* theWrappedObject) const;
QDomDocumentType toDocumentType(QDomNode* theWrappedObject) const;
int columnNumber(QDomNode* theWrappedObject) const;
QString nodeValue(QDomNode* theWrappedObject) const;
QString nodeName(QDomNode* theWrappedObject) const;
QDomDocument toDocument(QDomNode* theWrappedObject) const;
QDomText toText(QDomNode* theWrappedObject) const;
void writeTo(QDomNode* theWrappedObject, QTextStream& arg__1);
};
#endif // PYTHONQTWRAPPER_QDOMNODE_H