Rename IDocument::fileName --> filePath

That is what it actually is, wrt how Qt API calls it.

Change-Id: Ied02055debf6aad75556b0d9d22e8ba2f72be555
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
Eike Ziller
2013-07-04 13:30:26 +02:00
parent cee1602253
commit dd43d9908f
118 changed files with 326 additions and 326 deletions

View File

@@ -377,7 +377,7 @@ void EditorToolBar::updateEditorStatus(IEditor *editor)
d->m_editorList->setCurrentIndex(d->m_editorsListModel->rowOfEditor(editor));
if (editor->document()->fileName().isEmpty()) {
if (editor->document()->filePath().isEmpty()) {
d->m_lockButton->setIcon(QIcon());
d->m_lockButton->setEnabled(false);
d->m_lockButton->setToolTip(QString());
@@ -393,9 +393,9 @@ void EditorToolBar::updateEditorStatus(IEditor *editor)
IEditor *current = EditorManager::currentEditor();
if (editor == current)
d->m_editorList->setToolTip(
current->document()->fileName().isEmpty()
current->document()->filePath().isEmpty()
? current->displayName()
: QDir::toNativeSeparators(editor->document()->fileName())
: QDir::toNativeSeparators(editor->document()->filePath())
);
}