QmlProfiler: handling start/stop actions

Change-Id: I940025ba1f35f6136b4a12936b9e508ccb9d0d1f
Reviewed-on: http://codereview.qt.nokia.com/1160
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Christiaan Janssen
2011-07-05 12:56:49 +02:00
committed by hjk
parent 89e0dd2d2f
commit 45212d3c1a
3 changed files with 9 additions and 0 deletions

View File

@@ -679,6 +679,7 @@ void AnalyzerManagerPrivate::addTool(IAnalyzerTool *tool, const StartModes &mode
void AnalyzerManagerPrivate::handleToolStarted()
{
m_isRunning = true; // FIXME: Make less global.
updateRunActions();
}
void AnalyzerManagerPrivate::handleToolFinished()
@@ -856,6 +857,11 @@ QAction *AnalyzerManager::stopAction()
return m_instance->d->m_stopAction;
}
void AnalyzerManager::handleToolStarted()
{
m_instance->d->handleToolStarted();
}
void AnalyzerManager::handleToolFinished()
{
m_instance->d->handleToolFinished();