Nesta página

QXmlStreamNotationDeclaration Class

A classe QXmlStreamNotationDeclaration representa uma declaração de notação DTD. Mais...

Cabeçalho: #include <QXmlStreamNotationDeclaration>
CMake: find_package(Qt6 REQUIRED COMPONENTS Core)
target_link_libraries(mytarget PRIVATE Qt6::Core)
qmake: QT += core

Observação: Todas as funções desta classe são reentrantes.

Comparações de QXmlStreamNotationDeclaration

CategoriaTipos comparáveis
igualdadeQXmlStreamNotationDeclaration

Funções públicas

QXmlStreamNotationDeclaration()
QStringView name() const
QStringView publicId() const
QStringView systemId() const
QXmlStreamNotationDeclarations
bool operator!=(const QXmlStreamNotationDeclaration &lhs, const QXmlStreamNotationDeclaration &rhs)
bool operator==(const QXmlStreamNotationDeclaration &lhs, const QXmlStreamNotationDeclaration &rhs)

Descrição detalhada

Uma declaração de notação consiste em um ` name()`, um ` systemId()` e um ` publicId()`.

Documentação das funções de membro

QXmlStreamNotationDeclaration::QXmlStreamNotationDeclaration()

Cria uma declaração de notação vazia.

QStringView QXmlStreamNotationDeclaration::name() const

Retorna o nome da notação.

QStringView QXmlStreamNotationDeclaration::publicId() const

Retorna o identificador público.

QStringView QXmlStreamNotationDeclaration::systemId() const

Retorna o identificador do sistema.

Não-membros relacionados

QXmlStreamNotationDeclarations

Sinônimo de QList<QXmlStreamNotationDeclaration>.

[noexcept] bool operator!=(const QXmlStreamNotationDeclaration &lhs, const QXmlStreamNotationDeclaration &rhs)

Compara a declaração na notação lhs com rhs e retorna true caso não sejam iguais; caso contrário, retorna false.

[noexcept] bool operator==(const QXmlStreamNotationDeclaration &lhs, const QXmlStreamNotationDeclaration &rhs)

Compara a declaração na notação lhs com rhs e retorna true se forem iguais; caso contrário, retorna false.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.