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
若它們不相等;否則返迴
false
.
Compares this namespace declaration with
other
並返迴
true
若它們相等;否則返迴
false
.
同義詞 QList < QXmlStreamNamespaceDeclaration >.