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>.
Loading...
Searching...
No Matches
src_xml_dom_qdom.cpp File Reference

(69d4ecd6ef9057cb3703178277042ff7a7411459)

#include <iostream>
#include <cstring>
#include <QFile>
#include <QDomDocument>
#include <QDomImplementation>
+ Include dependency graph for src_xml_dom_qdom.cpp:

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]
 

Function Documentation

◆ DocAppend()

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.

+ Here is the call graph for this function:

◆ DomText()

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().

+ Here is the call graph for this function:

◆ FileContent()

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().

+ Here is the call graph for this function:

◆ FirstElement()

void FirstElement ( )

◆ NodeElements()

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().

+ Here is the call graph for this function:

◆ XML_snippet_main()

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().

+ Here is the call graph for this function: