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
Message Struct 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
 
- Public Member Functions inherited from QQmlJS::DiagnosticMessage
bool isError () const
 
bool isWarning () const
 
bool isValid () 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/3]

Message::Message ( )
default

◆ ~Message()

Message::~Message ( )
default

◆ Message() [2/3]

Message::Message ( const Message & )
default

◆ Message() [3/3]

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

Member Function Documentation

◆ body()

QStringView Message::body ( ) const

[custom type streaming operator]

[getter functions]

Definition at line 54 of file customtypeexample.cpp.

◆ headers()

QStringList Message::headers ( ) const

Definition at line 59 of file customtypeexample.cpp.

◆ operator=()

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 struct was generated from the following files: