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:
@@ -429,22 +429,22 @@ bool TextDocument::isSaveAsAllowed() const
|
||||
return true;
|
||||
}
|
||||
|
||||
QString TextDocument::defaultPath() const
|
||||
QString TextDocument::fallbackSaveAsPath() const
|
||||
{
|
||||
return d->m_defaultPath;
|
||||
}
|
||||
|
||||
QString TextDocument::suggestedFileName() const
|
||||
QString TextDocument::fallbackSaveAsFileName() const
|
||||
{
|
||||
return d->m_suggestedFileName;
|
||||
}
|
||||
|
||||
void TextDocument::setDefaultPath(const QString &defaultPath)
|
||||
void TextDocument::setFallbackSaveAsPath(const QString &defaultPath)
|
||||
{
|
||||
d->m_defaultPath = defaultPath;
|
||||
}
|
||||
|
||||
void TextDocument::setSuggestedFileName(const QString &suggestedFileName)
|
||||
void TextDocument::setFallbackSaveAsFileName(const QString &suggestedFileName)
|
||||
{
|
||||
d->m_suggestedFileName = suggestedFileName;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user