The QXmlStreamNamespaceDeclaration class represents a namespace declaration. 更多...
| 頭: | #include <QXmlStreamNamespaceDeclaration> |
| qmake: | QT += core |
| Since: | Qt 4.3 |
注意: 此類的所有函數 可重入 .
| QXmlStreamNamespaceDeclaration () | |
| QXmlStreamNamespaceDeclaration (const QXmlStreamNamespaceDeclaration & other ) | |
| QXmlStreamNamespaceDeclaration (QXmlStreamNamespaceDeclaration && other ) | |
| QXmlStreamNamespaceDeclaration (const QString & prefix , const QString & namespaceUri ) | |
| ~QXmlStreamNamespaceDeclaration () | |
| QStringRef | namespaceUri () const |
| QStringRef | prefix () const |
| bool | operator!= (const QXmlStreamNamespaceDeclaration & other ) const |
| QXmlStreamNamespaceDeclaration & | operator= (QXmlStreamNamespaceDeclaration && other ) |
| QXmlStreamNamespaceDeclaration & | operator= (const QXmlStreamNamespaceDeclaration & other ) |
| bool | operator== (const QXmlStreamNamespaceDeclaration & other ) const |
| typedef | QXmlStreamNamespaceDeclarations |
The QXmlStreamNamespaceDeclaration class represents a namespace declaration.
An namespace declaration consists of a prefix () 和 namespaceUri ().
Creates an empty namespace declaration.
創建副本為 other .
移動拷貝構造函數。
Creates a namespace declaration with prefix and namespaceUri .
該函數在 Qt 4.4 引入。
Destructs this namespace declaration.
Returns the namespaceUri.
Returns the prefix.
Compares this namespace declaration with
other
並返迴
true
若它們不相等;否則返迴
false
.
移動賦值運算符。
賦值 other to this namespace declaration.
Compares this namespace declaration with
other
並返迴
true
若它們相等;否則返迴
false
.
同義詞 QVector < QXmlStreamNamespaceDeclaration >.