QQmlSA::LoggerWarningId Class

class QQmlSA::LoggerWarningId

Ein Wrapper um ein Stringliteral zur eindeutigen Identifizierung von Warnkategorien im QQmlSA Framework. Mehr...

Kopfzeile: #include <LoggerWarningId>
CMake: find_package(Qt6 REQUIRED COMPONENTS QmlCompiler)
target_link_libraries(mytarget PRIVATE Qt6::QmlCompiler)
Status: Technische Vorschau

Öffentliche Funktionen

LoggerWarningId(QAnyStringView name)
QAnyStringView name() const

Detaillierte Beschreibung

Dokumentation der Mitgliedsfunktionen

[constexpr] LoggerWarningId::LoggerWarningId(QAnyStringView name)

Konstruiert ein LoggerWarningId-Objekt mit dem Logging-Catergory-Namen name.

QAnyStringView LoggerWarningId::name() const

Gibt den Namen der umschlossenen Warnkategorie zurück.

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