In questa pagina

QQmlSA::DocumentEdit Class

class QQmlSA::DocumentEdit

Indica una singola modifica apportata a un documento. Per saperne di più...

Intestazione: #include <qqmlsa.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS QmlCompiler)
target_link_libraries(mytarget PRIVATE Qt6::QmlCompiler)
Stato: Anteprima tecnologica

Questa classe è in anteprima tecnologica ed è soggetta a modifiche.

Funzioni pubbliche

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)

Descrizione dettagliata

Documentazione sulle funzioni membro

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

Crea un oggetto DocumentEdit.

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

Crea una copia di other.

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

Crea un'istanza di DocumentEdit.

[noexcept] DocumentEdit::~DocumentEdit()

Elimina l'istanza di DocumentEdit.

QString DocumentEdit::filename() const

Restituisce il file a cui si applica questa modifica.

QQmlSA::SourceLocation DocumentEdit::location() const

Restituisce la posizione in cui viene applicata la modifica.

QString DocumentEdit::replacement() const

Restituisce la stringa risultante dalla modifica.

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

Assegna " other " a questa istanza di " DocumentEdit ".

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

Assegna other a questa istanza di DocumentEdit.

Non membri correlati

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

Restituisce ` true ` se ` lhs ` e ` rhs ` non sono uguali, e ` false ` in caso contrario.

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

Restituisce ` true ` se ` lhs ` e ` rhs ` sono uguali, altrimenti restituisce ` 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.