forked from qt-creator/qt-creator
Consistently rename QmlProfilerEngine to QmlProfilerRunControl
It's always a pain to search for the only RunControl that's called "engine" half of the time. Change-Id: I4cece9f8958ff989925d9efaaf6fb41731842647 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
|
||||
#include "localqmlprofilerrunner.h"
|
||||
#include "qmlprofilerplugin.h"
|
||||
#include "qmlprofilerengine.h"
|
||||
#include "qmlprofilerruncontrol.h"
|
||||
|
||||
#include <analyzerbase/analyzermanager.h>
|
||||
#include <analyzerbase/analyzerruncontrol.h>
|
||||
|
@@ -13,13 +13,13 @@ SOURCES += \
|
||||
qmlprofilerclientmanager.cpp \
|
||||
qmlprofilerdatamodel.cpp \
|
||||
qmlprofilerdetailsrewriter.cpp \
|
||||
qmlprofilerengine.cpp \
|
||||
qmlprofilereventsmodelproxy.cpp \
|
||||
qmlprofilereventview.cpp \
|
||||
qmlprofilermodelmanager.cpp \
|
||||
qmlprofilernotesmodel.cpp \
|
||||
qmlprofilerplugin.cpp \
|
||||
qmlprofilerrangemodel.cpp \
|
||||
qmlprofilerruncontrol.cpp \
|
||||
qmlprofilerruncontrolfactory.cpp \
|
||||
qmlprofilerstatemanager.cpp \
|
||||
qmlprofilerstatewidget.cpp \
|
||||
@@ -42,13 +42,13 @@ HEADERS += \
|
||||
qmlprofilerconstants.h \
|
||||
qmlprofilerdatamodel.h \
|
||||
qmlprofilerdetailsrewriter.h \
|
||||
qmlprofilerengine.h \
|
||||
qmlprofilereventsmodelproxy.h \
|
||||
qmlprofilereventview.h \
|
||||
qmlprofilermodelmanager.h \
|
||||
qmlprofilernotesmodel.h \
|
||||
qmlprofilerplugin.h \
|
||||
qmlprofilerrangemodel.h \
|
||||
qmlprofilerruncontrol.h \
|
||||
qmlprofilerruncontrolfactory.h \
|
||||
qmlprofilerstatemanager.h \
|
||||
qmlprofilerstatewidget.h \
|
||||
|
@@ -29,16 +29,16 @@ QtcPlugin {
|
||||
"qmlprofilerconstants.h",
|
||||
"qmlprofilerdatamodel.cpp", "qmlprofilerdatamodel.h",
|
||||
"qmlprofilerdetailsrewriter.cpp", "qmlprofilerdetailsrewriter.h",
|
||||
"qmlprofilerengine.cpp", "qmlprofilerengine.h",
|
||||
"qmlprofilereventsmodelproxy.cpp", "qmlprofilereventsmodelproxy.h",
|
||||
"qmlprofilereventview.cpp", "qmlprofilereventview.h",
|
||||
"qmlprofilermodelmanager.cpp", "qmlprofilermodelmanager.h",
|
||||
"qmlprofilernotesmodel.cpp", "qmlprofilernotesmodel.h",
|
||||
"qmlprofilerplugin.cpp", "qmlprofilerplugin.h",
|
||||
"qmlprofilerruncontrolfactory.cpp", "qmlprofilerruncontrolfactory.h",
|
||||
"qmlprofilerrangemodel.cpp", "qmlprofilerrangemodel.h",
|
||||
"qmlprofilerruncontrol.cpp", "qmlprofilerruncontrol.h",
|
||||
"qmlprofilerstatemanager.cpp", "qmlprofilerstatemanager.h",
|
||||
"qmlprofilerstatewidget.cpp", "qmlprofilerstatewidget.h",
|
||||
"qmlprofilerrangemodel.cpp", "qmlprofilerrangemodel.h",
|
||||
"qmlprofilertimelinemodel.cpp", "qmlprofilertimelinemodel.h",
|
||||
"qmlprofilertimelinemodelfactory.cpp", "qmlprofilertimelinemodelfactory.h",
|
||||
"qmlprofilertool.cpp", "qmlprofilertool.h",
|
||||
|
@@ -28,7 +28,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#include "qmlprofilerengine.h"
|
||||
#include "qmlprofilerruncontrol.h"
|
||||
|
||||
#include "localqmlprofilerrunner.h"
|
||||
|
||||
@@ -60,13 +60,13 @@ using namespace ProjectExplorer;
|
||||
namespace QmlProfiler {
|
||||
|
||||
//
|
||||
// QmlProfilerEnginePrivate
|
||||
// QmlProfilerRunControlPrivate
|
||||
//
|
||||
|
||||
class QmlProfilerRunControl::QmlProfilerEnginePrivate
|
||||
class QmlProfilerRunControl::QmlProfilerRunControlPrivate
|
||||
{
|
||||
public:
|
||||
QmlProfilerEnginePrivate() : m_running(false) {}
|
||||
QmlProfilerRunControlPrivate() : m_running(false) {}
|
||||
|
||||
QmlProfilerStateManager *m_profilerState;
|
||||
QTimer m_noDebugOutputTimer;
|
||||
@@ -75,13 +75,12 @@ public:
|
||||
};
|
||||
|
||||
//
|
||||
// QmlProfilerEngine
|
||||
// QmlProfilerRunControl
|
||||
//
|
||||
|
||||
QmlProfilerRunControl::QmlProfilerRunControl(const AnalyzerStartParameters &sp,
|
||||
RunConfiguration *runConfiguration)
|
||||
: AnalyzerRunControl(sp, runConfiguration)
|
||||
, d(new QmlProfilerEnginePrivate)
|
||||
RunConfiguration *runConfiguration) :
|
||||
AnalyzerRunControl(sp, runConfiguration), d(new QmlProfilerRunControlPrivate)
|
||||
{
|
||||
d->m_profilerState = 0;
|
||||
|
@@ -28,8 +28,8 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QMLPROFILERENGINE_H
|
||||
#define QMLPROFILERENGINE_H
|
||||
#ifndef QMLPROFILERRUNCONTROL_H
|
||||
#define QMLPROFILERRUNCONTROL_H
|
||||
|
||||
#include "qmlprofilerstatemanager.h"
|
||||
|
||||
@@ -76,10 +76,10 @@ private slots:
|
||||
void profilerStateChanged();
|
||||
|
||||
private:
|
||||
class QmlProfilerEnginePrivate;
|
||||
QmlProfilerEnginePrivate *d;
|
||||
class QmlProfilerRunControlPrivate;
|
||||
QmlProfilerRunControlPrivate *d;
|
||||
};
|
||||
|
||||
} // namespace QmlProfiler
|
||||
|
||||
#endif // QMLPROFILERENGINE_H
|
||||
#endif // QMLPROFILERRUNCONTROL_H
|
@@ -30,7 +30,7 @@
|
||||
|
||||
#include "qmlprofilerruncontrolfactory.h"
|
||||
#include "localqmlprofilerrunner.h"
|
||||
#include "qmlprofilerengine.h"
|
||||
#include "qmlprofilerruncontrol.h"
|
||||
|
||||
#include <analyzerbase/ianalyzertool.h>
|
||||
|
||||
|
@@ -30,7 +30,7 @@
|
||||
|
||||
#include "qmlprofilertool.h"
|
||||
#include "qmlprofilerstatemanager.h"
|
||||
#include "qmlprofilerengine.h"
|
||||
#include "qmlprofilerruncontrol.h"
|
||||
#include "qmlprofilerconstants.h"
|
||||
#include "qmlprofilerattachdialog.h"
|
||||
#include "qmlprofilerviewmanager.h"
|
||||
|
Reference in New Issue
Block a user