Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QQmlJSFixSuggestion Class Reference

#include <qqmljslogger_p.h>

+ Collaboration diagram for QQmlJSFixSuggestion:

Public Member Functions

 QQmlJSFixSuggestion ()=default
 
 QQmlJSFixSuggestion (const QString &fixDescription, const QQmlJS::SourceLocation &location, const QString &replacement=QString())
 
QString fixDescription () const
 
QQmlJS::SourceLocation location () const
 
QString replacement () const
 
void setFilename (const QString &filename)
 
QString filename () const
 
void setHint (const QString &hint)
 
QString hint () const
 
void setAutoApplicable (bool autoApply=true)
 
bool isAutoApplicable () const
 
bool operator== (const QQmlJSFixSuggestion &) const
 
bool operator!= (const QQmlJSFixSuggestion &) const
 

Detailed Description

Definition at line 74 of file qqmljslogger_p.h.

Constructor & Destructor Documentation

◆ QQmlJSFixSuggestion() [1/2]

QQmlJSFixSuggestion::QQmlJSFixSuggestion ( )
default

◆ QQmlJSFixSuggestion() [2/2]

QQmlJSFixSuggestion::QQmlJSFixSuggestion ( const QString fixDescription,
const QQmlJS::SourceLocation location,
const QString replacement = QString() 
)

Definition at line 394 of file qqmljslogger.cpp.

Member Function Documentation

◆ filename()

QString QQmlJSFixSuggestion::filename ( ) const
inline

Definition at line 86 of file qqmljslogger_p.h.

Referenced by QQmlSA::FixSuggestion::fileName(), and QQmlSA::FixSuggestionPrivate::fileName().

+ Here is the caller graph for this function:

◆ fixDescription()

QString QQmlJSFixSuggestion::fixDescription ( ) const
inline

Definition at line 81 of file qqmljslogger_p.h.

Referenced by QQmlSA::FixSuggestion::fixDescription(), and QQmlSA::FixSuggestionPrivate::fixDescription().

+ Here is the caller graph for this function:

◆ hint()

QString QQmlJSFixSuggestion::hint ( ) const
inline

Definition at line 89 of file qqmljslogger_p.h.

Referenced by QQmlSA::FixSuggestion::hint(), and QQmlSA::FixSuggestionPrivate::hint().

+ Here is the caller graph for this function:

◆ isAutoApplicable()

bool QQmlJSFixSuggestion::isAutoApplicable ( ) const
inline

Definition at line 92 of file qqmljslogger_p.h.

Referenced by QQmlSA::FixSuggestion::isAutoApplicable(), and QQmlSA::FixSuggestionPrivate::isAutoApplicable().

+ Here is the caller graph for this function:

◆ location()

QQmlJS::SourceLocation QQmlJSFixSuggestion::location ( ) const
inline

Definition at line 82 of file qqmljslogger_p.h.

Referenced by QQmlSA::FixSuggestion::location(), and QQmlSA::FixSuggestionPrivate::location().

+ Here is the caller graph for this function:

◆ operator!=()

bool QQmlJSFixSuggestion::operator!= ( const QQmlJSFixSuggestion other) const

Definition at line 201 of file qqmljslogger.cpp.

References other().

+ Here is the call graph for this function:

◆ operator==()

bool QQmlJSFixSuggestion::operator== ( const QQmlJSFixSuggestion other) const

Definition at line 194 of file qqmljslogger.cpp.

References other().

+ Here is the call graph for this function:

◆ replacement()

QString QQmlJSFixSuggestion::replacement ( ) const
inline

Definition at line 83 of file qqmljslogger_p.h.

Referenced by QQmlSA::FixSuggestion::replacement(), and QQmlSA::FixSuggestionPrivate::replacement().

+ Here is the caller graph for this function:

◆ setAutoApplicable()

void QQmlJSFixSuggestion::setAutoApplicable ( bool  autoApply = true)
inline

Definition at line 91 of file qqmljslogger_p.h.

Referenced by QQmlSA::FixSuggestion::setAutoApplicable(), QQmlSA::FixSuggestionPrivate::setAutoApplicable(), and QQmlJSImportVisitor::visit().

+ Here is the caller graph for this function:

◆ setFilename()

void QQmlJSFixSuggestion::setFilename ( const QString filename)
inline

Definition at line 85 of file qqmljslogger_p.h.

Referenced by QQmlJSImportVisitor::checkRequiredProperties(), QQmlSA::FixSuggestion::setFileName(), and QQmlSA::FixSuggestionPrivate::setFileName().

+ Here is the caller graph for this function:

◆ setHint()

void QQmlJSFixSuggestion::setHint ( const QString hint)
inline

Definition at line 88 of file qqmljslogger_p.h.

References hint().

Referenced by QQmlSA::FixSuggestion::setHint(), and QQmlSA::FixSuggestionPrivate::setHint().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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