QXmlStreamNamespaceDeclaration 类表示名称空间声明。 更多...
头: | #include <QXmlStreamNamespaceDeclaration> |
CMake: |
find_package(Qt6 REQUIRED COMPONENTS Core)
target_link_libraries(mytarget PRIVATE Qt6::Core) |
qmake: | QT += core |
注意: 此类的所有函数 可重入 .
QXmlStreamNamespaceDeclaration () | |
QXmlStreamNamespaceDeclaration (const QString & prefix , const QString & namespaceUri ) | |
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 () 和 namespaceUri ().
Creates an empty namespace declaration.
Creates a namespace declaration with prefix and namespaceUri .
Returns the namespaceUri.
Returns the prefix.
Compares this namespace declaration with
other
并返回
true
if they are not equal; otherwise returns
false
.
Compares this namespace declaration with
other
并返回
true
if they are equal; otherwise returns
false
.
同义词 QList < QXmlStreamNamespaceDeclaration >.