Qt
6.x
The Qt SDK
Loading...
Searching...
No Matches
src_corelib_xml_qxmlstream.cpp
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3
5
QXmlStreamReader
xml
;
6
...
7
while
(!
xml
.atEnd()) {
8
xml
.readNext();
9
...
// do processing
10
}
11
if
(
xml
.hasError()) {
12
...
// do error handling
13
}
15
16
18
writeStartElement
(qualifiedName);
19
writeCharacters
(
text
);
20
writeEndElement
();
22
23
25
writeStartElement
(namespaceUri,
name
);
26
writeCharacters
(
text
);
27
writeEndElement
();
29
30
text
QString text
Definition
doc_src_properties.cpp:102
name
GLuint name
Definition
qopengles2ext.h:156
writeEndElement
writeEndElement()
writeCharacters
writeCharacters(text)
writeStartElement
writeStartElement(qualifiedName)
[0]
xml
QXmlStreamReader xml
[0]
Definition
src_corelib_xml_qxmlstream.cpp:5
qtbase
src
corelib
doc
snippets
code
src_corelib_xml_qxmlstream.cpp
Generated by
1.9.7