QXmlStreamNamespaceDeclaration Class Reference

[ QtCore module]

The QXmlStreamNamespaceDeclaration class represents a namespace declaration. 更多...

方法

Special Methods


详细描述

The QXmlStreamNamespaceDeclaration class represents a namespace declaration.

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


方法文档编制

QXmlStreamNamespaceDeclaration.__init__ ( self )

Creates an empty namespace declaration.

QXmlStreamNamespaceDeclaration.__init__ ( self , QXmlStreamNamespaceDeclaration )

Creates a copy of other .

QXmlStreamNamespaceDeclaration.__init__ ( self , QString  prefix , QString  namespaceUri )

Creates a namespace declaration with prefix and namespaceUri .

该函数在 Qt 4.4 引入。

QStringRef QXmlStreamNamespaceDeclaration.namespaceUri ( self )

Returns the namespaceUri.

QStringRef QXmlStreamNamespaceDeclaration.prefix ( self )

Returns the prefix.

bool QXmlStreamNamespaceDeclaration.__eq__ ( self , QXmlStreamNamespaceDeclaration   other )

bool QXmlStreamNamespaceDeclaration.__ne__ ( self , QXmlStreamNamespaceDeclaration   other )