PythonQtWrapper_QDomNode.h
91 lines
| 5.6 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QDOMNODE_H | ||
#define PYTHONQTWRAPPER_QDOMNODE_H | ||||
#include <qdom.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #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; } | ||||
florianlink
|
r28 | QDomDocumentFragment toDocumentFragment(QDomNode* theWrappedObject) const; | ||
florianlink
|
r24 | QDomCDATASection toCDATASection(QDomNode* theWrappedObject) const; | ||
florianlink
|
r28 | bool hasChildNodes(QDomNode* theWrappedObject) const; | ||
bool isDocumentFragment(QDomNode* theWrappedObject) const; | ||||
florianlink
|
r24 | bool isText(QDomNode* theWrappedObject) const; | ||
florianlink
|
r28 | bool isCharacterData(QDomNode* theWrappedObject) const; | ||
QDomNode appendChild(QDomNode* theWrappedObject, const QDomNode& newChild); | ||||
bool isElement(QDomNode* theWrappedObject) const; | ||||
florianlink
|
r24 | QDomElement lastChildElement(QDomNode* theWrappedObject, const QString& tagName = QString()) const; | ||
florianlink
|
r28 | 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; | ||||
florianlink
|
r24 | QDomNode namedItem(QDomNode* theWrappedObject, const QString& name) const; | ||
florianlink
|
r28 | 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; | ||||
florianlink
|
r24 | QDomNode cloneNode(QDomNode* theWrappedObject, bool deep = true) const; | ||
bool isDocumentType(QDomNode* theWrappedObject) const; | ||||
florianlink
|
r28 | QDomNode parentNode(QDomNode* theWrappedObject) const; | ||
QDomNode insertAfter(QDomNode* theWrappedObject, const QDomNode& newChild, const QDomNode& refChild); | ||||
florianlink
|
r24 | void setPrefix(QDomNode* theWrappedObject, const QString& pre); | ||
QDomComment toComment(QDomNode* theWrappedObject) const; | ||||
florianlink
|
r28 | 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; | ||||
florianlink
|
r13 | void normalize(QDomNode* theWrappedObject); | ||
florianlink
|
r24 | QDomProcessingInstruction toProcessingInstruction(QDomNode* theWrappedObject) const; | ||
QDomNode lastChild(QDomNode* theWrappedObject) const; | ||||
florianlink
|
r28 | QDomCharacterData toCharacterData(QDomNode* theWrappedObject) const; | ||
QDomNode firstChild(QDomNode* theWrappedObject) const; | ||||
florianlink
|
r24 | QDomDocument ownerDocument(QDomNode* theWrappedObject) const; | ||
florianlink
|
r28 | QString prefix(QDomNode* theWrappedObject) const; | ||
QDomElement toElement(QDomNode* theWrappedObject) const; | ||||
QDomNotation toNotation(QDomNode* theWrappedObject) const; | ||||
florianlink
|
r24 | void clear(QDomNode* theWrappedObject); | ||
void save(QDomNode* theWrappedObject, QTextStream& arg__1, int arg__2, QDomNode::EncodingPolicy arg__3) const; | ||||
florianlink
|
r28 | QDomNode nextSibling(QDomNode* theWrappedObject) const; | ||
bool isDocument(QDomNode* theWrappedObject) const; | ||||
bool isEntity(QDomNode* theWrappedObject) const; | ||||
QDomEntity toEntity(QDomNode* theWrappedObject) const; | ||||
florianlink
|
r24 | bool isEntityReference(QDomNode* theWrappedObject) const; | ||
florianlink
|
r28 | 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; | ||||
florianlink
|
r24 | void writeTo(QDomNode* theWrappedObject, QTextStream& arg__1); | ||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QDOMNODE_H | ||||