forked from qt-creator/qt-creator
TextEditor: filepathify RefactoringChanges
Change-Id: Ie97e484bcdeaa0cb2f5d04b3c79ace55ff2e426c Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -56,7 +56,8 @@ public:
|
||||
bool isCursorOn(QmlJS::SourceLocation loc) const;
|
||||
|
||||
protected:
|
||||
QmlJSRefactoringFile(const QString &fileName, const QSharedPointer<TextEditor::RefactoringChangesData> &data);
|
||||
QmlJSRefactoringFile(const Utils::FilePath &filePath,
|
||||
const QSharedPointer<TextEditor::RefactoringChangesData> &data);
|
||||
QmlJSRefactoringFile(TextEditor::TextEditorWidget *editor, QmlJS::Document::Ptr document);
|
||||
|
||||
QmlJSRefactoringChangesData *data() const;
|
||||
@@ -76,7 +77,7 @@ public:
|
||||
|
||||
static QmlJSRefactoringFilePtr file(TextEditor::TextEditorWidget *editor,
|
||||
const QmlJS::Document::Ptr &document);
|
||||
QmlJSRefactoringFilePtr file(const QString &fileName) const;
|
||||
QmlJSRefactoringFilePtr file(const Utils::FilePath &filePath) const;
|
||||
|
||||
const QmlJS::Snapshot &snapshot() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user