QXmlStreamNamespaceDeclaration 类表示名称空间声明。 更多...
| 头: |
#include <QXmlStreamNamespaceDeclaration>
|
| CMake: |
find_package(Qt6 REQUIRED COMPONENTS Core)
target_link_libraries(mytarget PRIVATE Qt6::Core)
|
| qmake: |
QT += core
|
此类 equality-comparable .
注意: 此类的所有函数 可重入 .
| QXmlStreamNamespaceDeclaration () | |
| QXmlStreamNamespaceDeclaration (const QString & prefix , const QString & namespaceUri ) | |
| QStringView | namespaceUri () const |
| QStringView | prefix () const |
| QXmlStreamNamespaceDeclarations | |
| bool | operator!= (const QXmlStreamNamespaceDeclaration & lhs , const QXmlStreamNamespaceDeclaration & rhs ) |
| bool | operator== (const QXmlStreamNamespaceDeclaration & lhs , const QXmlStreamNamespaceDeclaration & rhs ) |
An namespace declaration consists of a prefix () 和 namespaceUri ().
Creates an empty namespace declaration.
Creates a namespace declaration with prefix and namespaceUri .
Returns the namespaceUri.
Returns the prefix.
同义词 QList < QXmlStreamNamespaceDeclaration >.
[noexcept]
bool
operator!=
(const
QXmlStreamNamespaceDeclaration
&
lhs
, const
QXmlStreamNamespaceDeclaration
&
rhs
)
比较
lhs
namespace declaration with
rhs
并返回
true
if they are not equal; otherwise returns
false
.
[noexcept]
bool
operator==
(const
QXmlStreamNamespaceDeclaration
&
lhs
, const
QXmlStreamNamespaceDeclaration
&
rhs
)
比较
lhs
namespace declaration with
rhs
并返回
true
if they are equal; otherwise returns
false
.