Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <iostream>
#include <cstring>
#include <QFile>
#include <QDomDocument>
#include <QDomImplementation>
Go to the source code of this file.
Functions | |
void | NodeElements () |
[0] | |
void | DomText () |
void | FirstElement () |
void | FileContent () |
void | DocAppend () |
void | XML_snippet_main () |
[0] | |
void DocAppend | ( | ) |
[17]
[17]
Definition at line 126 of file src_xml_dom_qdom.cpp.
References QDomNode::appendChild(), QDomDocument::createElement(), QDomDocument::createTextNode(), tag, QDomDocument::toString(), and xml.
void DomText | ( | ) |
[10]
[10]
Definition at line 77 of file src_xml_dom_qdom.cpp.
References QString::data(), QDomDocument::documentElement(), QDomNode::firstChild(), text, and QDomNode::toText().
void FileContent | ( | ) |
[16]
[16]
Definition at line 93 of file src_xml_dom_qdom.cpp.
References QFileDevice::close(), QDomDocument::createElement(), QDomDocument::documentElement(), file, QDomNode::firstChild(), QDomNode::isNull(), QFile::open(), qPrintable, QIODeviceBase::ReadOnly, QDomElement::setAttribute(), QDomDocument::setContent(), QDomElement::tagName(), and QDomNode::toElement().
void FirstElement | ( | ) |
void NodeElements | ( | ) |
[0]
[1]
[1]
[2]
[2]
[3]
[3]
[8]
[8]
Definition at line 37 of file src_xml_dom_qdom.cpp.
References a2, QDomElement::attributeNode(), d, QDomNode::firstChild(), qPrintable, QDomElement::tagName(), and QDomNode::toElement().
void XML_snippet_main | ( | ) |
[0]
Definition at line 18 of file src_xml_dom_qdom.cpp.
References QDomImplementation::AcceptInvalidChars, QDomDocument::createElement(), QDomImplementation::DropInvalidChars, QDomImplementation::ReturnNullNode, and QDomImplementation::setInvalidDataPolicy().