AnalyzerTool: Make runMode and toolMode value members

Change-Id: Iaf89bc399db65e17345effb2e9767692786b5ca8
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
hjk
2014-07-23 01:00:51 +02:00
parent 17ce7d4ad5
commit 18dca1e3ac
8 changed files with 36 additions and 42 deletions

View File

@@ -112,6 +112,8 @@ QmlProfilerTool::QmlProfilerTool(QObject *parent)
: IAnalyzerTool(parent), d(new QmlProfilerToolPrivate)
{
setObjectName(QLatin1String("QmlProfilerTool"));
setRunMode(QmlProfilerRunMode);
setToolMode(AnyMode);
d->m_profilerState = 0;
d->m_viewContainer = 0;
@@ -161,16 +163,6 @@ QmlProfilerTool::~QmlProfilerTool()
delete d;
}
RunMode QmlProfilerTool::runMode() const
{
return QmlProfilerRunMode;
}
IAnalyzerTool::ToolMode QmlProfilerTool::toolMode() const
{
return AnyMode;
}
AnalyzerRunControl *QmlProfilerTool::createRunControl(const AnalyzerStartParameters &sp,
RunConfiguration *runConfiguration)
{