このページでは

QQmlSA::DocumentEdit Class

class QQmlSA::DocumentEdit

ドキュメントに対する1回の編集を表します。詳細...

ヘッダー: #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.