forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -104,8 +104,8 @@ public:
|
||||
|
||||
bool save(QString *errorString, const QString &fileName, bool autoSave) override;
|
||||
|
||||
QString defaultPath() const override;
|
||||
QString suggestedFileName() const override;
|
||||
QString fallbackSaveAsPath() const override;
|
||||
QString fallbackSaveAsFileName() const override;
|
||||
|
||||
bool isModified() const override;
|
||||
bool isSaveAsAllowed() const override;
|
||||
@@ -266,12 +266,12 @@ bool QmakeProjectFile::save(QString *, const QString &, bool)
|
||||
return false;
|
||||
}
|
||||
|
||||
QString QmakeProjectFile::defaultPath() const
|
||||
QString QmakeProjectFile::fallbackSaveAsPath() const
|
||||
{
|
||||
return QString();
|
||||
}
|
||||
|
||||
QString QmakeProjectFile::suggestedFileName() const
|
||||
QString QmakeProjectFile::fallbackSaveAsFileName() const
|
||||
{
|
||||
return QString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user