aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/dependenciespanel.cpp
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@nokia.com>2010-02-08 15:50:06 +0100
committerTobias Hunger <tobias.hunger@nokia.com>2010-02-09 16:57:37 +0100
commitd1bdfcc363970eca53077cdab79de2d3cf24218a (patch)
tree100cc0dc41f660b72277fa018c8a46454d0686b4 /src/plugins/projectexplorer/dependenciespanel.cpp
parent8ee2521fe53cec55534b079b0d5b21b6b028676f (diff)
Integrate target support
* Ease cross device development by introducing 'targets' which group build- and runsettings that are valid for this one target Most of the kudos for the code review go to dt. Con, thorbjorn, ckandler and others did also review parts of this patch. Reviewed-by: dt
Diffstat (limited to 'src/plugins/projectexplorer/dependenciespanel.cpp')
-rw-r--r--src/plugins/projectexplorer/dependenciespanel.cpp20
1 files changed, 19 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/dependenciespanel.cpp b/src/plugins/projectexplorer/dependenciespanel.cpp
index 27917bc8090..f33b1cf030c 100644
--- a/src/plugins/projectexplorer/dependenciespanel.cpp
+++ b/src/plugins/projectexplorer/dependenciespanel.cpp
@@ -292,20 +292,38 @@ DependenciesPanelFactory::DependenciesPanelFactory(SessionManager *session)
{
}
+QString DependenciesPanelFactory::id() const
+{
+ return QLatin1String(DEPENDENCIES_PANEL_ID);
+}
+
QString DependenciesPanelFactory::displayName() const
{
return QApplication::tr("Dependencies");
}
-bool DependenciesPanelFactory::supports(Project * /* project */)
+bool DependenciesPanelFactory::supports(Project *project)
{
+ Q_UNUSED(project);
return true;
}
+bool DependenciesPanelFactory::supports(Target *target)
+{
+ Q_UNUSED(target);
+ return false;
+}
+
IPropertiesPanel *DependenciesPanelFactory::createPanel(Project *project)
{
return new DependenciesPanel(m_session, project);
}
+IPropertiesPanel *DependenciesPanelFactory::createPanel(Target *target)
+{
+ Q_UNUSED(target);
+ return 0;
+}
+
} // namespace Internal
} // namespace ProjectExplorer