QXmlStreamNamespaceDeclaration¶
The
QXmlStreamNamespaceDeclaration
class represents a namespace declaration. More…

Detailed Description¶
An namespace declaration consists of a
prefix()
and anamespaceUri()
.
-
class
PySide2.QtCore.
QXmlStreamNamespaceDeclaration
¶ PySide2.QtCore.QXmlStreamNamespaceDeclaration(prefix, namespaceUri)
PySide2.QtCore.QXmlStreamNamespaceDeclaration(arg__1)
- param namespaceUri
str
- param prefix
str
- param arg__1
Creates an empty namespace declaration.
Creates a namespace declaration with
prefix
andnamespaceUri
.
-
PySide2.QtCore.QXmlStreamNamespaceDeclaration.
namespaceUri
()¶ - Return type
QStringRef
Returns the .
-
PySide2.QtCore.QXmlStreamNamespaceDeclaration.
__ne__
(other)¶ - Parameters
- Return type
bool
Compares this namespace declaration with
other
and returnstrue
if they are not equal; otherwise returnsfalse
.
-
PySide2.QtCore.QXmlStreamNamespaceDeclaration.
__eq__
(other)¶ - Parameters
- Return type
bool
Compares this namespace declaration with
other
and returnstrue
if they are equal; otherwise returnsfalse
.
-
PySide2.QtCore.QXmlStreamNamespaceDeclaration.
prefix
()¶ - Return type
QStringRef
Returns the prefix.
© 2020 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.