From 473a741c9fcf09febba312464fab8385e2351181 Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 28 May 2019 13:49:26 +0200 Subject: Utils: Rename FileName to FilePath More in line with QFileInfo terminonlogy which appears to be best-of-breed within Qt. Change-Id: I1d051ff1c8363ebd4ee56376451df45216c4c9ab Reviewed-by: Christian Kandeler --- src/plugins/texteditor/textdocument.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/plugins/texteditor/textdocument.h') diff --git a/src/plugins/texteditor/textdocument.h b/src/plugins/texteditor/textdocument.h index d09d606c4b..a3b8678851 100644 --- a/src/plugins/texteditor/textdocument.h +++ b/src/plugins/texteditor/textdocument.h @@ -70,7 +70,7 @@ public: static QMap openedTextDocumentContents(); static QMap openedTextDocumentEncodings(); static TextDocument *currentTextDocument(); - static TextDocument *textDocumentForFileName(const Utils::FileName &fileName); + static TextDocument *textDocumentForFileName(const Utils::FilePath &fileName); virtual QString plainText() const; virtual QString textAt(int pos, int length) const; @@ -116,7 +116,7 @@ public: bool isSaveAsAllowed() const override; void checkPermissions() override; bool reload(QString *errorString, ReloadFlag flag, ChangeType type) override; - void setFilePath(const Utils::FileName &newName) override; + void setFilePath(const Utils::FilePath &newName) override; QString fallbackSaveAsPath() const override; QString fallbackSaveAsFileName() const override; @@ -150,7 +150,7 @@ public: void setFontSettings(const TextEditor::FontSettings &fontSettings); static QAction *createDiffAgainstCurrentFileAction(QObject *parent, - const std::function &filePath); + const std::function &filePath); signals: void aboutToOpen(const QString &fileName, const QString &realFileName); -- cgit v1.2.1