QQmlSA::FixSuggestion Class
class QQmlSA::FixSuggestion소스 코드의 문제에 대한 수정 제안입니다. 더 보기...
| 헤더: | #include <qqmlsa.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS QmlCompiler) target_link_libraries(mytarget PRIVATE Qt6::QmlCompiler) |
| 상태: | 기술 미리보기 |
이 클래스는 기술 미리보기 단계에 있으며 변경될 수 있습니다.
공개 함수
| FixSuggestion(const QString &description, const QQmlSA::SourceLocation &location, const QList<QQmlSA::DocumentEdit> &documentEdits = {}) | |
| FixSuggestion(const QString &description, const QQmlSA::SourceLocation &location, const QQmlSA::DocumentEdit &documentEdit) | |
| FixSuggestion(const QQmlSA::FixSuggestion &other) | |
| FixSuggestion(QQmlSA::FixSuggestion &&other) | |
| ~FixSuggestion() | |
| void | addDocumentEdit(const QQmlSA::DocumentEdit &edit) |
| QString | description() const |
| QList<QQmlSA::DocumentEdit> | documentEdits() const |
| QString | fileName() const |
| bool | isAutoApplicable() const |
| QQmlSA::SourceLocation | location() const |
| void | setAutoApplicable(bool autoApplicable = true) |
| void | setFileName(const QString &fileName) |
| QQmlSA::FixSuggestion & | operator=(QQmlSA::FixSuggestion &&other) |
| QQmlSA::FixSuggestion & | operator=(const QQmlSA::FixSuggestion &other) |
관련 비멤버
| bool | operator!=(const QQmlSA::FixSuggestion &lhs, const QQmlSA::FixSuggestion &rhs) |
| bool | operator==(const QQmlSA::FixSuggestion &lhs, const QQmlSA::FixSuggestion &rhs) |
멤버 함수 설명
FixSuggestion::FixSuggestion(const QString &description, const QQmlSA::SourceLocation &location, const QList<QQmlSA::DocumentEdit> &documentEdits = {})
FixSuggestion 객체를 생성합니다.
FixSuggestion::FixSuggestion(const QString &description, const QQmlSA::SourceLocation &location, const QQmlSA::DocumentEdit &documentEdit)
FixSuggestion 객체를 생성합니다.
FixSuggestion::FixSuggestion(const QQmlSA::FixSuggestion &other)
other 의 복사본을 생성합니다.
[noexcept] FixSuggestion::FixSuggestion(QQmlSA::FixSuggestion &&other)
FixSuggestion 인스턴스를 생성합니다.
[noexcept] FixSuggestion::~FixSuggestion()
FixSuggestion 인스턴스를 삭제합니다.
void FixSuggestion::addDocumentEdit(const QQmlSA::DocumentEdit &edit)
이 수정 사항의 편집 내역 목록에 ‘ edit ’ 문서를 추가합니다.
QString FixSuggestion::description() const
수정 사항에 대한 설명을 반환합니다.
QList<QQmlSA::DocumentEdit> FixSuggestion::documentEdits() const
이 수정 사항을 적용할 경우 이루어질 문서 수정 내역 목록을 반환합니다.
QString FixSuggestion::fileName() const
이 수정 제안이 적용되는 파일의 이름을 반환합니다.
setFileName()도 참조하십시오 .
bool FixSuggestion::isAutoApplicable() const
이 제안된 수정 사항을 자동으로 적용할 수 있는지 여부를 반환합니다.
QQmlSA::SourceLocation FixSuggestion::location() const
수정된 위치 정보를 반환합니다.
void FixSuggestion::setAutoApplicable(bool autoApplicable = true)
autoApplicable 를 설정하여 이 제안된 수정 사항이 자동으로 적용될 수 있는지 여부를 결정합니다.
isAutoApplicable()도 참조하십시오 .
void FixSuggestion::setFileName(const QString &fileName)
이 수정 제안이 적용되는 파일의 이름을 ‘ fileName ’로 설정합니다.
fileName()도 참조하십시오 .
[noexcept] QQmlSA::FixSuggestion &FixSuggestion::operator=(QQmlSA::FixSuggestion &&other)
other 를 이 FixSuggestion 인스턴스에 할당합니다.
QQmlSA::FixSuggestion &FixSuggestion::operator=(const QQmlSA::FixSuggestion &other)
이 FixSuggestion 인스턴스에 other 를 할당합니다.
관련 비회원
bool operator!=(const QQmlSA::FixSuggestion &lhs, const QQmlSA::FixSuggestion &rhs)
lhs 와 rhs 가 같지 않으면 true 를 반환하고, 그렇지 않은 경우에는 false 를 반환합니다.
bool operator==(const QQmlSA::FixSuggestion &lhs, const QQmlSA::FixSuggestion &rhs)
lhs 와 rhs 가 같으면 ` true `를 반환하고, 그렇지 않으면 ` false `를 반환합니다.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.