Sur cette page

QQmlSA::DocumentEdit Class

class QQmlSA::DocumentEdit

Correspond à une modification unique apportée à un document. En savoir plus...

En-tête : #include <qqmlsa.h>
CMake : find_package(Qt6 REQUIRED COMPONENTS QmlCompiler)
target_link_libraries(mytarget PRIVATE Qt6::QmlCompiler)
Statut : Aperçu technologique

Cette classe est en préversion technologique et est susceptible d’être modifiée.

Fonctions publiques

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)

Description détaillée

Documentation sur les fonctions membres

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

Crée un objet DocumentEdit.

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

Crée une copie de other.

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

Crée une instance de `DocumentEdit` par construction par déplacement.

[noexcept] DocumentEdit::~DocumentEdit()

Supprime l'instance de ` DocumentEdit `.

QString DocumentEdit::filename() const

Renvoie le fichier auquel cette modification s'applique.

QQmlSA::SourceLocation DocumentEdit::location() const

Renvoie l'emplacement où la modification s'applique.

QString DocumentEdit::replacement() const

Renvoie la chaîne de remplacement issue de la modification.

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

Cette opération attribue « other » à cette instance de « DocumentEdit ».

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

Attribue « other » à cette instance « DocumentEdit ».

Personnes associées non membres

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

Renvoie « true » si « lhs » et « rhs » ne sont pas égaux, et « false » dans le cas contraire.

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

Renvoie « true » si « lhs » et « rhs » sont égaux, et « false » dans le cas contraire.

© 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.