IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QXmlStreamNamespaceDeclaration Class

The QXmlStreamNamespaceDeclaration class represents a namespace declaration.

This class was introduced in Qt 4.3.

All functions in this class are reentrant.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QXmlStreamNamespaceDeclaration Class

  • Header: QXmlStreamNamespaceDeclaration

  • Since: Qt 4.3

  • qmake: QT += core

  • Group: QXmlStreamNamespaceDeclaration is part of xml-tools

Detailed Description

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

Member Function Documentation

 

QXmlStreamNamespaceDeclaration::QXmlStreamNamespaceDeclaration()

Creates an empty namespace declaration.

[since 4.4] QXmlStreamNamespaceDeclaration::QXmlStreamNamespaceDeclaration(const QString &prefix, const QString &namespaceUri)

Creates a namespace declaration with prefix and namespaceUri.

This function was introduced in Qt 4.4.

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) const

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

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

Assigns other to this namespace declaration.

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

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

Related Non-Members

 

QXmlStreamNamespaceDeclarations

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+