|  | Home · All Classes · Main Classes · Grouped Classes · Modules · Functions |

# QXmlStreamNamespaceDeclaration Class Reference
[QtXml module]

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

     #include <QXmlStreamNamespaceDeclaration>

Note: All the functions in this class are reentrant.

- List of all members, including inherited members

### Public Functions

- QXmlStreamNamespaceDeclaration ()
- QXmlStreamNamespaceDeclaration ( const QXmlStreamNamespaceDeclaration & other )
- ~QXmlStreamNamespaceDeclaration ()
- QStringRef namespaceUri () const
- QStringRef prefix () const
- bool operator!= ( const QXmlStreamNamespaceDeclaration & other )
- QXmlStreamNamespaceDeclaration & operator= ( const QXmlStreamNamespaceDeclaration & other )
- bool operator== ( const QXmlStreamNamespaceDeclaration & other )

### Related Non-Members

- typedef QXmlStreamNamespaceDeclarations

## Detailed Description

The QXmlStreamNamespaceDeclaration class represents a namespace declaration.

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

## Member Function Documentation

### QXmlStreamNamespaceDeclaration::QXmlStreamNamespaceDeclaration ()

Creates an empty namespace declaration.

### QXmlStreamNamespaceDeclaration::QXmlStreamNamespaceDeclaration ( const QXmlStreamNamespaceDeclaration & other )

Creates a copy of other.

### QXmlStreamNamespaceDeclaration::~QXmlStreamNamespaceDeclaration ()

Destructs this namespace declaration.

### QStringRef QXmlStreamNamespaceDeclaration::namespaceUri () const

Returns the namespaceUri.

### QStringRef QXmlStreamNamespaceDeclaration::prefix () const

Returns the prefix.

### bool QXmlStreamNamespaceDeclaration::operator!= ( const QXmlStreamNamespaceDeclaration & other )

### QXmlStreamNamespaceDeclaration & QXmlStreamNamespaceDeclaration::operator= ( const QXmlStreamNamespaceDeclaration & other )

Assigns other to this namespace declaration.

### bool QXmlStreamNamespaceDeclaration::operator== ( const QXmlStreamNamespaceDeclaration & other )

## Related Non-Members

### typedef QXmlStreamNamespaceDeclarations

Synonym for QVector<QXmlStreamNamespaceDeclaration>.