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_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);
22
23
25 writeStartElement(namespaceUri, name);
29
30
QString text
GLuint name
writeEndElement()
writeCharacters(text)
writeStartElement(qualifiedName)
[0]
QXmlStreamReader xml
[0]