En esta página

QQmlSA::DocumentEdit Class

class QQmlSA::DocumentEdit

Representa una única modificación en un documento. Más...

Encabezado: #include <qqmlsa.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS QmlCompiler)
target_link_libraries(mytarget PRIVATE Qt6::QmlCompiler)
Estado: Versión preliminar tecnológica

Esta clase se encuentra en fase de vista previa tecnológica y está sujeta a cambios.

Funciones públicas

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)

Descripción detallada

Documentación de funciones de miembro

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

Crea un objeto DocumentEdit.

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

Crea una copia de other.

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

Crea una instancia de DocumentEdit mediante «move».

[noexcept] DocumentEdit::~DocumentEdit()

Elimina la instancia de « DocumentEdit ».

QString DocumentEdit::filename() const

Devuelve el archivo al que se aplica esta modificación.

QQmlSA::SourceLocation DocumentEdit::location() const

Devuelve la ubicación en la que se aplica la modificación.

QString DocumentEdit::replacement() const

Devuelve la cadena resultante de la modificación.

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

Asigna « other » a esta instancia de « DocumentEdit ». »

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

Asigna other a esta instancia de DocumentEdit.

Elementos relacionados no miembros

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

Devuelve « true » si « lhs » y « rhs » no son iguales, y « false » en caso contrario.

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

Devuelve « true » si « lhs » y « rhs » son iguales, y « false » en caso contrario.

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