QtBase
v6.3.1
|
The QXmlStreamNamespaceDeclaration class represents a namespace declaration. More...
#include <qxmlstream.h>
Public Member Functions | |
QXmlStreamNamespaceDeclaration () | |
QXmlStreamNamespaceDeclaration (const QString &prefix, const QString &namespaceUri) | |
QStringView | prefix () const |
QStringView | namespaceUri () const |
bool | operator== (const QXmlStreamNamespaceDeclaration &other) const |
bool | operator!= (const QXmlStreamNamespaceDeclaration &other) const |
Friends | |
class | QXmlStreamReaderPrivate |
Related Functions | |
(Note that these are not member functions.) | |
QXmlStreamNamespaceDeclarations | |
The QXmlStreamNamespaceDeclaration class represents a namespace declaration.
\inmodule QtCore
An namespace declaration consists of a prefix() and a namespaceUri().
Definition at line 140 of file qxmlstream.h.
QXmlStreamNamespaceDeclaration::QXmlStreamNamespaceDeclaration | ( | ) |
Creates an empty namespace declaration.
Definition at line 2475 of file qxmlstream.cpp.
QXmlStreamNamespaceDeclaration::QXmlStreamNamespaceDeclaration | ( | const QString & | prefix, |
const QString & | namespaceUri | ||
) |
Creates a namespace declaration with prefix and namespaceUri.
Definition at line 2484 of file qxmlstream.cpp.
|
inline |
Returns the namespaceUri.
Definition at line 149 of file qxmlstream.h.
|
inline |
Compares this namespace declaration with other and returns true
if they are not equal; otherwise returns false
.
Definition at line 153 of file qxmlstream.h.
|
inline |
Compares this namespace declaration with other and returns true
if they are equal; otherwise returns false
.
Definition at line 150 of file qxmlstream.h.
|
inline |
Returns the prefix.
Definition at line 148 of file qxmlstream.h.
|
related |
Synonym for QList<QXmlStreamNamespaceDeclaration>.
Definition at line 158 of file qxmlstream.h.
|
friend |
Definition at line 143 of file qxmlstream.h.