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
if they are not equal; otherwise returns
false
.
移动赋值运算符。
赋值 other to this namespace declaration.
Compares this namespace declaration with
other
并返回
true
if they are equal; otherwise returns
false
.
同义词 QVector < QXmlStreamNamespaceDeclaration >.