analyzer: finish split of tools into "tools-with-modes"

Change-Id: I82b61c07172a33b861a7d6db903ac2516019498b
Reviewed-on: http://codereview.qt.nokia.com/1054
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2011-07-01 14:19:12 +02:00
committed by hjk
parent d6bf0c3732
commit 2086d94866
18 changed files with 176 additions and 152 deletions

View File

@@ -501,9 +501,9 @@ CallgrindTool::CallgrindTool(QObject *parent)
: Analyzer::IAnalyzerTool(parent)
{
d = new CallgrindToolPrivate(this);
Core::ICore *core = Core::ICore::instance();
setObjectName(QLatin1String("CallgrindTool"));
// EditorManager
Core::ICore *core = Core::ICore::instance();
QObject *editorManager = core->editorManager();
connect(editorManager, SIGNAL(editorOpened(Core::IEditor*)),
d, SLOT(editorOpened(Core::IEditor*)));
@@ -530,7 +530,7 @@ QString CallgrindTool::description() const
"record function calls when a program runs.");
}
IAnalyzerTool::ToolMode CallgrindTool::mode() const
IAnalyzerTool::ToolMode CallgrindTool::toolMode() const
{
return ReleaseMode;
}