Auf dieser Seite

QQmlSA::LoggerWarningId Class

class QQmlSA::LoggerWarningId

Ein Wrapper um ein String-Literal zur eindeutigen Identifizierung von Warnkategorien im „ QQmlSA “-Framework. Mehr...

Header: #include <qqmljsloggingutils.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS QmlCompiler)
target_link_libraries(mytarget PRIVATE Qt6::QmlCompiler)
Status: Technologievorschau

Diese Klasse befindet sich in der Technologievorschau und kann sich noch ändern.

Öffentliche Funktionen

LoggerWarningId(QAnyStringView name)
QAnyStringView name() const

Ausführliche Beschreibung

Dokumentation der Mitgliedsfunktionen

[constexpr] LoggerWarningId::LoggerWarningId(QAnyStringView name)

Erstellt ein „LoggerWarningId“-Objekt mit dem Namen der Protokollierungskategorie „ name “.

QAnyStringView LoggerWarningId::name() const

Gibt den Namen der umschlossenen Warnkategorie zurück.

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