Auf dieser Seite

QQmlSA::DocumentEdit Class

class QQmlSA::DocumentEdit

Bezeichnet eine einzelne Änderung an einem Dokument. Mehr...

Überschrift: #include <qqmlsa.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS QmlCompiler)
target_link_libraries(mytarget PRIVATE Qt6::QmlCompiler)
Status: Technologievorschau

Diese Klasse befindet sich in der Technologievorschau und kann sich noch ändern.

Öffentliche Funktionen

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)

Ausführliche Beschreibung

Dokumentation zu den Mitgliedsfunktionen

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

Erstellt ein „DocumentEdit“-Objekt.

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

Erstellt eine Kopie von „ other “.

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

Erstellt eine „DocumentEdit“-Instanz mit dem „Move“-Konstruktor.

[noexcept] DocumentEdit::~DocumentEdit()

Löscht die Instanz von „ DocumentEdit “.

QString DocumentEdit::filename() const

Gibt die Datei zurück, auf die diese Bearbeitung angewendet wird.

QQmlSA::SourceLocation DocumentEdit::location() const

Gibt die Stelle zurück, an der die Bearbeitung vorgenommen wird.

QString DocumentEdit::replacement() const

Gibt die durch die Bearbeitung erzeugte Ersatzzeichenfolge zurück.

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

Weist „ other “ dieser „ DocumentEdit “-Instanz zu.

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

Weist dieser „ DocumentEdit “-Instanz „ other “ zu.

Zugehörige Nicht-Mitglieder

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

Gibt „ true “ zurück, wenn „ lhs “ und „ rhs “ nicht gleich sind, andernfalls „ false “.

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

Gibt „ true “ zurück, wenn „ lhs “ und „ rhs “ gleich sind, andernfalls „ 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.