Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
src_xml_dom_qdom.cpp File Reference
#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 QDomNode::appendChild(), QFileDevice::close(), QDomDocument::createElement(), QDomDocument::documentElement(), e, file, QDomNode::firstChild(), QFile::open(), qPrintable, QIODeviceBase::ReadOnly, QDomElement::setAttribute(), and QDomDocument::setContent().

+ 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, d, e, and qPrintable.

◆ 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: