forked from qt-creator/qt-creator
Rename IFile->IDocument and FileManager->DocumentManager
And adapt the other API respectively. Change-Id: I1e04e555409be09242db6890f9e013396f83aeed Reviewed-by: Bill King <bill.king@nokia.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
#include <utils/styledbar.h>
|
||||
#include <utils/stylehelper.h>
|
||||
|
||||
#include <coreplugin/ifile.h>
|
||||
#include <coreplugin/idocument.h>
|
||||
#include <coreplugin/icore.h>
|
||||
#include <coreplugin/coreconstants.h>
|
||||
#include <coreplugin/modemanager.h>
|
||||
@@ -229,7 +229,7 @@ QListWidgetItem *ProjectListWidget::itemForProject(Project *project)
|
||||
|
||||
QString ProjectListWidget::fullName(ProjectExplorer::Project *project)
|
||||
{
|
||||
return tr("%1 (%2)").arg(project->displayName(), project->file()->fileName());
|
||||
return tr("%1 (%2)").arg(project->displayName(), project->document()->fileName());
|
||||
}
|
||||
|
||||
void ProjectListWidget::addProject(Project *project)
|
||||
|
||||
Reference in New Issue
Block a user