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:
@@ -33,7 +33,7 @@
|
||||
#include "genericprojectnodes.h"
|
||||
#include "genericproject.h"
|
||||
|
||||
#include <coreplugin/ifile.h>
|
||||
#include <coreplugin/idocument.h>
|
||||
#include <projectexplorer/projectexplorer.h>
|
||||
|
||||
#include <QFileInfo>
|
||||
@@ -41,7 +41,7 @@
|
||||
using namespace GenericProjectManager;
|
||||
using namespace GenericProjectManager::Internal;
|
||||
|
||||
GenericProjectNode::GenericProjectNode(GenericProject *project, Core::IFile *projectFile)
|
||||
GenericProjectNode::GenericProjectNode(GenericProject *project, Core::IDocument *projectFile)
|
||||
: ProjectExplorer::ProjectNode(projectFile->fileName()),
|
||||
m_project(project),
|
||||
m_projectFile(projectFile)
|
||||
@@ -49,7 +49,7 @@ GenericProjectNode::GenericProjectNode(GenericProject *project, Core::IFile *pro
|
||||
setDisplayName(QFileInfo(projectFile->fileName()).completeBaseName());
|
||||
}
|
||||
|
||||
Core::IFile *GenericProjectNode::projectFile() const
|
||||
Core::IDocument *GenericProjectNode::projectFile() const
|
||||
{
|
||||
return m_projectFile;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user