内容表

上一话题

QXmlStreamEntityResolver

下一话题

QXmlStreamNotationDeclaration

QXmlStreamNamespaceDeclaration

QXmlStreamNamespaceDeclaration class represents a namespace declaration. 更多

Inheritance diagram of PySide2.QtCore.QXmlStreamNamespaceDeclaration

概要

函数

详细描述

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

class QXmlStreamNamespaceDeclaration

QXmlStreamNamespaceDeclaration(prefix, namespaceUri)

QXmlStreamNamespaceDeclaration(arg__1)

param namespaceUri

unicode

param prefix

unicode

param arg__1

QXmlStreamNamespaceDeclaration

Creates an empty namespace declaration.

Creates a namespace declaration with prefix and namespaceUri .

PySide2.QtCore.QXmlStreamNamespaceDeclaration. namespaceUri ( )
返回类型

QStringRef

Returns the .

PySide2.QtCore.QXmlStreamNamespaceDeclaration. __ne__ ( other )
参数

other QXmlStreamNamespaceDeclaration

返回类型

bool

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

PySide2.QtCore.QXmlStreamNamespaceDeclaration. __eq__ ( other )
参数

other QXmlStreamNamespaceDeclaration

返回类型

bool

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

PySide2.QtCore.QXmlStreamNamespaceDeclaration. prefix ( )
返回类型

QStringRef

Returns the prefix.