Commit 2176599e authored by Daniel Teske's avatar Daniel Teske

Remove Project::dependsOn(), it's never called

I don't remember why I did leave it alone in the reafctoring some years
ago, but surely it serves no purpose.

Change-Id: Idf920faf3f8f7128cd410501f2c3748e100dfbfb
Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
parent fe9faa8f
......@@ -148,11 +148,6 @@ AutotoolsTarget *AutotoolsProject::activeTarget() const
return static_cast<AutotoolsTarget *>(Project::activeTarget());
}
QList<Project *> AutotoolsProject::dependsOn()
{
return QList<Project *>();
}
QString AutotoolsProject::defaultBuildDirectory() const
{
return projectDirectory();
......
......@@ -84,7 +84,6 @@ public:
QList<ProjectExplorer::BuildConfigWidget*> subConfigWidgets();
ProjectExplorer::ProjectNode *rootProjectNode() const;
QStringList files(FilesMode fileMode) const;
QList<ProjectExplorer::Project *> dependsOn();
QString defaultBuildDirectory() const;
QStringList buildTargets() const;
ProjectExplorer::ToolChain *toolChain() const;
......
......@@ -496,11 +496,6 @@ CMakeTarget *CMakeProject::activeTarget() const
return static_cast<CMakeTarget *>(Project::activeTarget());
}
QList<ProjectExplorer::Project *> CMakeProject::dependsOn()
{
return QList<Project *>();
}
QList<ProjectExplorer::BuildConfigWidget*> CMakeProject::subConfigWidgets()
{
QList<ProjectExplorer::BuildConfigWidget*> list;
......
......@@ -86,8 +86,6 @@ public:
CMakeTarget *activeTarget() const;
QList<ProjectExplorer::Project *> dependsOn(); //NBS TODO implement dependsOn
QList<ProjectExplorer::BuildConfigWidget*> subConfigWidgets();
ProjectExplorer::ProjectNode *rootProjectNode() const;
......
......@@ -430,11 +430,6 @@ IProjectManager *GenericProject::projectManager() const
return m_manager;
}
QList<Project *> GenericProject::dependsOn()
{
return QList<Project *>();
}
QList<BuildConfigWidget*> GenericProject::subConfigWidgets()
{
QList<BuildConfigWidget*> list;
......
......@@ -86,8 +86,6 @@ public:
ProjectExplorer::IProjectManager *projectManager() const;
GenericTarget *activeTarget() const;
QList<ProjectExplorer::Project *> dependsOn();
QList<ProjectExplorer::BuildConfigWidget*> subConfigWidgets();
GenericProjectNode *rootProjectNode() const;
......
......@@ -74,8 +74,6 @@ public:
virtual Core::IDocument *document() const = 0;
virtual IProjectManager *projectManager() const = 0;
virtual QList<Project *> dependsOn() = 0; //NBS TODO implement dependsOn
bool hasActiveBuildSettings() const;
// EditorConfiguration:
......
......@@ -272,11 +272,6 @@ ProjectExplorer::IProjectManager *QmlProject::projectManager() const
return m_manager;
}
QList<ProjectExplorer::Project *> QmlProject::dependsOn()
{
return QList<Project *>();
}
QList<ProjectExplorer::BuildConfigWidget*> QmlProject::subConfigWidgets()
{
return QList<ProjectExplorer::BuildConfigWidget*>();
......
......@@ -74,8 +74,6 @@ public:
ProjectExplorer::IProjectManager *projectManager() const;
Internal::QmlProjectTarget *activeTarget() const;
QList<ProjectExplorer::Project *> dependsOn();
QList<ProjectExplorer::BuildConfigWidget*> subConfigWidgets();
ProjectExplorer::ProjectNode *rootProjectNode() const;
......
......@@ -911,12 +911,6 @@ QString Qt4Project::generatedUiHeader(const QString &formFile) const
return QString();
}
QList<ProjectExplorer::Project*> Qt4Project::dependsOn()
{
// NBS implement dependsOn
return QList<Project *>();
}
void Qt4Project::proFileParseError(const QString &errorMessage)
{
Core::ICore::messageManager()->printToOutputPanePopup(errorMessage);
......
......@@ -95,9 +95,6 @@ public:
Qt4BaseTarget *activeTarget() const;
QList<Core::IDocument *> dependencies(); //NBS remove
QList<ProjectExplorer::Project *>dependsOn();
ProjectExplorer::ProjectNode *rootProjectNode() const;
Qt4ProFileNode *rootQt4ProjectNode() const;
bool validParse(const QString &proFilePath) const;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment