![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
\inmodule QtQmlCompiler More...
#include <qqmlsa.h>
Public Member Functions | |
| DocumentEdit (const QString &filename, const SourceLocation &location, const QString &replacement) | |
| Creates a DocumentEdit object. | |
| DocumentEdit (const DocumentEdit &) | |
| Creates a copy of other. | |
| DocumentEdit (DocumentEdit &&) | |
| Move-constructs a DocumentEdit instance. | |
| DocumentEdit & | operator= (const DocumentEdit &) |
| Assigns other to this DocumentEdit instance. | |
| DocumentEdit & | operator= (DocumentEdit &&) |
| Move-assigns other to this DocumentEdit instance. | |
| ~DocumentEdit () | |
| Destroys the DocumentEdit instance. | |
| QString | filename () const |
| Returns the file this edit applies to. | |
| SourceLocation | location () const |
| Returns the location where the edit applies. | |
| QString | replacement () const |
| Returns the replacement string of the edit. | |
Friends | |
| bool | comparesEqual (const DocumentEdit &self, const DocumentEdit &other) noexcept |
\inmodule QtQmlCompiler
Represents a single edit to a document.
| QQmlSA::DocumentEdit::DocumentEdit | ( | const QString & | filename, |
| const SourceLocation & | location, | ||
| const QString & | replacement ) |
Creates a DocumentEdit object.
Definition at line 2049 of file qqmlsa.cpp.
| QQmlSA::DocumentEdit::DocumentEdit | ( | const DocumentEdit & | other | ) |
Creates a copy of other.
Definition at line 2058 of file qqmlsa.cpp.
| QQmlSA::DocumentEdit::DocumentEdit | ( | DocumentEdit && | other | ) |
Move-constructs a DocumentEdit instance.
Definition at line 2066 of file qqmlsa.cpp.
|
default |
Destroys the DocumentEdit instance.
| QString QQmlSA::DocumentEdit::filename | ( | ) | const |
Returns the file this edit applies to.
Definition at line 2105 of file qqmlsa.cpp.
| SourceLocation QQmlSA::DocumentEdit::location | ( | ) | const |
Returns the location where the edit applies.
Definition at line 2114 of file qqmlsa.cpp.
| DocumentEdit & QQmlSA::DocumentEdit::operator= | ( | const DocumentEdit & | other | ) |
Assigns other to this DocumentEdit instance.
Definition at line 2074 of file qqmlsa.cpp.
| DocumentEdit & QQmlSA::DocumentEdit::operator= | ( | DocumentEdit && | other | ) |
Move-assigns other to this DocumentEdit instance.
Definition at line 2087 of file qqmlsa.cpp.
| QString QQmlSA::DocumentEdit::replacement | ( | ) | const |
Returns the replacement string of the edit.
Definition at line 2123 of file qqmlsa.cpp.
|
friend |