PySide.QtCore.QXmlStreamNamespaceDeclaration class represents a namespace declaration.
An namespace declaration consists of a PySide.QtCore.QXmlStreamNamespaceDeclaration.prefix() 和 PySide.QtCore.QXmlStreamNamespaceDeclaration.namespaceUri() .
| 参数: |
|
|---|
Creates an empty namespace declaration.
Creates a namespace declaration with prefix and namespaceUri .
Creates a copy of other .
| 返回类型: | PySide.QtCore.QStringRef |
|---|
Returns the namespaceUri.
| 参数: | other – PySide.QtCore.QXmlStreamNamespaceDeclaration |
|---|---|
| 返回类型: | PySide.QtCore.bool |
Compares this namespace declaration with other and returns true if they are not equal; otherwise returns false.
| 参数: | other – PySide.QtCore.QXmlStreamNamespaceDeclaration |
|---|---|
| 返回类型: | PySide.QtCore.bool |
Compares this namespace declaration with other and returns true if they are equal; otherwise returns false.
| 返回类型: | PySide.QtCore.QStringRef |
|---|
Returns the prefix.