Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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)
 
QAnyStringView name () const
 

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.

Constructor & Destructor Documentation

◆ LoggerWarningId()

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

Definition at line 24 of file qqmljsloggingutils.h.

Member Function Documentation

◆ name()

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

Definition at line 26 of file qqmljsloggingutils.h.

Referenced by QQmlJSLogger::defaultCategories(), and QQmlJSLinter::lintFile().

+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ operator!=

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

Definition at line 34 of file qqmljsloggingutils.h.

◆ operator==

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

Definition at line 29 of file qqmljsloggingutils.h.


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