The QXmlStreamNamespaceDeclaration class represents a namespace declaration.
More...
The QXmlStreamNamespaceDeclaration class represents a namespace declaration. An namespace declaration consists of a prefix() and a namespaceUri().
QXmlStreamNamespaceDeclaration::QXmlStreamNamespaceDeclaration |
( |
| ) |
|
Creates an empty namespace declaration.
QXmlStreamNamespaceDeclaration::QXmlStreamNamespaceDeclaration |
( |
const QString & |
prefix, |
|
|
const QString & |
namespaceUri |
|
) |
| |
Creates a namespace declaration with prefix and namespaceUri.
QXmlStreamNamespaceDeclaration::QXmlStreamNamespaceDeclaration |
( |
const QXmlStreamNamespaceDeclaration & |
other | ) |
|
QXmlStreamNamespaceDeclaration::~QXmlStreamNamespaceDeclaration |
( |
| ) |
|
Destructs this namespace declaration.
QStringView QXmlStreamNamespaceDeclaration::namespaceUri |
( |
| ) |
const |
|
inline |
bool QXmlStreamNamespaceDeclaration::operator!= |
( |
const QXmlStreamNamespaceDeclaration & |
other | ) |
const |
|
inline |
Compares this namespace declaration with other and returns true if they are not equal, otherwise returns false.
QXmlStreamNamespaceDeclaration & QXmlStreamNamespaceDeclaration::operator= |
( |
const QXmlStreamNamespaceDeclaration & |
other | ) |
|
Copy assigns from other and returns a reference to this object.
bool QXmlStreamNamespaceDeclaration::operator== |
( |
const QXmlStreamNamespaceDeclaration & |
other | ) |
const |
|
inline |
Compares this namespace declaration with other and returns true if they are equal, otherwise returns false.
QStringView QXmlStreamNamespaceDeclaration::prefix |
( |
| ) |
const |
|
inline |