Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QQmlSA::LoggerWarningId Class Reference

\inmodule QtQmlCompiler More...

#include <qqmljsloggingutils.h>

Collaboration diagram for QQmlSA::LoggerWarningId:

Public Member Functions

constexpr LoggerWarningId (QAnyStringView name)
 Constructs a LoggerWarningId object with logging catergory name name.
QAnyStringView name () const
 Returns the name of the wrapped warning category.

Friends

bool operator== (const LoggerWarningId &a, const LoggerWarningId &b)
bool operator!= (const LoggerWarningId &a, const LoggerWarningId &b)

Detailed Description

\inmodule QtQmlCompiler

A wrapper around a string literal to uniquely identify warning categories in the {QQmlSA} framework.

Definition at line 22 of file qqmljsloggingutils.h.

Constructor & Destructor Documentation

◆ LoggerWarningId()

QQmlSA::LoggerWarningId::LoggerWarningId ( QAnyStringView name)
inlineconstexpr

Constructs a LoggerWarningId object with logging catergory name name.

Definition at line 25 of file qqmljsloggingutils.h.

Member Function Documentation

◆ name()

QAnyStringView QQmlSA::LoggerWarningId::name ( ) const
inline

Returns the name of the wrapped warning category.

Definition at line 27 of file qqmljsloggingutils.h.

◆ operator!=

bool operator!= ( const LoggerWarningId & a,
const LoggerWarningId & b )
friend

Definition at line 35 of file qqmljsloggingutils.h.

◆ operator==

bool operator== ( const LoggerWarningId & a,
const LoggerWarningId & b )
friend

Definition at line 30 of file qqmljsloggingutils.h.


The documentation for this class was generated from the following files: