QXmlStreamNamespaceDeclaration¶

The QXmlStreamNamespaceDeclaration class represents a namespace declaration. More…

Inheritance diagram of PySide2.QtCore.QXmlStreamNamespaceDeclaration

Synopsis¶

Functions¶

Detailed Description¶

An namespace declaration consists of a prefix() and a namespaceUri() .

class PySide2.QtCore.QXmlStreamNamespaceDeclaration¶

PySide2.QtCore.QXmlStreamNamespaceDeclaration(prefix, namespaceUri)

PySide2.QtCore.QXmlStreamNamespaceDeclaration(arg__1)

param namespaceUri:

str

param prefix:

str

param arg__1:

PySide2.QtCore.QXmlStreamNamespaceDeclaration

Creates an empty namespace declaration.

Creates a namespace declaration with prefix and namespaceUri .

PySide2.QtCore.QXmlStreamNamespaceDeclaration.namespaceUri()¶
Return type:

QStringRef

Returns the .

PySide2.QtCore.QXmlStreamNamespaceDeclaration.__ne__(other)¶
Parameters:

other – PySide2.QtCore.QXmlStreamNamespaceDeclaration

Return type:

bool

Compares this namespace declaration with other and returns true if they are not equal; otherwise returns false .

PySide2.QtCore.QXmlStreamNamespaceDeclaration.__eq__(other)¶
Parameters:

other – PySide2.QtCore.QXmlStreamNamespaceDeclaration

Return type:

bool

Compares this namespace declaration with other and returns true if they are equal; otherwise returns false .

PySide2.QtCore.QXmlStreamNamespaceDeclaration.prefix()¶
Return type:

QStringRef

Returns the prefix.