The QXmlStreamNamespaceDeclaration class represents a namespace declaration. More...
Header: | #include <QXmlStreamNamespaceDeclaration> |
CMake: | find_package(Qt6 COMPONENTS Core REQUIRED) target_link_libraries(mytarget PRIVATE Qt6::Core) |
qmake: | QT += core |
Note: All functions in this class are reentrant.
QXmlStreamNamespaceDeclaration(const QString &prefix, const QString &namespaceUri) | |
QXmlStreamNamespaceDeclaration() | |
QStringView | namespaceUri() const |
QStringView | prefix() const |
bool | operator!=(const QXmlStreamNamespaceDeclaration &other) const |
bool | operator==(const QXmlStreamNamespaceDeclaration &other) const |
QXmlStreamNamespaceDeclarations |
An namespace declaration consists of a prefix() and a namespaceUri().
Creates a namespace declaration with prefix and namespaceUri.
Creates an empty namespace declaration.
Returns the namespaceUri.
Returns the prefix.
Compares this namespace declaration with other and returns true
if they are not equal; otherwise returns false
.
Compares this namespace declaration with other and returns true
if they are equal; otherwise returns false
.
Synonym for QList<QXmlStreamNamespaceDeclaration>.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qxmlstreamnamespacedeclaration.html