En esta página

QQmlSA::LoggerWarningId Class

class QQmlSA::LoggerWarningId

Un envoltorio alrededor de un literal de cadena que permite identificar de forma única las categorías de advertencias en el marco de trabajo QQmlSA. Más información...

Encabezado: #include <qqmljsloggingutils.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS QmlCompiler)
target_link_libraries(mytarget PRIVATE Qt6::QmlCompiler)
Estado: Versión preliminar tecnológica

Esta clase se encuentra en fase de vista previa tecnológica y está sujeta a cambios.

Funciones públicas

LoggerWarningId(QAnyStringView name)
QAnyStringView name() const

Descripción detallada

Documentación de las funciones de miembro

[constexpr] LoggerWarningId::LoggerWarningId(QAnyStringView name)

Crea un objeto `LoggerWarningId` con el nombre de la categoría de registro « name ».

QAnyStringView LoggerWarningId::name() const

Devuelve el nombre de la categoría de advertencia en la que está envuelta.

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