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:
@@ -36,7 +36,7 @@
|
||||
#define AUTOTOOLSPROJECTNODE_H
|
||||
|
||||
#include <projectexplorer/projectnodes.h>
|
||||
#include <coreplugin/ifile.h>
|
||||
#include <coreplugin/idocument.h>
|
||||
|
||||
namespace AutotoolsProjectManager {
|
||||
namespace Internal {
|
||||
@@ -57,7 +57,7 @@ class AutotoolsProjectNode : public ProjectExplorer::ProjectNode
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
AutotoolsProjectNode(AutotoolsProject *project, Core::IFile *projectFile);
|
||||
AutotoolsProjectNode(AutotoolsProject *project, Core::IDocument *projectFile);
|
||||
|
||||
bool hasBuildTargets() const;
|
||||
QList<ProjectExplorer::ProjectNode::ProjectAction> supportedActions(Node *node) const;
|
||||
@@ -79,7 +79,7 @@ public:
|
||||
|
||||
private:
|
||||
AutotoolsProject *m_project;
|
||||
Core::IFile *m_projectFile;
|
||||
Core::IDocument *m_projectFile;
|
||||
|
||||
// TODO: AutotoolsProject calls the protected method addFileNodes() from AutotoolsProjectNode.
|
||||
// Instead of this friend declaration, a public interface might be preferable.
|
||||
|
||||
Reference in New Issue
Block a user