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:
Eike Ziller
2016-01-14 14:45:01 +01:00
parent 66088a799a
commit cfc89a685e
47 changed files with 102 additions and 102 deletions

View File

@@ -59,12 +59,12 @@ bool AndroidManifestDocument::save(QString *errorString, const QString &fileName
return result;
}
QString AndroidManifestDocument::defaultPath() const
QString AndroidManifestDocument::fallbackSaveAsPath() const
{
return filePath().toFileInfo().absolutePath();
}
QString AndroidManifestDocument::suggestedFileName() const
QString AndroidManifestDocument::fallbackSaveAsFileName() const
{
return filePath().fileName();
}