summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cpprefactoringchanges.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/cpptools/cpprefactoringchanges.h')
-rw-r--r--src/plugins/cpptools/cpprefactoringchanges.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/cpptools/cpprefactoringchanges.h b/src/plugins/cpptools/cpprefactoringchanges.h
index 58fbf39eee..e07eeca00f 100644
--- a/src/plugins/cpptools/cpprefactoringchanges.h
+++ b/src/plugins/cpptools/cpprefactoringchanges.h
@@ -67,8 +67,8 @@ public:
QString textOf(const CPlusPlus::AST *ast) const;
protected:
- CppRefactoringFile(const QString &fileName, const QSharedPointer<TextEditor::RefactoringChangesData> &data);
- CppRefactoringFile(QTextDocument *document, const QString &fileName);
+ CppRefactoringFile(const Utils::FilePath &filePath, const QSharedPointer<TextEditor::RefactoringChangesData> &data);
+ CppRefactoringFile(QTextDocument *document, const Utils::FilePath &filePath);
explicit CppRefactoringFile(TextEditor::TextEditorWidget *editor);
CppRefactoringChangesData *data() const;
@@ -86,9 +86,9 @@ public:
static CppRefactoringFilePtr file(TextEditor::TextEditorWidget *editor,
const CPlusPlus::Document::Ptr &document);
- CppRefactoringFilePtr file(const QString &fileName) const;
+ CppRefactoringFilePtr file(const Utils::FilePath &filePath) const;
// safe to use from non-gui threads
- CppRefactoringFileConstPtr fileNoEditor(const QString &fileName) const;
+ CppRefactoringFileConstPtr fileNoEditor(const Utils::FilePath &filePath) const;
const CPlusPlus::Snapshot &snapshot() const;