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
Message Class Reference

[custom type definition] More...

#include <qqmljslogger_p.h>

+ Inheritance diagram for Message:
+ Collaboration diagram for Message:

Public Member Functions

 Message ()=default
 
 ~Message ()=default
 
 Message (const Message &)=default
 
Messageoperator= (const Message &)=default
 
 Message (const QString &body, const QStringList &headers)
 
QStringView body () const
 [custom type streaming operator]
 
QStringList headers () const
 
 Message ()=default
 
 ~Message ()=default
 
 Message (const Message &)=default
 
Messageoperator= (const Message &)=default
 
 Message (const QString &body, const QStringList &headers)
 
QStringView body () const
 
QStringList headers () const
 
- Public Member Functions inherited from QQmlJS::DiagnosticMessage
bool isError () const
 
bool isWarning () const
 

Public Attributes

QAnyStringView id
 
std::optional< QQmlJSFixSuggestionfixSuggestion
 
- Public Attributes inherited from QQmlJS::DiagnosticMessage
QString message
 
QtMsgType type = QtCriticalMsg
 
SourceLocation loc
 

Detailed Description

[custom type definition]

Definition at line 10 of file customtypeexample.cpp.

Constructor & Destructor Documentation

◆ Message() [1/6]

Message::Message ( )
default

◆ ~Message() [1/2]

Message::~Message ( )
default

◆ Message() [2/6]

Message::Message ( const Message & )
default

◆ Message() [3/6]

Message::Message ( const QString & body,
const QStringList & headers )

◆ Message() [4/6]

Message::Message ( )
default

◆ ~Message() [2/2]

Message::~Message ( )
default

◆ Message() [5/6]

Message::Message ( const Message & )
default

◆ Message() [6/6]

Message::Message ( const QString & body,
const QStringList & headers )

Member Function Documentation

◆ body() [1/2]

QStringView Message::body ( ) const

[custom type streaming operator]

[getter functions]

Definition at line 54 of file customtypeexample.cpp.

◆ body() [2/2]

QStringView Message::body ( ) const

◆ headers() [1/2]

QStringList Message::headers ( ) const

Definition at line 59 of file customtypeexample.cpp.

◆ headers() [2/2]

QStringList Message::headers ( ) const

◆ operator=() [1/2]

Message & Message::operator= ( const Message & )
default

◆ operator=() [2/2]

Message & Message::operator= ( const Message & )
default

Member Data Documentation

◆ fixSuggestion

std::optional<QQmlJSFixSuggestion> Message::fixSuggestion

Definition at line 111 of file qqmljslogger_p.h.

◆ id

QAnyStringView Message::id

Definition at line 110 of file qqmljslogger_p.h.


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