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:
@@ -48,7 +48,7 @@
|
||||
#include <projectexplorer/session.h>
|
||||
#include <projectexplorer/project.h>
|
||||
#include <projectexplorer/projectnodes.h>
|
||||
#include <coreplugin/ifile.h>
|
||||
#include <coreplugin/idocument.h>
|
||||
#include <utils/qtcassert.h>
|
||||
|
||||
#include <QStandardItem>
|
||||
@@ -236,8 +236,8 @@ ParserTreeItem::ConstPtr Parser::parse()
|
||||
|
||||
QString prjName(prj->displayName());
|
||||
QString prjType(prjName);
|
||||
if (prj->file())
|
||||
prjType = prj->file()->fileName();
|
||||
if (prj->document())
|
||||
prjType = prj->document()->fileName();
|
||||
SymbolInformation inf(prjName, prjType);
|
||||
|
||||
QStringList projectList = addProjectNode(item, prj->rootProjectNode());
|
||||
|
||||
Reference in New Issue
Block a user