Valgrind: Dissolve ValgrindTool hierarchy level

Medium term all *Tool should be replaced by RunControl(Factory)
to make the analyzer architecture more similar to Qt Creator core

Change-Id: I892cfc7fe45c73cc6ac4442a288810b83cb24c17
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
hjk
2015-02-18 10:36:00 +01:00
parent 538af8ba17
commit da92b09969
11 changed files with 138 additions and 230 deletions

View File

@@ -187,7 +187,7 @@ static void initKindFilterAction(QAction *action, const QList<int> &kinds)
}
MemcheckTool::MemcheckTool(QObject *parent)
: ValgrindTool(parent)
: IAnalyzerTool(parent)
{
m_settings = 0;
m_errorModel = 0;
@@ -599,6 +599,14 @@ void MemcheckTool::setBusyCursor(bool busy)
m_errorView->setCursor(cursor);
}
void MemcheckTool::startTool(StartMode mode)
{
if (mode == StartLocal)
startLocalTool();
if (mode == StartRemote)
startRemoteTool();
}
MemcheckWithGdbTool::MemcheckWithGdbTool(QObject *parent) :
MemcheckTool(parent)
{