QXmlStreamNamespaceDeclaration Class
La classe QXmlStreamNamespaceDeclaration rappresenta una dichiarazione di spazio dei nomi. Per saperne di più...
| Intestazione: | #include <QXmlStreamNamespaceDeclaration> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Core) target_link_libraries(mytarget PRIVATE Qt6::Core) |
| qmake: | QT += core |
- Elenco di tutti i membri, compresi quelli ereditati
- QXmlStreamNamespaceDeclaration fa parte delle classi XML.
Nota: tutte le funzioni di questa classe sono rientranti.
Confronto tra QXmlStreamNamespaceDeclaration
| Categoria | Tipi comparabili |
|---|---|
| uguaglianza | QXmlStreamNamespaceDeclaration |
Funzioni pubbliche
| QXmlStreamNamespaceDeclaration() | |
| QXmlStreamNamespaceDeclaration(const QString &prefix, const QString &namespaceUri) | |
| QStringView | namespaceUri() const |
| QStringView | prefix() const |
Elementi non membri correlati
| QXmlStreamNamespaceDeclarations | |
| bool | operator!=(const QXmlStreamNamespaceDeclaration &lhs, const QXmlStreamNamespaceDeclaration &rhs) |
| bool | operator==(const QXmlStreamNamespaceDeclaration &lhs, const QXmlStreamNamespaceDeclaration &rhs) |
Descrizione dettagliata
Una dichiarazione di spazio dei nomi è costituita da una funzione prefix() e da una funzione namespaceUri().
Documentazione delle funzioni membro
QXmlStreamNamespaceDeclaration::QXmlStreamNamespaceDeclaration()
Crea una dichiarazione di spazio dei nomi vuoto.
QXmlStreamNamespaceDeclaration::QXmlStreamNamespaceDeclaration(const QString &prefix, const QString &namespaceUri)
Crea una dichiarazione di namespace con prefix e namespaceUri.
QStringView QXmlStreamNamespaceDeclaration::namespaceUri() const
Restituisce il namespaceUri.
QStringView QXmlStreamNamespaceDeclaration::prefix() const
Restituisce il prefisso.
Elementi correlati non membri
QXmlStreamNamespaceDeclarations
Sinonimo di QList<QXmlStreamNamespaceDeclaration>.
[noexcept] bool operator!=(const QXmlStreamNamespaceDeclaration &lhs, const QXmlStreamNamespaceDeclaration &rhs)
Confronta la dichiarazione dello spazio dei nomi lhs con quella presente all'indirizzo rhs e restituisce true se non sono uguali; in caso contrario, restituisce false.
[noexcept] bool operator==(const QXmlStreamNamespaceDeclaration &lhs, const QXmlStreamNamespaceDeclaration &rhs)
Confronta la dichiarazione dello spazio dei nomi lhs con quella presente all'indirizzo rhs e restituisce true se sono uguali; in caso contrario, restituisce 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.