QXmlStreamNamespaceDeclaration¶
The QXmlStreamNamespaceDeclaration
class represents a namespace declaration. More…
Synopsis¶
Functions¶
def
__eq__
(other)def
__ne__
(other)def
namespaceUri
()def
prefix
()
Detailed Description¶
An namespace declaration consists of a prefix()
and a namespaceUri()
.
- class PySide6.QtCore.QXmlStreamNamespaceDeclaration¶
PySide6.QtCore.QXmlStreamNamespaceDeclaration(prefix, namespaceUri)
PySide6.QtCore.QXmlStreamNamespaceDeclaration(QXmlStreamNamespaceDeclaration)
- Parameters
namespaceUri – str
QXmlStreamNamespaceDeclaration –
PySide6.QtCore.QXmlStreamNamespaceDeclaration
prefix – str
Creates an empty namespace declaration.
Creates a namespace declaration with prefix
and namespaceUri
.
- PySide6.QtCore.QXmlStreamNamespaceDeclaration.namespaceUri()¶
- Return type
QStringView
Returns the .
- PySide6.QtCore.QXmlStreamNamespaceDeclaration.__ne__(other)¶
- Parameters
- Return type
bool
Compares this namespace declaration with other
and returns true
if they are not equal; otherwise returns false
.
- PySide6.QtCore.QXmlStreamNamespaceDeclaration.__eq__(other)¶
- Parameters
- Return type
bool
Compares this namespace declaration with other
and returns true
if they are equal; otherwise returns false
.
- PySide6.QtCore.QXmlStreamNamespaceDeclaration.prefix()¶
- Return type
QStringView
Returns the prefix.
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.