In questa pagina

QQmlSA::LoggerWarningId Class

class QQmlSA::LoggerWarningId

Un wrapper attorno a una stringa letterale che consente di identificare in modo univoco le categorie di avviso nel framework QQmlSA. Maggiori informazioni...

Intestazione: #include <qqmljsloggingutils.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS QmlCompiler)
target_link_libraries(mytarget PRIVATE Qt6::QmlCompiler)
Stato: Anteprima tecnologica

Questa classe è in anteprima tecnologica ed è soggetta a modifiche.

Funzioni pubbliche

LoggerWarningId(QAnyStringView name)
QAnyStringView name() const

Descrizione dettagliata

Documentazione delle funzioni membro

[constexpr] LoggerWarningId::LoggerWarningId(QAnyStringView name)

Crea un oggetto `LoggerWarningId` con il nome della categoria di registrazione “ name ”.

QAnyStringView LoggerWarningId::name() const

Restituisce il nome della categoria dell'avviso incapsulato.

© 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.