diff options
author | Eike Ziller <eike.ziller@theqtcompany.com> | 2016-01-14 14:45:01 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@theqtcompany.com> | 2016-01-14 14:40:45 +0000 |
commit | cfc89a685e96653f48f27647a13766d29c60a186 (patch) | |
tree | 911cfd890e456f7c41c0870988e961b383c9ea50 /src/plugins/texteditor/textdocument.h | |
parent | 66088a799adbdfadaa3cb3f18a004890df39a111 (diff) | |
download | qt-creator-cfc89a685e96653f48f27647a13766d29c60a186.tar.gz |
IDocument: Rename defaultPath and suggestedFileName
To fallbackSaveAsPath and fallbackSaveAsFileName. That makes it clearer
what they are for, and that they actually belong to each other.
Change-Id: Ie5b83b9db77d39a7fe9e979cc8f22b7f5b9101a3
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
Diffstat (limited to 'src/plugins/texteditor/textdocument.h')
-rw-r--r-- | src/plugins/texteditor/textdocument.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/texteditor/textdocument.h b/src/plugins/texteditor/textdocument.h index 0780b35e5c..ae244cb58a 100644 --- a/src/plugins/texteditor/textdocument.h +++ b/src/plugins/texteditor/textdocument.h @@ -113,11 +113,11 @@ public: bool reload(QString *errorString, ReloadFlag flag, ChangeType type) override; void setFilePath(const Utils::FileName &newName) override; - QString defaultPath() const override; - QString suggestedFileName() const override; + QString fallbackSaveAsPath() const override; + QString fallbackSaveAsFileName() const override; - void setDefaultPath(const QString &defaultPath); - void setSuggestedFileName(const QString &suggestedFileName); + void setFallbackSaveAsPath(const QString &fallbackSaveAsPath); + void setFallbackSaveAsFileName(const QString &fallbackSaveAsFileName); OpenResult open(QString *errorString, const QString &fileName, const QString &realFileName) override; |