이 페이지에서

QQmlSA::DocumentEdit Class

class QQmlSA::DocumentEdit

문서에 대한 단일 편집을 나타냅니다. 더 보기...

헤더: #include <qqmlsa.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS QmlCompiler)
target_link_libraries(mytarget PRIVATE Qt6::QmlCompiler)
상태: 기술 미리보기

이 클래스는 기술 미리보기 단계에 있으며 변경될 수 있습니다.

공개 함수

DocumentEdit(const QString &filename, const QQmlSA::SourceLocation &location, const QString &replacement)
DocumentEdit(const QQmlSA::DocumentEdit &other)
DocumentEdit(QQmlSA::DocumentEdit &&other)
~DocumentEdit()
QString filename() const
QQmlSA::SourceLocation location() const
QString replacement() const
QQmlSA::DocumentEdit &operator=(QQmlSA::DocumentEdit &&other)
QQmlSA::DocumentEdit &operator=(const QQmlSA::DocumentEdit &other)
bool operator!=(const QQmlSA::DocumentEdit &lhs, const QQmlSA::DocumentEdit &rhs)
bool operator==(const QQmlSA::DocumentEdit &lhs, const QQmlSA::DocumentEdit &rhs)

자세한 설명

멤버 함수 설명

DocumentEdit::DocumentEdit(const QString &filename, const QQmlSA::SourceLocation &location, const QString &replacement)

DocumentEdit 객체를 생성합니다.

DocumentEdit::DocumentEdit(const QQmlSA::DocumentEdit &other)

other 의 복사본을 생성합니다.

DocumentEdit::DocumentEdit(QQmlSA::DocumentEdit &&other)

DocumentEdit 인스턴스를 생성합니다.

[noexcept] DocumentEdit::~DocumentEdit()

DocumentEdit 인스턴스를 삭제합니다.

QString DocumentEdit::filename() const

이 편집이 적용되는 파일을 반환합니다.

QQmlSA::SourceLocation DocumentEdit::location() const

편집이 적용되는 위치를 반환합니다.

QString DocumentEdit::replacement() const

편집된 내용의 대체 문자열을 반환합니다.

QQmlSA::DocumentEdit &DocumentEdit::operator=(QQmlSA::DocumentEdit &&other)

other 를 이 DocumentEdit 인스턴스에 할당합니다.

QQmlSA::DocumentEdit &DocumentEdit::operator=(const QQmlSA::DocumentEdit &other)

이 DocumentEdit 인스턴스에 other 를 할당합니다.

관련 비회원

[noexcept] bool operator!=(const QQmlSA::DocumentEdit &lhs, const QQmlSA::DocumentEdit &rhs)

lhs 와 rhs 가 서로 다를 경우 true 을 반환하고, 그렇지 않은 경우 false 을 반환합니다.

[noexcept] bool operator==(const QQmlSA::DocumentEdit &lhs, const QQmlSA::DocumentEdit &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.