Analyzer: Remove some explicit uses of Analyzer::StartMode

Change-Id: I6d28a533d4ee2e93e4b3407e7fdd670c45886708
Reviewed-by: Aurindam Jana <aurindam.jana@digia.com>
This commit is contained in:
hjk
2013-08-05 16:02:27 +02:00
parent 934291077c
commit 51b390cada
9 changed files with 15 additions and 49 deletions

View File

@@ -535,11 +535,6 @@ QString CallgrindTool::description() const
"record function calls when a program runs.");
}
Core::Id CallgrindTool::actionId(StartMode mode) const
{
return mode == StartLocal ? "Analyzer.Callgrind.Local" : "Analyzer.Callgrind.Remote";
}
IAnalyzerTool::ToolMode CallgrindTool::toolMode() const
{
return ReleaseMode;

View File

@@ -49,7 +49,6 @@ public:
ProjectExplorer::RunMode runMode() const;
QString displayName() const;
QString description() const;
Core::Id actionId(Analyzer::StartMode mode) const;
ToolMode toolMode() const;
void extensionsInitialized();

View File

@@ -297,11 +297,6 @@ QString MemcheckTool::description() const
"memory leaks");
}
Core::Id MemcheckTool::actionId(StartMode mode) const
{
return mode == StartLocal ? "Analyzer.Memcheck.Local" : "Analyzer.Memcheck.Remote";
}
AbstractAnalyzerSubConfig *MemcheckTool::createGlobalSettings()
{
return new ValgrindGlobalSettings();

View File

@@ -88,7 +88,6 @@ public:
ProjectExplorer::RunMode runMode() const;
QString displayName() const;
QString description() const;
Core::Id actionId(Analyzer::StartMode mode) const;
// Create the valgrind settings (for all valgrind tools)
Analyzer::AbstractAnalyzerSubConfig *createGlobalSettings();