mostly core and analyzer: more id-fication

Change-Id: Ic794fdc6a582f4a03d84b6220c59111044c753b9
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2011-11-11 12:16:20 +01:00
committed by hjk
parent ead4674646
commit 8e236db9f5
28 changed files with 152 additions and 202 deletions

View File

@@ -150,7 +150,7 @@ QmlProfilerTool::~QmlProfilerTool()
delete d;
}
QByteArray QmlProfilerTool::id() const
Core::Id QmlProfilerTool::id() const
{
return "QmlProfiler";
}
@@ -566,7 +566,7 @@ static void startRemoteTool(IAnalyzerTool *tool, StartMode mode)
AnalyzerRunControl *rc = new AnalyzerRunControl(tool, sp, 0);
QObject::connect(AnalyzerManager::stopAction(), SIGNAL(triggered()), rc, SLOT(stopIt()));
ProjectExplorerPlugin::instance()->startRunControl(rc, tool->id());
ProjectExplorerPlugin::instance()->startRunControl(rc, tool->id().toString());
}
void QmlProfilerTool::tryToConnect()
@@ -657,7 +657,7 @@ void QmlProfilerTool::startTool(StartMode mode)
ProjectExplorerPlugin *pe = ProjectExplorerPlugin::instance();
// ### not sure if we're supposed to check if the RunConFiguration isEnabled
Project *pro = pe->startupProject();
pe->runProject(pro, id());
pe->runProject(pro, id().toString());
} else if (mode == StartRemote) {
startRemoteTool(this, mode);
}