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
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 396 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::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::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::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::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::FixSuggestionPrivate::location().

+ Here is the caller graph for this function:

◆ operator!=()

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

Definition at line 203 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 196 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::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::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(), 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::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: